php 5.2.0 on solaris 10

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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/ SH_LIBTOOL='/var/apache2/build/libtool' /usr/apache2/libexec
/var/apache2/build/libtool --mode=install cp /usr/apache2/
libtool: install: error: cannot install `' 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
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

options uses in this case were like this.

 './configure' '--prefix=/usr' '--exec-prefix=/usr' '--with-apxs2=/us
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.


Quoted text here. Click to load it

Site Timeline