Connecting Tech Pros Worldwide Forums | Help | Site Map

php 5.2.0 on solaris 10

tiboux
Guest
 
Posts: n/a
#1: Sep 26 '07
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 ?


tiboux
Guest
 
Posts: n/a
#2: Sep 27 '07

re: php 5.2.0 on solaris 10


options uses in this case were like this.

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

If I ommit snmp support, installation is successfull.

Thanks for your help.

Séb.

On 26 sep, 23:25, tiboux <sbroc...@gmail.comwrote:
Quote:
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 ?

Closed Thread