php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8122 2.2.12-29.4smp Redhat 6.1
Submitted: 2000-12-05 11:29 UTC Modified: 2001-01-30 04:19 UTC
From: trevor at verite dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: trevor at verite dot com
New email:
PHP Version: OS:

 

 [2000-12-05 11:29 UTC] trevor at verite dot 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-05 18:40 UTC] 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
 [2001-01-30 04:19 UTC] sniper@php.net
No feedback. Considered solved.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC