RE: PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1
| From: | Trevor Linton | Date: | Wed, 06 Dec 2000 01:18:22 +0000 |
| Subject: | RE: PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40185@lists.php.net to get a copy of this message | ||
The system i'm working on has never had it's pdflib updated. It's always
been at 3.02.
I ran into the same problems even if I specified the install path and
zlib,jpeg,png,tiff
are all uniformed and in /usr/lib. I could try the --with-zlib etc.. but I
doubt it will
return anything different.
Trevor Linton
Applications Developer/System Administrator
Vérité Multimedia Inc.
http://www.verite.com
DVD * CD * Web * Print * Film * Sound
801.553.1101 x 116
Fax: 801.553.1215
trevor@verite.com
-----Original Message-----
From: Bug Database [mailto:php-dev@lists.php.net]
Sent: Tuesday, December 05, 2000 3:41 PM
To: trevor@verite.com
Subject: PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1
ID: 8122
Updated by: sniper
Reported By: trevor@verite.com
Status: Feedback
Bug Type: Compile Problem
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[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-mcryp
t
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8122