Re: PDF Functions

From: Date: Wed, 14 Feb 2001 18:35:50 +0000
Subject: Re: PDF Functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39706@lists.php.net to get a copy of this message
Ive never quite seen a config like that, everybody does things differently. check your configure's output to make sure that it sais checking whether to include Pdflib 3.x support... yes checking for PDF_show_boxed in -lpdf... yes my config script looks like this... configure \ --disable-debug \ --enable-inline-optimization \ --enable-versioning \ --enable-trans-sid \ --enable-sockets \ --enable-xml \ --with-sablot \ --with-mhash \ --with-mcrypt \ --with-pgsql \ --with-mysql \ --with-zlib-dir=/usr/local \ --with-bz2 \ --with-jpeg-dir=/usr/local \ --with-xpm-dir=/usr/X11R6 \ --with-png \ --with-tiff \ --with-ttf \ --with-t1lib \ --with-gd \ --with-pdflib \ if your configure isnt finding pdflib it wont fail, it just wont include pdf support -- Chris Lee Mediawaveonline.com em. lee@mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 "Mike Tuller" <mitull01@willy.wsc.edu> wrote in message news:B6B02595.5CDD%mitull01@willy.wsc.edu... > 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 >

« previous php.general (#39706) next »