i'm installing from source apache 2.0.54 and php 5.0.4. php is being installed as a module. i am using suse linux 9.3. i've successfully installed apache with so enabled (--enable-so). now i'mhaving problems getting PHP to configure, make, and make install correctly. durin the configure process i kept getting 'xml2-config' not found, even though libxml2 was installed. i installed libxml2-devel and this seemed to solf this problem. i configured php as such: /configure --with-apxs2=/patch/to/apache2/apxs --with-mysql=/path/to/mysql/ this configures, but i get warnings halfway through stating "Warning: inter-library dependencies are not known to be supported ... libtool could not satisfy all declared inter-library dep. of module libphp5. using a static module instead"
ok, so, i get that warning, but it makes. then i run make install and get the following:
===================
[root@arrow php-5.0.2]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run libtool --finish /home/flumpy/temp/php-5.0.2/libs'
/usr/local/apache2/modules/libphp5.so': No such file or directory
Warning! dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: cannot access
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
so, i cannot get it to install correctly as you can see, and i'm at a loss. it refuses to create the libphp5.so module. any thoughts? anyone whose had this problem and gotten past it?
thx