Re: PDF Functions

From: Date: Wed, 14 Feb 2001 21:49:44 +0000
Subject: Re: PDF Functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39755@lists.php.net to get a copy of this message
The reason why I needed the RPM is because no matter what I tried, I couldn't get PHP to compile for the Apache rpm on Redhat 7. If at all possible, I like to use the rpms so that they can be easily updated. I have done everything everyone has suggested, and I still get an error. I have even compiled PHP and still I can't use PDFlib. What next? Here is the updated config script that I used. ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx --with-mysql --with-xml --with-pdflib=/usr/local/lib --with-tiff > From: Chris Carbaugh <cjtech2000@yahoo.com> > Reply-To: cjtech2000@yahoo.com > Date: Wed, 14 Feb 2001 15:08:02 EST > To: Mike Tuller <mitull01@willy.wsc.edu>, php mailing list > <php-general@lists.php.net> > Subject: Re: [PHP] PDF Functions > > > How about in /etc/ld.so.conf you make sure /usr/lib is in there. > > Then run /sbin/ldconfig. > > Also, why bother with the source RPM? I would rather just get the > source tarball direct from PHP.net and run with it. > > Chris > > On Wed, 14 Feb 2001, Mike Tuller wrote: >> Date: Wed, 14 Feb 2001 12:07:50 -0600 >> To: php mailing list <php-general@lists.php.net> >> From: Mike Tuller <mitull01@willy.wsc.edu> >> Subject: [PHP] PDF Functions >> >> I finally got everything to install on RedHat 7, but I can't do >> anything >> with pdflib like I had expected. >> >> I get back Fatal error: Call to undefined function: pdf_new() in >> /var/www/html/pdfclock.php on line 7. Line 7 is $pdf = PDF_new(); >> >> This is rather frustrating that every time I try to install PHP on a >> machine >> it takes me a week to get it going. >> >> Here is what I have for the config from the srpm after modification >> as >> instructed earlier. >> >> ../configure \ >> --prefix=%{_prefix} \ >> --with-config-file-path=%{_sysconfdir} \ >> --disable-debug \ >> --enable-pic \ >> --enable-shared \ >> --enable-inline-optimization \ >> $* \ >> --with-exec-dir=%{_bindir} \ >> --with-regex=system \ >> --with-gettext \ >> --with-gd \ >> --with-jpeg-dir=%{_prefix} \ >> --with-png \ >> --with-zlib \ >> --with-gdbm \ >> --enable-debugger \ >> --enable-magic-quotes \ >> --enable-safe-mode \ >> --enable-sockets \ >> --enable-sysvsem \ >> --enable-sysvshm \ >> --enable-track-vars \ >> --enable-yp \ >> --enable-ftp \ >> --enable-wddx \ >> --with-mysql \ >> --with-xml \ >> --with-pdflib=/usr/lib/lipdf.so.0 \ >> --with-tiff >> >> Can someone look at this and tell me what else I need to put in to >> get this >> to work? >> >> Mike >> >> >> >> >> -- >> 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 >> > > -- > 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 (#39755) next »