go to bug id or search bugs for
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
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.
Add a Patch
Add a Pull Request
Can you check if this problem persists with the latest snapshot from snaps.php.net?
some more information:
i've compiled libpng and tiff
after that i've compiled and installed pdflib with:
./configure --with-tifflib=/usr/local \
everything looks fine, no errors were reported.
then i try to configure php with:
./configure --with-apache=../apache_1.3.14 \
and it results in the described error....
problem persists with the latest snapshot
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.
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....
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
This should be fixed in PHP 4.0.6R. Please try the
latest release candidate from: