[NBLUG/talk] rpm question
Mark Street
jet at sonic.net
Tue Dec 2 22:12:01 PST 2003
php-4.3.3-6.src.rpm is distributed with Fedora. Install it onto your system
with an rpm -ivh php-4.3.3-6.src.rpm. change directories to
/usr/src/redhat/SPECS and take a look at the .spec file for php. NOTE the
configure options that are passed and how php is configured when redhat built
the stock rpm.
Now, add your configure options to the spec file in the appropriate place.
Now rebuild the source and create a custom rpm for your system.
as root;
# rpmbuild -ba php.spec
....
boom custom php packages
change dirs to /usr/src/redhat/RPMS/i386/ and install your custom php rpm from
there.
On Tuesday 02 December 2003 17:33, Todd Cary wrote:
> I am running Fedora with Apache and php. Unfortunately, php does not
> include the Interbase library. To correct this, I downloaded the
> lastest php (php-4.3.4.tar) and did the following:
>
> ./configure --with-interbase=/opt/interbase --with-apxs2
>
> This works fine, but I have a concern that the above compiled version
> may not have the libraries that are part of the Fedora version.
>
> Is there any way to check what will be included before I do the make and
> install?
>
> And will this effect my up2date process since the version of php will
> not be the same as the one currently installed and on the list of
> installed rpm. Some time ago I really messed up my RH when I installed
> Ximian - up2date would not work.
--
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E 2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc
More information about the talk
mailing list