ID: 14067
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: SUN OS 2.6
PHP Version: 4.0.6
New Comment:
So the configure works. This unix.h problem is not PHP
problem at all. You should report it to the c-client author.
(Naming header files without prefix is not very good idea)
Workaround is to move those c-client libs/header files
under e.g. /usr/local/c-client/lib/libc-client.a and
/usr/local/c-client/include/*.h and use
--with-imap=/usr/local/c-client/
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-11-15 05:44:00] [EMAIL PROTECTED]
I have downloaded the latest snapshot and ./configure work`s ,
but make do not work:
root:/appl/src/Apache/php4-200111141500> make
Making all in Zend
make[1]: Entering directory `/appl/src/Apache/php4-200111141500/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DSOLARIS2=260 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I../TSRM -I/opt/vbroker/include
-prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c
In file included from zend.h:54,
from zend_compile.h:24,
from zend_language_parser.c:148:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or union
/usr/local/include/unix.h:189: parse error before `}'
/usr/local/include/unix.h:189: warning: data definition has no type or storage class
/usr/local/include/unix.h:193: parse error before `*'
/usr/local/include/unix.h:193: warning: data definition has no type or storage class
/usr/local/include/unix.h:196: parse error before `*'
/usr/local/include/unix.h:197: parse error before `*'
/usr/local/include/unix.h:198: parse error before `*'
/usr/local/include/unix.h:199: parse error before `*'
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/appl/src/Apache/php4-200111141500/Zend'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
[2001-11-15 05:10:12] [EMAIL PROTECTED]
Again:
Can you try the latest snapshot from snaps.php.net, and see this fixes the prob
lem?
Derick
------------------------------------------------------------------------
[2001-11-15 05:09:10] [EMAIL PROTECTED]
if i do ./configure without --with-jpeg-dir=/usr/local , it work`s perfect ,
but NO JPEG SUPPORT in libphp4.so for Apache !
------------------------------------------------------------------------
[2001-11-15 05:02:35] [EMAIL PROTECTED]
Can you try the latest snapshot from snaps.php.net, and see this fixes the problem?
Derick
------------------------------------------------------------------------
[2001-11-15 05:01:01] [EMAIL PROTECTED]
./configure
--with-apxs=/usr/local/apache/bin/apxs
--enable-yp --enable-trans-sid --enable-track-vars
--enable-sockets
--enable-safe-mode --enable-magic-quotes --enable-ftp
--enable-filepro --enable-calendar --with-mysql=/usr/local/mysql
--with-oracle=/appl/oracle/product/8.1.7
--with-oci8=/appl/oracle/product/8.1.7 --with-ldap=/usr/local
--with-png-dir=/usr/local --with-openssl=/usr/local/ssl
--with-gd=/usr/local --enable-versioning --enable-memory-limit
--enable-inline-optimization --with-zlib-dir=/usr/local --with-zlib
--with-pdflib=/usr/local --enable-shm --enable-discard-path
--enable-force-cgi-redirect --with-regexec=apache
--enable-sysvsem --enable-sysvshm --enable-threads
--enable-gcc --with-tiff-dir=/usr/local --with-mhash
--with-gettext=/usr/local --enable-libgcc
--with-extra-includes=/usr/local/include
--with-extra-libs=/usr/local/lib --enable-shared --with-threads
--with-gnu-cc --enable-bcmath --with-imap=/usr/local
--with-readline=/usr/local --with-zip=/usr/local
--with-mnogosearch --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local
......
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) no
configure: error: libjpeg not found!
But i have all the libs in /usr/local/lib !!!
My config.log :
configure:17678: checking whether to enable truetype string function in gd
configure:17731: checking for the location of libjpeg
configure:17780: checking for jpeg_read_header in -ljpeg
There is no error !!!
I tried with php-4.0.5 and jpeg was found , but i have many other problems like parse
error in unix.h
Can anyone help me pleace !
Thanks
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14067&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]