Re: PDF Functions

From: Date: Mon, 19 Feb 2001 16:31:43 +0000
Subject: Re: PDF Functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40588@lists.php.net to get a copy of this message
I think you're getting through the configure and compile somehow (maybe info is cached), but not really compiling in the PDF functions. I really think this is an issue with the setup of RH 7. Why don't you try to install the 7.1 which is beta now to see if RH fixed it in anyway. Or you can go back to 6.2 (which I have). Everything works in 6.2 now. Michael Mike Tuller wrote: > Ok. I have done everything I have been told to do, found on the web, and I > can think of other than bringing in a voodoo priest to get this going. I'll > try to explain what I have done so far. > > I have a system with RedHat 7.0 installed, and am trying to get PDFlib to > work with PHP 4.04. The configure script I am using is as follows: > > ./configure --with-mysql=/usr/local --with-config-file-path=/www/conf > --with-apache=../httpd --enable-track-vars --with-system-regex=yes > --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr > --with-pdflib=/usr/local --with-tiff-dir=/usr > > Configure runs fine, make runs without errors, make install too. When I go > to bring up the test page of the clock, I get this. > > Fatal error: Call to undefined function: pdf_new() in > /www/servers/pdfclock.php on line 7 > > I have taken the advice of others to not use the rpm of apache and have > compiled it myself. I also spent the time removing RedHat 7 and putting 6.2 > back on. Only to find that if anything needs updating, that dependency > problems forced me to go back to 7.0 anyway. > > I have updated the system library and specified at > http://www.phpbuilder.com/columns/perugini20001026.php3?page=2 > > It still doesn't work! I finally decided to try using ClibPDF. That runs > into the same problem at the same spot. > > Fatal error: Call to undefined function: cpdf_open() in > /www/servers/pdftest.php on line 2 > > So this tells me that there is probably not anything wrong with PDFlib or > ClibPDF, that it is something that I am not doing or something else. PHP is > working fine though, and if I compile with Mysql or anything else, they work > fine. > > If anyone has anymore advice on how to get this PDFlib working, please let > me know. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40588) next »