Share your knowledge at the LQ Wiki.
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 08-08-2003, 04:54 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Please help with PHP/Oracle RPM install on RH9


I'm new here. However, I thought this would be the right place to ask. I'm
in the process of doing proof of concept work at my employer on installing
a Redhat server for web development over our Solaris box. One goal is to
show how we can use the Redhat Network, up2date, and RPM's to create our
own custom installs for our servers. I'm having some trouble though. I
need Oracle support with the php install. I started down the rebuilding
from source rout and then found out how to use the rebuild of the SRPMS. I
got more excited when I found out that Redhat had anticipated this need by
including it as an option in the specs file. In the specs file it says I
type this:

rpm --rebuild --define 'oracle 1' php4.2.1-x.src.rpm

So I'm thinking this is old because when I do this it says that --build
option is old. I have Redhat 9 installed and so I look it up and I guess
it changed to rpmbuild. So I change that and change the version number as
I'm rebuilding the 4.2.2 rpm. I do this then I get these errors:

rpm -bb
Installing php-4.2.2-17.src.rpm
cat: /usr/include/httpd/.mmn: No such file or directory
error: Failed build dependencies:
bzip2-devel is needed by php-4.2.2-17
freetype-devel is needed by php-4.2.2-17
gd-devel >= 1.8.4 is needed by php-4.2.2-17
pspell-devel is needed by php-4.2.2-17
httpd-devel >= 2.0.40-6 is needed by php-4.2.2-17
libjpeg-devel is needed by php-4.2.2-17
libpng-devel is needed by php-4.2.2-17
imap-devel is needed by php-4.2.2-17
mysql-devel is needed by php-4.2.2-17
postgresql-devel is needed by php-4.2.2-17
unixODBC-devel is needed by php-4.2.2-17
net-snmp-devel is needed by php-4.2.2-17

Am I doing this correctly? Here are my steps. I install Redhat 9 from CD,
install Oracle from CD, then install the SRPMS from CD, rebuild and
reinstall PHP. Is this correct order? Whay are all the dependeancies not
working? Do reinstall all those packages too? Any help would greatly be
appreciated as I would love to be developing on Redhat instead of Solaris.
It seems that Redhat just has the stuf that a web developer like my self
just wants on the box already. It's like Ragu - it's in there.

As I don't frequent this board much could you please email me with any
Email me at

Phill Novess
Waterpik Technologies


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
PHP Oracle 9i Connection Problem (RH9) dhammika Linux - Software 8 03-28-2005 02:18 PM
Installing php-mysql RPM on RH9 stephen_e Red Hat 7 09-26-2004 09:10 AM
PHP RPM 4 RH9 - Someone Plz Help..... afoote Linux - General 1 05-10-2004 11:41 AM
Latest PHP rpm for RH9 ducky Linux - Software 3 11-09-2003 06:53 PM
RH9 Apache/SSL/PHP/MySQL RPM vs tar.gz Ani Linux - Newbie 5 04-26-2003 10:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

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