473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

installing PDFlib package

Hi
I am facing trouble in calling PDFlib class
i have a file called "export.php"and while running it from command prompt i get an error

Fatal error: Class 'PDFlib' not found in /home/sanjeev/svn/civicrm1.8/CRM/Utils/PDFlib.php on line 48

which indicates that the PDFlib class is not getting called
i have installed the PDFlib-Lite-7.0.3 package using the following steps

1.sanjeev@sanjeev:~$ cd Desktop/PDFlib-Lite-7.0.3

2.sanjeev@sanjeev:~/PDFlib-Lite-7.0.3$ ./configure

3.sanjeev@sanjeev:~/PDFlib-Lite-7.0.3$ make

4.sanjeev@sanjeev:~/PDFlib-Lite-7.0.3$ sudo make install

5.sanjeev@sanjeev:~$ sudo apt-get install php-pear php5-dev

6.sanjeev@sanjeev:~$ sudo pecl install pdflib
downloading pdflib-2.1.3.tgz ...
Starting to download pdflib-2.1.3.tgz (55,675 bytes)
.............done: 55,675 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
path to pdflib installation? : /usr/local

and lastly have also added
extension=php.so in php.ini file

still i am getting the same error

Fatal error: Class 'PDFlib' not found in /home/sanjeev/svn/civicrm1.8/CRM/Utils/PDFlib.php on line 48

so can someone please help me with this
May 28 '08 #1
1 8543
pbmods
5,821 Expert 4TB
Heya, Sanjeev.

You might find this document to be of interest.
May 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Randell D. | last post by:
Folks, I've read the PHP online help file and I believe the ClibPDF functionality is seperate, but similar to the PDFlib version - What is the difference? Why would one use one, instead of the...
2
by: bonehead | last post by:
Greetings, Apologies in advance for the crosspost. I would like to determine if the PDFlib library has been installed on a shared server which I do not administer. Is there a command I can run...
0
by: ian douglas | last post by:
Hey all, Anyone have a wraper written as a drop-in replacement for PDFlib? That is, use their function names, parameters, pretty much identically? I'm making some slight modifications to an...
0
by: Rul | last post by:
i have to build pdf files from tiff in a visual basic application, so i downloaded http://download.devparadise.com/pdflib-2.01.zip pdflib's 2.01 source to make the visual basic bind, but the vb...
1
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: ...
0
by: Jeff_M | last post by:
I asked my web hosting company to install PDFlib so that I could create, just very simple dynamic pdfs. (using PHP5) They said it is installed. When I call phpinfo(), I see this . Configure...
2
by: Nader Emami | last post by:
L.S., Would somebody help me about PDFlib using? I am a user of a Linux machine (not root) and I have installed PDFlib somewhere in my home directory. So I can't change the '/etc/php.ini' file....
0
by: seth.northrop | last post by:
Hi, I get this error with the new PHP PDF Binaries: http://pecl.php.net/bugs/bug.php?id=9491&edit=1 And I've attempted to do the workaround (install a newer PDFLib binary). That fixes the...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.