[imp] Re: Error when compiling PHP4.3.0

Dan Tulovsky dant at wetsnow.com
Fri Feb 7 15:04:06 PST 2003


Find your apache httpd binary and run:

./httpd -l

is mod_so listed in the results?  If not, you need to recompile apache with
mod_so support.

otherwise, find where apxs is ony our system and that path to php.

Dan

"Bruno Negrao" <imp-bnegrao at engepel.com.br> wrote in message
news:002101c2cee2$ec1009c0$5100a8c0 at egp...
Hi guys, I'm trying to compile PHP4.3.0 on my system (redhat 8.0 + apache
( httpd-2.0.40-11 )).

I recieved the following error messages when compiling:

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
./configure: line 4615: /usr/sbin/apxs: No such file or directory
configure: error: Aborting
---------------------------------------------------------
And, in fact, the file /usr/sbin/apxs doesn't exist in my system.

What do I do now??

The compilation options I passed to configure are the same used by the php
rpm from redhat:

--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linu
x-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin -
-sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/
include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --s
haredstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --p
refix=/usr --with-config-file-path=/etc --enable-force-cgi-redirect --disabl
e-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2
 --with-db3 --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-free
type-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-tt
f --with-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --with-j
peg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --w
ith-xml --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath
--enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable
-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-tr
ack-vars --enable-trans-sid --enable-yp --enable-wddx --without-oci8 --with-
pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos=/usr
/kerberos --with-ldap=shared --with-mysql=shared,/usr --with-pgsql=shared --
with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack --with-unixO
DBC=shared --enable-memory-limit --enable-bcmath --enable-shmop --enable-ver
sioning --enable-calendar --enable-dbx --enable-dio --enable-mcal --with-apx
s2=/usr/sbin/apxs

thanks,
bruno









-------------------------------------------------
 -- Bruno Negrão -- Suporte
 -- Plugway Acesso Internet Ltda.
 -- (31)34812311
 -- bnegrao at plugway dot com dot br


-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org





More information about the imp mailing list