|  | Posted by J.O. Aho on 04/28/07 05:57 
Ozz wrote:> Hi folks,
 > I think I need some pointers here. I have a fc6 running apache/php
 > 5.1.6. By default, gd lib in not included in php. To include it, you
 > need to re-compile php with gd. All works well until here.
 >
 > But, what if I also want to be able to update php5 automatically, as
 > the updates are released. Traditionally, once to recompile anything,
 > it can no be updated through update manager...
 
 You can make your own RPM based on the official, you donwload the *.src.rpm
 and install it: rpm -i package.src.rpm
 
 Now go to /usr/src/fedora/SPECS and edit the php.spec and just add the gd
 option to configure, save the spec and then build it with:
 rpmbuild -ba /usr/src/fedora/SPECS/php.spec
 
 When finished you have a new RPM in /usr/src/fedora/RPMS/{def-arch}/
 
 Of course next time you auto update you will loose the gd support if it's not
 built in by Fedora.
 
 Otherwise you can switch to a meta-distribution like Gentoo, where you can
 select which options should be compiled into each package and you will get
 that each time you upgrade.
 
 --
 
 //Aho
  Navigation: [Reply to this message] |