PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1
| From: | sniper@php.net | Date: | Tue, 30 Jan 2001 09:19:23 +0000 |
| Subject: | PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45335@lists.php.net to get a copy of this message | ||
ID: 8122
Updated by: sniper
Reported By: trevor@verite.com
Old-Status: Feedback
Status: Closed
Bug Type: Compile Problem
Assigned To:
Comments:
No feedback. Considered solved.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 18:40:36] sniper@php.net
You propably have some old pdflib (and/or headers) in your system
which the configure script finds. So just adding the install path
of pdflib to --with-pdflib should get it working.
You might also need to add these too:
--with-zlib-dir[=DIR] zlib dir for pdflib 3.x or include zlib support
--with-jpeg-dir[=DIR] jpeg dir for pdflib 3.x
--with-png-dir[=DIR] png dir for pdflib 3.x
--with-tiff-dir[=DIR] tiff dir for pdflib 3.x
--Jani
---------------------------------------------------------------------------
[2000-12-05 11:29:34] trevor@verite.com
The problem I encountered is with the configure script inaccurately reporting whether I had
PDF_show_boxed(). The configure script kept reporting that PDF_show_boxed() was
not supported, when I had libpdf 3.02 installed and was using that same function in another program
(c program). I then tried compiling a short test program similar to the one in the configure script
and it ran fine. In order to get PHP to compile and configure right I went into the configure
script and completely removed the detection for PDF_show_boxed() and statically set it to
'yes'.
Version info:
Linux 2.2.12
Redhat 6.1
php-4.0.3pl1
pdflib-3.02
zlib installed
libtiff installed
libjpeg installed
gd library installed
configure command:
./configure --with-apxs --with-java="/usr/jdk1.3" --with-pdflib --with-mcrypt
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8122