[CentOS] Problem with rpmbuild - this works

Sun Jan 14 15:58:53 UTC 2007
Todd Cary <todd at aristesoftware.com>

I finally got a version of PHP with Interbase included, but I am not 
sure why it works versus using rpmbuild.  Here is what I did:

Using the php-4.3.9-3.15.src.rpm and running

# rpm -i php.4.3.9-3.15.src.rpm

I now have php-4.3.9.tar.gz in /usr/src/redhat/SOURCES.  This is copied 
to /tmp and untarred.  Moving to php.4.3.9-3, I run

# ./configure -with-interbase=shared,/opt/firebird

After a # make, I have interbase.so in the modules directory.  This is 
copied to /usr/lib/php4 and I create a interbase.ini file in /etc/php.d 
that has a line, "include=interbase.so".

That is it...long way around, but gosh darn, it works!!!  Honestly, I am 
not sure of exactly what I did (at least I am not able to translate 
everything into what I do daily with Windoz and Delphi).  I am sure some 
C++ experience would help me.

Todd

Todd Cary wrote:
> I want to be able to recompile php, so I downloaded the src dvd and did a
>
> rpm -i php-4.3.9-3.15.src.rpm
>
> After doing that I wanted to check to see if I can recompile it before 
> making changes.  So, I went to the SPECS dir and did a
>
> rpmbuild -i php.spec
>
> It spent a lot of time doing the compile, but at the end there were 
> errors.
>
> What am I missing?
>
> Todd
>

-- 
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523