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



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to