#14067 [Com]: configure: error: libjpeg not found!
| From: | linuxdude010 at hotmail dot com | Date: | Mon, 14 Apr 2003 00:36:36 +0000 |
| Subject: | #14067 [Com]: configure: error: libjpeg not found! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37622@lists.php.net to get a copy of this message | ||
ID: 14067
Comment by: linuxdude010 at hotmail dot com
Reported By: valeri dot minkov at maxmobil dot at
Status: Closed
Bug Type: Compile Failure
Operating System: SUN OS 2.6
PHP Version: 4.0.6
New Comment:
#/usr/local/include/unix.h is a bad file, you must update it.
#I did this:
locate unix.h
# which turned up:
/usr/src/linux-2.4.19/include/config/unix.h
I replaced my bad unix.h (the unix.h that the c-client program compiles
doesn't work) - with /usr/src/linux-2.4.19/include/config/unix.h and
presto, everything compiled fine.
Previous Comments:
------------------------------------------------------------------------
[2001-11-18 18:12:51] sniper@php.net
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
------------------------------------------------------------------------
[2001-11-15 05:44:00] valeri dot minkov at maxmobil dot at
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] derick@php.net
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] valeri dot minkov at maxmobil dot at
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] derick@php.net
Can you try the latest snapshot from snaps.php.net, and see this fixes
the problem?
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14067
--
Edit this bug report at http://bugs.php.net/?id=14067&edit=1