LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2005, 10:57 AM   #1
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
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
running: phpize
Configuring for:
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
`phpize' failed

Does anyone know what I am doing wrong?
 
Old 08-25-2005, 06:36 PM   #2
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Original Poster
Rep: Reputation: 30
Solution:
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:
rm ./configure
./buildconf --force
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:
Thread 301468
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...

Last edited by uopjohnson; 09-02-2005 at 12:10 PM.
 
Old 05-02-2006, 04:54 PM   #3
MZmuda
LQ Newbie
 
Registered: May 2006
Location: New York, USA
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by uopjohnson
Solution:
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:
rm ./configure
./buildconf --force
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...
Thanks, UOPJohnson - I've gotten the lite version to compile, but now...

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.

Thanks -

Mike Z.
 
Old 05-02-2006, 06:20 PM   #4
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Original Poster
Rep: Reputation: 30
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.
 
Old 05-03-2006, 03:40 PM   #5
MZmuda
LQ Newbie
 
Registered: May 2006
Location: New York, USA
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by uopjohnson
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 wish I could give you the exact error message, but I've moved beyond it - I'm working with the folks at PDFlib who are trying to help me through this.

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!!!

L8r.

Z
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pear install missing pearcmd.php? boardtc Mandriva 0 09-18-2005 02:34 PM
newbie trying to install Pear boardtc Mandriva 2 08-23-2005 10:51 PM
can't install anything with pear maltune Linux - Software 0 01-19-2005 04:00 PM
PEAR will not install Moebius01 Mandriva 1 11-27-2003 03:07 AM
can't complie pdflib-lite source from pdflib.com samik Linux - Software 1 11-09-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration