From: [EMAIL PROTECTED]
Operating system: HP-11
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: configure: error: libjpeg not found!
*********
With the standard make and yacc I had other problems so now I use bison and
gmake.
export MAKE=/opt/make/bin/gmake
CC="cc -Ae" CXX="aCC" ./configure --prefix=/apps/WEB/php
--with-oci8=/oracle/PIRELLI/app/oracle/product/8.0.5
--with-apxs=/apps/WEB/apache/bin/apxs --with-gd=/opt/gd
--with-zlib-dir=/opt/zlib --with-freetype-dir=/opt/freetype2
--without-mysql --with-xpm-dir=/opt/xpm --with-png-dir=/opt/libpng
--with-jpeg-dir=/opt/jpeg-6
configure: error: libjpeg not found!
******************
BUT I have the libs:
bonnie.root./ $ ls /opt/jpeg-6/lib
libjpeg.a libjpeg.la libjpeg.sl
*********************
My config.log is:
configure:17801: cc -Ae -o conftest -g -DHPUX11 -D_HPUX_SOURCE
-DUSE_HSREGEX -D
USE_EXPAT -L/opt/zlib/lib -L/opt/zlib/lib conftest.c -ljpeg
-L/opt/jpeg-6/lib
-lz -lcrypt -lm -lnsl 1>&5
/usr/ccs/bin/ld: Can't find library: "jpeg"
configure: failed program was:
#line 17790 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_read_header();
******
In /opt I've installed all the necessary libraries that I've downloaded
from http://hpux.connect.org.uk/hppd/search.html:
/apps/WEB/sw/binutils-2.11.2-sd-11.00.depot
/apps/WEB/sw/bison-1.28-sd-11.00.depot
/apps/WEB/sw/gcc-3.0.1-sd-11.00.depot
/apps/WEB/sw/gd-1.8.4-sd-11.00.depot
/apps/WEB/sw/jpeg-6b-sd-11.00.depot
/apps/WEB/sw/libpng-1.0.11-sd-11.00.depot
/apps/WEB/sw/make-3.79.1-sd-11.00.depot
/apps/WEB/sw/binutils-2.11.2-sd-11.00.depot
/apps/WEB/sw/bison-1.28-sd-11.00.depot
/apps/WEB/sw/gcc-3.0.1-sd-11.00.depot
/apps/WEB/sw/gd-1.8.4-sd-11.00.depot
/apps/WEB/sw/jpeg-6b-sd-11.00.depot
/apps/WEB/sw/libpng-1.0.11-sd-11.00.depot
/apps/WEB/sw/make-3.79.1-sd-11.00.depot
/apps/WEB/sw/perl-5.6.1-sd-11.00.depot
/apps/WEB/sw/xpm-3.4k-sd-11.00.depot
/apps/WEB/sw/zlib-1.1.3-sd-11.00.depot
/apps/WEB/sw/xpm-3.4k-sd-11.00.depot
***************************
If I do not include the library in the ./configure options I have
configure: error: libpng not found!
*****
No configure errors with GCC but:
I tried with gcc but I have other problems (see bug id.12842) that is still
opened.
Can anyone help me please? Thanks in advance
--
Edit bug report at: http://bugs.php.net/?id=12971&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]