php 5.5.1:configure: error: Cannot find MySQL header files under
Hello friends,
Well I am trying to compile php 5.5.1 from tar.gz.. I am getting an error while configuring, which I don't seem to understand well. I am configuring it using below; ./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --with-mysql=/usr/include/mysql/ --with-apxs2=/usr/local/apache2/bin/apxs --with-jpeg-dir=/usr/local/modules/jpeg/ --with-freetype-dir=/usr/lib --with-zlib-dir=/lib/ --with-png-dir=/usr/local/modules/libpng/ --with-libxml-dir=/usr/local/modules/libxml2 --with-gd=/usr/local/modules/gd2/ --with-mysqli=/usr/bin/mysql_config The error I am getting is: Code:
Configuring extensions MySQL-client-advanced-5.6.12-1.el6.i686 MySQL-devel-advanced-5.6.12-1.el6.i686 MySQL-server-advanced-5.6.12-1.el6.i686 Any help will be greatly appreciated,thanks |
Quote:
it would be /usr .In the default location . and why this ? Quote:
it is installed by default unless you ALSO have a second and different version also installed and in possible conflict with the rpm installed by default the same goes for this Quote:
and is installed in /usr/lib/libpng.so.3.49.0 autotools should take care of almost all of the settings all that should be needed is Code:
/configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --with-mysql --with-apxs2 --with-gd --with-mysqli Code:
/configure --prefix=/usr/local/php5 read the configure output and or the "configure.log" for a list of what IS tested for AND the default setting have a read through the "--help" output for THAT configure file in the php source folder run Code:
./configure --help |
THanks john.I got it.
|
All times are GMT -5. The time now is 11:32 PM. |