ID:               35409
 User updated by:  sales at vivizi dot com
 Reported By:      sales at vivizi dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux (RH 7.x)
 PHP Version:      5.1.0
 New Comment:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --disable-debug
--enable-apc --enable-bcmath --enable-calendar --enable-ctype
--enable-exif --enable-fastcgi --enable-filepro --enable-ftp
--enable-inline-optimization --enable-magic-quotes --enable-mbstring
--enable-mbstr-enc-trans --enable-mbregex --enable-memory-limit
--enable-mm=shared --enable-pcntl --enable-safe-mode --enable-shmop
--enable-sigchild --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-track-vars --enable-trans-sid --enable-versioning
--enable-wddx=shared --with-config-file-path=/etc/httpd/raqtweak
--with-exec-dir=/usr/bin --with-gettext=/usr --with-iconv
--with-libdir=/usr/lib --with-ncurses --with-openssl
--with-pgsql=shared --with-readline --with-regex=system
--with-tsrm-pthreads --with-zlib-dir=/usr/lib --with-gd
--enable-gd-imgstrttf --enable-gd-native-ttf --enable-gd-jis-conv
--with-imagick=/usr --with-pspell=/usr --with-db=shared
--with-interbase=shared --with-mysql=/usr --with-mssql=shared
--with-ldap-dir=/usr --with-imap --with-curl=shared
--with-mcrypt=shared --with-mhash=shared
--with-freetype-dir=/usr/include/freetype2 --with-png-dir=/usr
--with-jpeg-dir=/usr --with-ttf --with-ttf=/usr/lib/libttf.so
--with-pdflib --with-libxml --with-libxml2 --with-dom=shared
--with-dom-xslt=/usr --with-xsl=shared --with-xsl-sablot=/usr
--with-expat-dir=/usr --with-sablot-js=/usr --with-ming=shared


Previous Comments:
------------------------------------------------------------------------

[2005-11-26 17:47:48] [EMAIL PROTECTED]

Could you please also look up the ./configure line?  Otherwise chances
are small that people will be able to help you.

------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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

Reply via email to