Am Samstag, 23. April 2005 23:43 schrieb Rasmus Lerdorf:
> Ralf Schneider wrote:
> > Hi,
> >
> > I'm trying to install PHP 4.3.11 with Apache 2.0.53 on SuSE 9.0.
> > configure and make work fine, but "make install" aborts with this error
> > message:
> >
> > Installing PHP SAPI module:       apache2handler
> > /usr/local/apache2/build/instdso.sh
> > SH_LIBTOOL='/usr/local/apache2/build/libtool'
> > libphp4.la /usr/local/apache2/modules
> > /usr/local/apache2/build/libtool --mode=install cp
> > libphp4.la /usr/local/apache2/modules/
> > libtool: install: error: cannot install `libphp4.la' to a directory not
> > ending in /root/install/php-4.3.11/libs
> > apxs:Error: Command failed with rc=65536
> > .
> > make: *** [install-sapi] Error 1
> >
> > Could anybody tell my what might be the problem, please. And how can I
> > solve this problem? In my opinion, the only thing to be done is to copy
> > the compiled module into the modules directory of Apache. Or am I wrong?
>
> What was your configure line?  Make sure you are using --with-apxs2

configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql 
--with-gd=/root/install/gd-2.0.33 --with-freetype-dir=/usr 
--enable-gd-native-ttf --enable-gd-imgstrttf--with-jpeg-dir=/usr 
--with-png-dir=/usr --with-zlib --with-xpm-dir=/usr/X11R6

Any ideas?

Ralf

Reply via email to