note 11011 modified in ref.pdf by eschmid

From: Date: Mon, 11 Feb 2002 14:41:13 +0000
Subject: note 11011 modified in ref.pdf by eschmid
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26476@lists.php.net to get a copy of this message
just something from :http://lists.omnipotent.net/php3/200006/msg00078.html Quite Important!!! Just to have it in the archive I am responding to myself. I managed to get it to compile. The problem lies with the PDFlib and the options you compile it with. I was seeing some errors in reference to the png functions inside the PDFlib being undefined. I decided to recompile without PNG support. (--with-pnglib=no). Even though my system has PNGlib in /usr/local/lib. I tried it both ways and disabling the PNG support seemed to be the way to go. After recompiling, PHP is no longer stopped on pdf_show_boxed. HTH somebody... Tom Walsh > System: BSDi 4.1 > > Trying to compile PHP4.0 with PDFlib support. I have downloaded the > latest PDFlib (version 3.0) and compiled it. When I run the > ./configure > script I am getting an error message on PDF_show_boxed. It is > telling me > something to the effect that you must have libjpeg and libtiff > installed. > > I have compiled libtiff (v3.5.5) and libjpeg (v6). I have also > recompiled PDFlib with the libtiff switch > (--with-libtiff=/usr/local/lib). > > I keep getting the same error message. > > I have tried forcing PDFlib to look at /usr/local/lib > (--with-pdflib=/dir) and still the same error message. > > Any help is appreciated. > > As an aside: I find that PDFlib function and actually all things PDF > like to be very poorly documented. > > Tom Walsh > > -- --was-- just something from :http://lists.omnipotent.net/php3/200006/msg00078.html Quite Important!!! Just to have it in the archive I am responding to myself. I managed to get it to compile. The problem lies with the PDFlib and the options you compile it with. I was seeing some errors in reference to the png functions inside the PDFlib being undefined. I decided to recompile without PNG support. (--with-pnglib=no). Even though my system has PNGlib in /usr/local/lib. I tried it both ways and disabling the PNG support seemed to be the way to go. After recompiling, PHP is no longer stopped on pdf_show_boxed. HTH somebody... Tom Walsh > System: BSDi 4.1 > > Trying to compile PHP4.0 with PDFlib support. I have downloaded the > latest PDFlib (version 3.0) and compiled it. When I run the > ./configure > script I am getting an error message on PDF_show_boxed. It is > telling me > something to the effect that you must have libjpeg and libtiff > installed. > > I have compiled libtiff (v3.5.5) and libjpeg (v6). I have also > recompiled PDFlib with the libtiff switch > (--with-libtiff=/usr/local/lib). > > I keep getting the same error message. > > I have tried forcing PDFlib to look at /usr/local/lib > (--with-pdflib=/dir) and still the same error message. > > Any help is appreciated. > > As an aside: I find that PDFlib function and actually all things PDF > like to be very poorly documented. > > Tom Walsh > > -- http://www.php.net/manual/en/ref.pdf.php

« previous php.notes (#26476) next »