php 5.2.0 on solaris 10

php 5.2.0 on solaris 10

am 26.09.2007 23:25:33 von tiboux

I try to compil Php5.2.0 on by solaris box (SunOS 5.10
Generic_118855-14 i86pc i386 i86pc)
configure and make are ok
make install result is more problematic :

Installing PHP SAPI module: apache2handler
/var/apache2/build/instdso.sh SH_LIBTOOL='/var/apache2/build/libtool'
libphp5.la /usr/apache2/libexec
/var/apache2/build/libtool --mode=install cp libphp5.la /usr/apache2/
libexec/
libtool: install: error: cannot install `libphp5.la' to a directory
not ending in /usr/src/php-5.2.0/libs
apxs:Error: Command failed with rc=65536
..
*** Error code 1
The following command caused the error:
/usr/src/php-5.2.0/build/shtool mkdir -p '/usr/apache2/libexec' && /
usr/src/php-5.2.0/build/shtool mkdir -p '/etc/apache2' && /usr/apache2/
bin/apxs -S LIBEXECDIR='/usr/apache2/libexec' -S SYSCONFDIR='/etc/
apache2' -i -a -n php5 libphp5.la
make: Fatal error: Command failed for target `install-sapi'

What's the problem ? how can I solve it ?

Re: php 5.2.0 on solaris 10

am 27.09.2007 10:14:28 von tiboux

options uses in this case were like this.

'./configure' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--with-apxs2=3D/us=
r/
apache2/bin/apxs' '--with-gd' '--with-zlib' '--enable-sockets' '--
enable-ftp' '--with-jpeg-dir=3D/usr' '--with-png-dir=3D/usr' '--with-zlib-
dir=3D/usr' '--with-xpm-dir=3D/usr/X11R6' '--with-freetype-dir=3D/usr/X11R6'
'--enable-gd-native-ttf' '--enable-mbstring=3Dall' '--with-snmp'

If I ommit snmp support, installation is successfull.

Thanks for your help.

S=E9b.

On 26 sep, 23:25, tiboux wrote:
> I try to compil Php5.2.0 on by solaris box (SunOS 5.10
> Generic_118855-14 i86pc i386 i86pc)
> configure and make are ok
> make install result is more problematic :
>
> Installing PHP SAPI module: apache2handler
> /var/apache2/build/instdso.sh SH_LIBTOOL=3D'/var/apache2/build/libtool'
> libphp5.la /usr/apache2/libexec
> /var/apache2/build/libtool --mode=3Dinstall cp libphp5.la /usr/apache2/
> libexec/
> libtool: install: error: cannot install `libphp5.la' to a directory
> not ending in /usr/src/php-5.2.0/libs
> apxs:Error: Command failed with rc=3D65536
> .
> *** Error code 1
> The following command caused the error:
> /usr/src/php-5.2.0/build/shtool mkdir -p '/usr/apache2/libexec' && /
> usr/src/php-5.2.0/build/shtool mkdir -p '/etc/apache2' && /usr/apache2/
> bin/apxs -S LIBEXECDIR=3D'/usr/apache2/libexec' -S SYSCONFDIR=3D'/etc/
> apache2' -i -a -n php5 libphp5.la
> make: Fatal error: Command failed for target `install-sapi'
>
> What's the problem ? how can I solve it ?