Re: PDFlib?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Dec 31, 2006 at 10:25:07AM -0600, Mike Kercher enlightened us:
> > -----Original Message-----
> > From: centos-bounces@xxxxxxxxxx 
> > [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Matt Hyclak
> > Sent: Saturday, December 30, 2006 10:01 PM
> > To: CentOS mailing list
> > Subject: Re:  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

Attachment: php-pecl-pdflib-2.1.2-1.el4.mrh.src.rpm
Description: application/rpm

Attachment: PDFlib-Lite-6.0.3-2.el4.mrh.nosrc.rpm
Description: application/rpm

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux