LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to re-compile php on RHEL4 (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-re-compile-php-on-rhel4-510287/)

buckeyesi 12-14-2006 01:46 AM

Need to re-compile php on RHEL4
 
Ok, I'm going to try this again now that I have some more info on my problem.

I need to re-build php-4.3.9 from source on RHEL4 because we need Payflow Pro capability. Our primary sysadmin added the line --with-pfpro=shared,/usr/local and when we run rpmbuild -bb it gives a build error stating no makefile was found and no targets were specified. After looking through the config.log file I found it complaining about wanting version 2 or 3 of the SDK. I proceeded to d/l the SDK from Verisign, followed the instructions on php.net, tried to build but it still complains about the SDK version and that it is skipping over an incompatible libpfpro.so, etc. Do I need to do something else besides just making sure the .h and .so files are in the right place?

I believe the original installation was done from Red Hat source php-4.3.9-3.9 at the time, according to the php.spec file, but currently, we are up to php-4.3.9-3.18 or something. We are also using Apache 2.0.52 I believe.

Any ideas on what to check for? Is it alright to just modify the php.spec file? :scratch:

THanks,

Dave

buckeyesi 12-14-2006 12:49 PM

Looks like we have php-4.3.9-3.18 installed but the spec file I'm trying to use to recompile it is from php-4.3.9-3.9. Does using an older spec file cause issues? I tried an rpm -bl on it and it came back with a bunch of file not found errors for the %files list.

Dave


All times are GMT -5. The time now is 09:12 AM.