Joshua, Thanks for your help, the rpmbuild -rebuild worked. I can now produce the Gantt charts without errors.
Dot Garrihy From: "Joshua Levitsky" <[EMAIL PROTECTED]> To: "Apache Frontpage support list" <[EMAIL PROTECTED]> Subject: Re: [Apache-FP] PHP with GD Date sent: Thu, 31 Jul 2003 18:05:30 -0400 Send reply to: Apache Frontpage support list <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> > ----- Original Message ----- > From: "Dot Garrihy" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 31, 2003 3:10 PM > Subject: [Apache-FP] PHP with GD > > > > I have an RH8, Apache/1.3.23, FP5 and PHP4.1.2 > > installed using your RPM's. Currently, I am trying to install > > TUTOS, a web calendar/project bundle which is written in > > PHP. > > > > When I try to produce a gantt chart which calls libpng > > libraries there is a gd-png fatal error. "Application was > > compiled with png.h from libpng-1.2.2 and is running with > > png.c from libpng-1.0.13." > > > > How do I recompile and keep PHP, Apache and Frontpage > > working together? > > If all you want to do is rebuild PHP to be happy with your system libraries > then just grab the SRPM for PHP either from my ftp.joshie.com or from > ftp.redhat.com in their Red Hat 7.3 download area. (7.3 because in 8 they > have some Apache 2 stuff I believe). Then you just type either > > rpm --rebuild php*.src.rpm > > or > > rpmbuild --rebuild php*.src.com > > whichever works. The second command is the newer way used in Red Hat 9, but > I don't know if that moved in to Red Hat 8 as well. So long as you have all > the libraries needed to compile PHP then it will build. You could > additionally grab any version of PHP from Zend (the makers of PHP) and build > it on your machine using apxs and it will compile fine. > > The need to rebuild RPMs or build from source is because there are 2 extra > fields added to Apache by mod_frontpage and mod_'s need to know about them > so they need to be built on a machien that has Apache-FP, but other than > needing to be built on a machine with Apache-FP there is nothing special > about any mods I have on my ftp site. > > -Josh > > _______________________________________________ > Apache-FP mailing list > [EMAIL PROTECTED] > http://lists.joshie.com/mailman/listinfo/apache-fp > > Donations: > http://www.amazon.com/paypage/PT5LZITM9L227 > _______________________________________________ Apache-FP mailing list [EMAIL PROTECTED] http://lists.joshie.com/mailman/listinfo/apache-fp Donations: http://www.amazon.com/paypage/PT5LZITM9L227