Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-14-2006, 02:46 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 5

Rep: Reputation: 0
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, tried to build but it still complains about the SDK version and that it is skipping over an incompatible, 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?


Old 12-14-2006, 01:49 PM   #2
LQ Newbie
Registered: Dec 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remote backup from RHEL4 to another RHEL4? dkgoalie Linux - Newbie 2 10-28-2006 12:14 AM
RHEL4, compile nfsroot into kernel fails five0_4tluv Linux - Enterprise 11 10-20-2006 02:30 PM
oracle 9i with php,apache, on RHEL4 LinuxLover Linux - Software 1 07-26-2006 02:23 AM
How to compile kernel on RHEL4 (ES) ERBRMN Linux - Enterprise 1 03-15-2006 01:48 AM
php-mysql dependancy problem after nitemare mysql upgrade. RHEL4 andrewc Red Hat 1 01-03-2006 05:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration