Hi,
Trying to compile PHP 5.2.13 on Centos 5.4.
Two contradicting lines highlighted.
It mentions opt as I tried this bug workaround:
http://bugs.php.net/bug.php?id=33685&edit=1
libjpeg.so is actually in /usr/lib and even if I say --with-jpeg --enable-jpg --with-jpeg-dir=/usr or even with-jpeg-dir=/usr/lib it just won't compile/configure.
Previous PHP compiles on similar OSes went just fine.
How can it first detect it's in the folder and subsequently think it's not?
# yum install jpeg* says it's installed and latest already...
in /usr/lib where /opt/lib is symlinked to for good measure:
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0
One curiosity I noticed is that despite compiling PHP 5.2.13 on Step 3: Preparing for building PHP 5.2.13 Binary it says:
Referencing 5.3.1
This is latest LSWS v 4.0.15 Std on a dev VM.
Any ideas? Thanks.
Trying to compile PHP 5.2.13 on Centos 5.4.
checking for GD support... yes
checking for the location of libjpeg... /opt
checking for the location of libpng... /opt
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/include/freetype2
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
**ERROR** Could not configure PHP build
checking for the location of libjpeg... /opt
checking for the location of libpng... /opt
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/include/freetype2
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
**ERROR** Could not configure PHP build
It mentions opt as I tried this bug workaround:
http://bugs.php.net/bug.php?id=33685&edit=1
libjpeg.so is actually in /usr/lib and even if I say --with-jpeg --enable-jpg --with-jpeg-dir=/usr or even with-jpeg-dir=/usr/lib it just won't compile/configure.
Previous PHP compiles on similar OSes went just fine.
How can it first detect it's in the folder and subsequently think it's not?
# yum install jpeg* says it's installed and latest already...
in /usr/lib where /opt/lib is symlinked to for good measure:
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0
One curiosity I noticed is that despite compiling PHP 5.2.13 on Step 3: Preparing for building PHP 5.2.13 Binary it says:
Retrieving LSAPI from http://www.litespeedtech.com/packages/lsapi/php-litespeed-5.3.1.tgz
Extracting LSAPI archive: tar -xzf php-litespeed-5.3.1.tgz
Extracting LSAPI archive: tar -xzf php-litespeed-5.3.1.tgz
This is latest LSWS v 4.0.15 Std on a dev VM.
Any ideas? Thanks.