标签:
sudo apt-get install -y libpcre3 libpcre3-dev zlib1g-dev
./configure --prefix=/usr/local/nginx make sudo make install sudo ln -s /usr/local/nginx/sbin/nginx /etc/init.d/nginx sudo /etc/init.d/nginx
http://lyp.cn/350_how-to-fix-php-compile-errors
What we are interested in here is libxml2-dev
, let‘s install it then:
sudo apt-get install libxml2-dev
The same procedure applies to all other missing libraries as well, so I will include only final install calls from now on.
sudo apt-get install libpcre3-dev
sudo apt-get install libbz2-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libjpeg-dev
sudo apt-get install libpng12-dev
sudo apt-get install libxpm-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install postgresql-server-dev-9.1
Make sure you check result of apt-cache search
especially in case of this error, as there could be later version of PostgreSQL available.
sudo apt-get install libt1-dev
sudo apt-get install libgd2-xpm-dev
sudo apt-get install libgmp-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install libsasl2-dev
sudo apt-get install libmhash-dev
sudo apt-get install unixodbc-dev
sudo apt-get install freetds-dev
sudo apt-get install libpspell-dev
sudo apt-get install libsnmp-dev
sudo apt-get install libtidy-dev
sudo apt-get install libxslt1-dev
sudo apt-get install libmcrypt-dev
标签:
原文地址:http://my.oschina.net/anziguoer/blog/522219