php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12971 configure: error: libjpeg not found!
Submitted: 2001-08-27 07:17 UTC Modified: 2001-09-05 08:49 UTC
From: matteo dot redaelli at pirelli dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: HP-11
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matteo dot redaelli at pirelli dot com
New email:
PHP Version: OS:

 

 [2001-08-27 07:17 UTC] matteo dot redaelli at pirelli dot com
*********
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-05 03:00 UTC] matteo dot redaelli at pirelli dot com
Solved!

Now it works with the new "configure" that Jani sent me via e-mail. Will it be added in the future releases (snapshots)?

Thanks

Matteo


 [2001-09-05 08:49 UTC] sniper@php.net
Fixed in CVS.

--Jani

 [2004-06-25 19:25 UTC] cosas at minovela dot com
i've got the same problem, i tried with last php4 stable, with php 4.3.7 and php 4.3.2 but i got the same problem.

could you send me this configure at my email please?
thanks :D
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 15:01:31 2025 UTC