LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-08-2007, 03:09 PM   #1
dabsurv
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
PECL install PDFLIB fails Fedora core 5 x86_64


Hi,
I am having a problem installing PDFLib-Lite-7.0.1.
I am new to Linux and PHP. My experience in programming thus far has been on Windows environments and IBM mainframes. So am not sure if I just doing something wrong. Here are the steps I have taken trying to install the PDFlib extensions.

1. Downloaded PDFlib-Lite.7.0.1.tar.gz and extracted files.
2. Ran the following commands:
./configure
make
make install
pecl install pdflib (also tried pear install pecl/pdflib)
3. entered in for the path to pdf installation:
/usr/local
4. I received the following error after the build completes:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 33 bytes) in /usr/share/pear/PEAR/Registry.php on line 1012
Allowed memory size of 8388608 bytes exhausted (tried to allocate 23 bytes)

I read in other forums about changing the memory_limit in the /ect/php.ini file from 8M to 64M, but this not fix the problem. Thank you for any help you can give me.
 
Old 02-14-2008, 12:58 PM   #2
Frenchyp
LQ Newbie
 
Registered: Jan 2006
Location: Seattle
Distribution: debian 3.1 unstable/xfce4
Posts: 12

Rep: Reputation: 0
this is an old post, but i just had the same issue and this is one of the only google results for it:
there is a bug in pear/pecl, you have to install the package using:
peardev install pecl/<your package name>
 
Old 02-15-2008, 03:11 PM   #3
dabsurv
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Frenchyp,
Thanks, your tip was really helpful. I had actually given up with pdflite and put it on the back burner. When I got your reply I decided to to give it one more try.

Your tip worked great. I had one other problem after it installed, PHP would not start the extension. Even after I edited the php.ini file (I eventually created a pdflite.ini file in php.d to include the extension). However, it would not work. I finally decided to try disabling SELinux and it worked. I reenabled SELinux and it is still working. Not sure why it was blocked, but it works now. Thanks again for your help.
 
  


Reply

Tags
pear, php


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
Fedora Core 4 Kickstart Install Fails bpetersen Fedora - Installation 2 11-14-2006 09:21 AM
fontconfig.rpm fails to load in Fedora Core 5 install ieatsplaydoh Fedora - Installation 1 10-12-2006 12:19 PM
pear install pdflib fails uopjohnson Linux - Software 4 05-03-2006 03:40 PM
Fedora Core I x86_64 fails at media check screen on m6807 m6805 emachines ShallowMonkey Fedora - Installation 4 03-24-2004 09:25 AM
Fedora Core 1 Fails to Install z2168235 Fedora - Installation 2 03-07-2004 09:29 AM


All times are GMT -5. The time now is 08:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration