Re: PHP5, Apache 1.3, DSO

From: Date: Mon, 28 Apr 2003 20:59:07 +0000
Subject: Re: PHP5, Apache 1.3, DSO
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-1085@lists.php.net to get a copy of this message
On Mon, Apr 28, 2003 at 10:29:08PM +0200, Derick Rethans wrote: > On Mon, 28 Apr 2003, Adam Dickmeiss wrote: > > > Just a quick question, > > > > with Apache 1.3.27, I can no longer use --with-apxs in head PHP5 . Should I > > file a bug report is there an obvious answer? > > It helps if you tell what is the error... I take it it's not known, so I'd go for reporting the bug. However, bugs.php.net is not reachable:( So here goes: I have: Apache 1.3.27 (--enable-module=so ) autoconf 2.57 automake 1.7.3 libtool 1.5 Running it: adam@gamma:~/proj/php5$ ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.57 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13 and automake-1.5. buildconf: automake version 1.7.3 (ok) buildconf: libtool version 1.5 (ok) rebuilding configure rebuilding acconfig.h rebuilding main/php_config.h.in WARNING: Using auxiliary files such as acconfig.h', config.h.bot' WARNING: and config.h.top', to define templates for config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. adam@gamma:~/proj/php5$ cat config.nice #! /bin/sh # # Created by configure './configure' \ '--prefix=/home/adam/proj/php' \ '--with-apxs=/home/adam/proj/apache/bin/apxs' \ "$@" adam@gamma:~/proj/php5$ ./config.nice checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes [snip] checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... yes checking for member fd in BUFF *... yes checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no [snip] checking for thttpd... no checking for TUX... no checking for webjames... no checking for chosen SAPI module... apache [snip] adam@gamma:~/proj/php5$ make /bin/sh /home/adam/proj/php5/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ctype/ -I/home/adam/proj/php5/ext/ctype/ -DPHP_ATOM_INC -I/home/adam/proj/php5/include -I/home/adam/proj/php5/main -I/home/adam/proj/php5 -I/home/adam/proj/php5/Zend -I/home/adam/proj/php5/ext/xml/expat -I/home/adam/proj/php5/TSRM -g -O2 -prefer-pic -c /home/adam/proj/php5/ext/ctype/ctype.c -o ext/ctype/ctype.lo [snip , no errors] adam@gamma:~/proj/php5$ make install Installing PHP CLI binary: /home/adam/proj/php/bin/ Installing PHP CLI man page: /home/adam/proj/php/man/man1/ Installing PHP SAPI module [activating module `php5' in /home/adam/proj/apache/conf/httpd.conf] cp libs/libphp5.so /home/adam/proj/apache/libexec/libphp5.so cp: cannot stat `libs/libphp5.so': No such file or directory apxs:Break: Command failed with rc=1 make: *** [install-sapi] Error 1 adam@gamma:~/proj/php5$ find . -name 'libphp5.*' ./libs/libphp5.la ./sapi/apache/libphp5.module.in ./.libs/libphp5.lai ./.libs/libphp5.la ./libphp5.la -- Adam > Derick > > -- > "my other box is your windows PC" > ------------------------------------------------------------------------- > Derick Rethans > http://derickrethans.nl/ > PHP Magazine - PHP Magazine for Professionals > http://php-mag.net/ > ------------------------------------------------------------------------- -- Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk Index Data T: +45 33410100 Mob.: 212 212 66

« previous php.internals (#1085) next »