#35409 [Opn->Fbk]: Several compile problems
| From: | mj@php.net | Date: | Sat, 26 Nov 2005 16:47:49 +0000 |
| Subject: | #35409 [Opn->Fbk]: Several compile problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89047@lists.php.net to get a copy of this message | ||
ID: 35409
Updated by: mj@php.net
Reported By: sales at vivizi dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Linux (RH 7.x)
PHP Version: 5.1.0
New Comment:
Could you please also look up the ./configure line? Otherwise chances
are small that people will be able to help you.
Previous Comments:
------------------------------------------------------------------------
[2005-11-26 17:25:24] sales at vivizi dot com
Whole config line I'd have to look up. But, 5.0.5 works... Or is there
a combination in 5.1.0 that does not work?
Here is a config.log output of the libjpeg failure:
--
configure:33753: checking for GD support
configure:33800: checking for the location of libjpeg
configure:33827: checking for the location of libpng
configure:33880: checking for the location of libXpm
configure:33905: checking for FreeType 1.x support
configure:33930: checking for FreeType 2
configure:33955: checking for T1lib support
configure:33980: checking whether to enable truetype string function in
GD
configure:34005: checking whether to enable JIS-mapped Japanese font
support in GD
configure:34059: checking for fabsf
configure:34087: /usr/sg/bin/gcc -o conftest -DEAPI -O2 -m486
-fno-strength-reduce conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2
-lz -lm -lxml2 -lz -lm 1>&5
configure:34071: warning: conflicting types for built-in function
`fabsf'
configure:34059: checking for floorf
configure:34087: /usr/sg/bin/gcc -o conftest -DEAPI -O2 -m486
-fno-strength-reduce conftest.c -lz -lresolv -lm -ldl -lnsl -lxml2
-lz -lm -lxml2 -lz -lm 1>&5
--
for openSSL:
--
configure:20168: checking for OpenSSL support
configure:20214: checking for Kerberos support
configure:20905: checking for pkg-config
--
------------------------------------------------------------------------
[2005-11-26 16:35:27] sniper@php.net
And what might have been the whole configure line you tried with? And
did you check config.log?
------------------------------------------------------------------------
[2005-11-26 15:12:28] sales at vivizi dot com
Description:
------------
I am having problems compiling 5.1.0
Small note: 5.0.5 works fine, EXACT SAME OPTIONS.
4.4.1 also works just fine!
when I use --with-openssl I get:
"checking for OpenSSL support... yes
checking for Kerberos support... no
checking for pkg-config... noconfigure: error: Cannot find OpenSSL's
libraries"
when I do not use it it works ok.
I tried re-installing openssl (+ devel) and even upgrading it to the
latest (0.9.6b->0.9.8a). No luck.
So I move on, I remove --with-openssl
Then I get:
"checking for the location of libjpeg... /usr
configure: error: libjpeg.(a|so) not found."
etc etc, same for GD and libpng.
I use --with-jpeg-dir=/usr or /usr/lib or /usr/local, etc... does not
matter.
locate libjpeg.a -> /usr/lib/libjpeg.a
Has anything changed, or is this a compile bug? So far as I can track
down, it seems like a bug. Especially since 5.0.5 does work just fine.
Also see no other problems.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35409&edit=1