php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9275 can't compile pdflib in php4.0.3pl1
Submitted: 2001-02-15 06:50 UTC Modified: 2001-06-03 23:54 UTC
From: support at gbc dot net Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.3pl1 OS: FreeBSD 3.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: support at gbc dot net
New email:
PHP Version: OS:

 

 [2001-02-15 06:50 UTC] support at gbc dot net
Hi,

problem:

can't compile pdflib-3.0.3 into php-4.0.3pl1

Configure reports the following:

checking whether to include Pdflib 3.x support... /usr/local
yes
checking for libz needed by pdflib 3.x... already zlib support
checking for jpeg_read_header in -ljpeg... yes
checking for png_create_info_struct in -lpng... yes
checking for TIFFOpen in -ltiff... yes
cd: can't cd to yes
checking for PDF_show_boxed in -lpdf... no
configure: error: pdflib extension requires pdflib 3.x.

any help??

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-15 07:01 UTC] derick@php.net
Can you check if this problem persists with the latest snapshot from snaps.php.net?
 [2001-02-15 07:36 UTC] support at gbc dot net
Hi, 
some more information:

i've compiled libpng and tiff
loks fine

after that i've compiled and installed pdflib with:

./configure --with-tifflib=/usr/local  \
--with-zlib=/usr/local \
--with-pnglib=/usr/local

make
make test
make install

everything looks fine, no errors were reported.

then i try to configure php with:

./configure --with-apache=../apache_1.3.14 \
--with-mysql=/usr/local/mysql \
--with-dbase \
--enable-memory-limit=yes \
--enable-track-vars \
--enable-debug=no \
--with-gd \
--with-zlib-dir \
--with-tiff-dir \
--with-pdflib=/usr/local

and it results in the described error....

problem persists with the latest snapshot

 [2001-02-15 07:44 UTC] support at gbc dot net
Hi, 
some more information:

i've compiled libpng and tiff
loks fine

after that i've compiled and installed pdflib with:

./configure --with-tifflib=/usr/local  \
--with-zlib=/usr/local \
--with-pnglib=/usr/local

make
make test
make install

everything looks fine, no errors were reported.

then i try to configure php with:

./configure --with-apache=../apache_1.3.14 \
--with-mysql=/usr/local/mysql \
--with-dbase \
--enable-memory-limit=yes \
--enable-track-vars \
--enable-debug=no \
--with-gd \
--with-zlib-dir \
--with-tiff-dir \
--with-pdflib=/usr/local

and it results in the described error....

problem persists with the latest snapshot

 [2001-02-15 07:44 UTC] support at gbc dot net
Hi, 
some more information:

i've compiled libpng and tiff
loks fine

after that i've compiled and installed pdflib with:

./configure --with-tifflib=/usr/local  \
--with-zlib=/usr/local \
--with-pnglib=/usr/local

make
make test
make install

everything looks fine, no errors were reported.

then i try to configure php with:

./configure --with-apache=../apache_1.3.14 \
--with-mysql=/usr/local/mysql \
--with-dbase \
--enable-memory-limit=yes \
--enable-track-vars \
--enable-debug=no \
--with-gd \
--with-zlib-dir \
--with-tiff-dir \
--with-pdflib=/usr/local

and it results in the described error....

problem persists with the latest snapshot

 [2001-02-15 09:30 UTC] rjs@php.net
Could you try to configure PDFlib with --enable-shared-pdflib
If the configure finds tiff,png and zlib support, all is fine, else you might use --with-zlib=/usr/local ... in addition.

for configuring php --with-pdflib=/usr/local should be enough.
--with-zlib-dir --with-tiff-dir is normaly not neccesary.


 [2001-02-15 09:55 UTC] support at gbc dot net
same problem..

even compiling pdflib with --prefix=/usr/local/pdflib-3.0.3 and configuring php with --with-pdflib=/usr&local/pdflib-3.0.3 results in the same error...

i am kinda lost with this....
 [2001-05-23 01:39 UTC] sniper@php.net
First of all, try with PHP 4.0.5, and if that fails,
check what it has to say in the end of config.log

--Jani

 [2001-06-03 23:54 UTC] sniper@php.net
This should be fixed in PHP 4.0.6R. Please try the 
latest release candidate from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC