[CentOS] PDFlib?

Matt Hyclak hyclak at math.ohiou.edu
Tue Jan 2 18:59:53 UTC 2007


On Sun, Dec 31, 2006 at 10:25:07AM -0600, Mike Kercher enlightened us:
> > -----Original Message-----
> > From: centos-bounces at centos.org 
> > [mailto:centos-bounces at centos.org] On Behalf Of Matt Hyclak
> > Sent: Saturday, December 30, 2006 10:01 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] PDFlib?
> > 
> > On Sat, Dec 30, 2006 at 05:09:57PM -0600, Mike Kercher enlightened us:
> > > I'm trying to create pdf's on the fly with php, but I'm 
> > getting errors 
> > > such as:
> > > 
> > > Fatal error: Call to undefined function: pdf_new()
> > > 
> > > I tried installing pdflib from dag, but I think I'm missing 
> > something 
> > > to plug it into php.
> > > 
> > > Has anyone done this?
> > > 
> > 
> > Yes, the PDFlib in dag's repo isn't for php, if I remember 
> > correctly. I ended up building PDFlib-Lite from the website 
> > using the SRPM from pld linux, then updated the 
> > php-pecl-pdflib RPM from rpmforge (dag) to 2.1.2 and installed that.
> > 
> > I'm no longer using them in production, but I've still got 
> > spec files if you need some guidance.
> > 
> > Matt

> 
> Matt,
> 
> Thanks for the info.  I would be very interested in your .spec files and
> any other guidance you may have.
> 

Sorry, I've been out with the holidays and all. I've attached the src.rpm
for php-pecl-pdflib and a .nosrc.rpm for PDFLib-Lite. You'll have to
download PDFLib-Lite 6.0.3 from their website to rebuild, but that should
get you in the right direction.

HTH,

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-pecl-pdflib-2.1.2-1.el4.mrh.src.rpm
Type: application/x-rpm
Size: 59035 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070102/7acb63a6/attachment.rpm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PDFlib-Lite-6.0.3-2.el4.mrh.nosrc.rpm
Type: application/x-rpm
Size: 5603 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070102/7acb63a6/attachment-0001.rpm>


More information about the CentOS mailing list