PHP4.04pl1/pdflib3.0.3 compile issue
| From: | Lindsay Adams | Date: | Sun, 01 Apr 2001 02:22:13 +0000 |
| Subject: | PHP4.04pl1/pdflib3.0.3 compile issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46484@lists.php.net to get a copy of this message | ||
Firstly, I spent 3 hours searching the archives and trying all the
suggestion that I could find. No go.
The box that I want to put this on is a Cobalt Qube2
The pdflib compiles and installs correctly as a shared library
It is compiled with tiff and zlib support only (png is explicitly off)
Here is the output when I compile php with the following command:
./configure --with-apxs=/usr/sbin/apxs \
--with-ftp \
--enable-calendar\
--with-zlib-dir \
--with-mysql \
--with-pdflib=/usr/local \
--with-swf=/usr/local/swf \
--with-zlib
OUTPUT:
checking for Oracle-ORACLE support... no
checking for Ovrimos SQL Server support... no
checking whether to include PCRE support... yes
checking for memmove... (cached) yes
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... no
no
checking for png_create_info_struct in -lpng... no
no
checking for TIFFOpen in -ltiff... no
no
checking for PDF_show_boxed in -lpdf... no
configure: error: pdflib extension requires pdflib 3.x.
[php-4.0.4pl1]#
I do not know the ins and outs of make, ld, yacc, sed...
I am not a developer, just a monkey that can read and explore
In exploring, I grep'd for PDF_show_box in a bunch of .c and .h files, and
found it in a lot of places.
I don't know which file does the actual check for PDF_show_boxed, or which
file it checks, that would be helpful.
I did download the latest and greatest pdf.c for php/ext/pdf directory.
If anyone has any new ideas on things to try to make this work, I would be
hugely grateful.
I downloaded both source tarballs today, from what appeared to be the
newest.
Ack!
Lindsay Adams