compile errors on RH 7.2 when making a RPM
| From: | Venge -- Lokalsound | Date: | Sat, 02 Mar 2002 18:15:34 +0000 |
| Subject: | compile errors on RH 7.2 when making a RPM | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6228@lists.php.net to get a copy of this message | ||
Hi. I am trying to make an rpm out of my php-4.0.6.tar.gz file. Here is my
problem:
I unpack the sourc into /usr/share/redhat/SOURCES and copy the tar.gz file
into there. I edit the php4.spec.in file and move it
to /usr/share/redhat/SPECS/php4.spec
when I issue rpm -ba SPECS/php4.spec it goes through the configure and then
halts with this error:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path.
configure: error: ;
error: Bad exit status from /var/tmp/rpm-tmp.50883 (%build)
httpd is the stock rpm from redhat and has mod_so.c compiled in.
The strange thing is, when I just ./configure --my_options.... it builds
just fine w/o any errors and installs just right.
I am pretty new to compiling source and making RPMS so any help would be
appreciated.
Thanks!
Jeff