RE: [PHP-INST] PHP doesn't find PDFLib functions
| From: | Christophe Gerard | Date: | Fri, 03 Aug 2001 13:04:28 +0000 |
| Subject: | RE: [PHP-INST] PHP doesn't find PDFLib functions | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3820@lists.php.net to get a copy of this message | ||
It works on Solaris too !
Thank's a lot.
> -----Message d'origine-----
> De : Jim Thome [mailto:jthome@fcgov.com]
> Envoye : mercredi 1 aout 2001 17:34
> A : chris51@guignol.com; php-install@lists.php.net
> Objet : Re: [PHP-INST] PHP doesn't find PDFLib functions
> Importance : Haute
>
>
> It took me quite awhile to get PDFLIB 4.0.1 to compile with PHP,
> and here are the config options that finally worked for me (on HPUX).
>
> PDFLIB:
> ./configure --enable-shared-pdflib --enable-cxx
> --with-tifflib=/usr/lib --with-zlib=no --with-pnglib=no
>
> PHP (DSO build):
> ./configure --with-apxs=/path/to/apache/bin/apxs --with-mysql=no
> --with-pdflib=/usr/local --enable-shared=pdflib --enable-libgcc
> --with-zlib=/opt/zlib --with-zlib-dir=/opt/zlib
>
> NOTE - Even though the PHP compile might say that PDFLIB is
> being included, if you don't have see the following lines during
> compile, PDFLIB will NOT be included:
>
> ####################################
> checking whether to include PDFlib support... yes
> checking for PDF_show_boxed in -lpdf... yes
> #####################################
>
> Good Luck,
>
> Jim Thome
>
>
>
> >>> "Christophe Cinquantun" <chris51@guignol.com> 08/01 4:49 AM
> >>> >>>
> I don't succeed in building PHP 4.0.6 with PDFLib 4.0.1
> I've installed the PDFLIB 4.01 source in <pdflib-dir>, run
> ./configure, make
> and make install.
> Then, as specified in <pdflib-dir>/bind/php/readme.txt, I've copied
> <pdflib-dir>/bind/php/ext/pdf/* in <php-dir>/ext/pdf and build php with
> ./configure --with-pdflib=/usr/local, make and make install