[PHP-DEV] PHP 4.0 Bug #8122 Updated: 2.2.12-29.4smp Redhat 6.1 From: sniper <email protected>
Date: 01/30/01

ID: 8122
Updated by: sniper
Reported By: trevor <email protected>
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 <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>