PHP installation in solaris ,please help me!
Posted: Fri Sep 06, 2002 4:12 am
Please help me!
I know you have some experience on installing php in solaris from http://www.php.net,so I want to get some help from you . Thank you anyway .
I am Installing PHP in Solaris5.9 with apache and oracle 8i supportted .I take the following steps:
First,I install flex, gcc, gzip,perl,bison, make, m4, autoconf, automake as user "oracle".
Second,I configured as followwing:./configure --with-prefix=/export/home/oracle/www/soft --with-oracle=/export/home/oracle/OraHome --with-oci8=/export/home/oracle/OraHome --enable-track-vars
And no problem reported
Then I begin to make,the following error occered:
When I try to install php-4.2.1,the error is:
sw# make
Making all in Zend
make[1]: Entering directory `/export/home/oracle/www/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic
-static -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/export/home/oracle/www/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
And when I try to install php-4.0.6,the error is:
sw# make
Making all in Zend
make[1]: Entering directory `/export/home/oracle/www/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g
-O2 -c zend_language_scanner.c
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29507: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29507: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29665: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29665: error: statement syntax
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/export/home/oracle/www
I don't know how to comeover it,can you give
I know you have some experience on installing php in solaris from http://www.php.net,so I want to get some help from you . Thank you anyway .
I am Installing PHP in Solaris5.9 with apache and oracle 8i supportted .I take the following steps:
First,I install flex, gcc, gzip,perl,bison, make, m4, autoconf, automake as user "oracle".
Second,I configured as followwing:./configure --with-prefix=/export/home/oracle/www/soft --with-oracle=/export/home/oracle/OraHome --with-oci8=/export/home/oracle/OraHome --enable-track-vars
And no problem reported
Then I begin to make,the following error occered:
When I try to install php-4.2.1,the error is:
sw# make
Making all in Zend
make[1]: Entering directory `/export/home/oracle/www/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic
-static -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/export/home/oracle/www/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
And when I try to install php-4.0.6,the error is:
sw# make
Making all in Zend
make[1]: Entering directory `/export/home/oracle/www/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g
-O2 -c zend_language_scanner.c
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29507: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29507: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29665: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccO2rYeQ.s", line 29665: error: statement syntax
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/export/home/oracle/www
I don't know how to comeover it,can you give