Re: [PHP4BETA] PHP4 Beta 2 No Compile -- PDFLIB Problem
| From: | David den Boer | Date: | Wed, 11 Aug 1999 08:54:54 +0000 |
| Subject: | Re: [PHP4BETA] PHP4 Beta 2 No Compile -- PDFLIB Problem | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3327@lists.php.net to get a copy of this message | ||
To follow up my last message, I downloaded, compiled, and installed PDFlib 2.0.1, and still have the
same problem as earlier. Here is the directives I pass to configure :
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-track-vars \
--disable-debug \
--with-imap \
--with-mysql=/usr/local/mysql \
--with-tiff-dir=/usr \
--with-jpeg-dir=/usr \
--with-zlib-dir=/usr \
--with-zlib \
--with-pdflib=/usr/local/pdflib
David.
David den Boer wrote:
> I too have this problem (kind of). When configuring (with my config options from 3.0.12), I get
> the following error :
>
> checking whether to include Pdflib 2.0 support... /usr/local/pdflib ...yes
> checking for zlib (needed by pdflib 2.0)... no
> configure: warning: If configure fails try --with-zlib=<DIR>
> checking for PDF_close in -lpdf... no
> configure: error: pdflib extension requires pdflib 2.0.
>
> However, I did specify where libz is, and it worked fine in PHP3. When I configure using the
> same options (nut no PDFlib), it finds zlib no problem, and adds support for it. What is going on
> here when this happens? I have even told configure to look for zlib before PDFlib.
>
> Any help would be greatly appreciated.
> David.
>