pear install pdflib fails
I am unable to install PDFlib lite on my slackware box. I have compiled pdflib lite from source and am now trying to build the DSO as per the instructions found on the pdflib website. However whenever I run pear install pdflib I get:
downloading pdflib-2.0.4.tgz ...
Starting to download pdflib-2.0.4.tgz (36,082 bytes)
..........done: 36,082 bytes
7 source files, building
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20021010
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ending-aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet-2.0.m4:8: warning: underquoted definition of AM_PATH_GNET_2_0
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
Does anyone know what I am doing wrong?
Well if anyone else tries to do this I went about it in this way:
1) download and compile pdflib-lite from source
2) pear download pdflib <- will download the pecl package
3) download php source
4) unpack PECL package and php source.
5) move everything from the PECL package into ext/pdf/ in the php source tree
6) from the top level of the php source tree do:
7) ./configure --with-pdflib=/usr/local <- if you built pdflib-lite without any prefix directory
8) make && make install
If you using a Slackware then you can rebuild the php package instead of going from source. Good starting directions can be found here:
you will need to unpack the php source downloaded from the slackware mirror and follow my directions above about moving the PECL libs there.
I hope that saves someone the misery...
pecl thinks pdflib is already installed! (groan..)
Is there any way to install the full version? My understanding is that it will work without a key, instead inserting an "Unregistered" (or something to that effect) message on every pdf that it creates.
It has been a while sine I have done this, however I will try and help as best I can.
What do you mean by pear thinks pdflib lite is already installed?
If I remember correctly you can download the full version binary from the pdflib site for the full version and use it unregistered the only step this aves you is the compiling of the pdflib-lite source. You still need to recompile php with pdflib support and you still need to install the pecl package.
I was working with the CPanel guys, but they couldn't get it either - strange case, I guess -
I'll let you know how it turns out, and maybe even post a quick step by step once everything's done -
Thanks again for the WAY speedy reply!!! :)
|All times are GMT -5. The time now is 01:15 PM.|