OVH Cloud OVH Cloud

Pb d'install sur Solaris 8 !

1 réponse
Avatar
Michel Mounier
Bonjour,

je tente d'installer php-4.3.3 sur solaris-8 et au "make install"
j'ai le souci suivant :

/bin/sh /home/mounier/tmp/php-4.3.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/local/apache2/include -Isapi/apache/
-I/home/mounier/tmp/php-4.3.3/sapi/apache/ -DPHP_ATOM_INC
-I/home/mounier/tmp/php-4.3.3/include -I/home/mounier/tmp/php-4.3.3/main
-I/home/mounier/tmp/php-4.3.3 -I/home/mounier/tmp/php-4.3.3/Zend
-I/usr/local/ssl/include -I/usr/local/mysql/include/mysql
-I/home/mounier/tmp/php-4.3.3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-I/home/mounier/tmp/php-4.3.3/TSRM -g -O2 -prefer-pic -c
/home/mounier/tmp/php-4.3.3/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
/home/mounier/tmp/php-4.3.3/sapi/apache/sapi_apache.c: In function
`apache_php_module_main':
/home/mounier/tmp/php-4.3.3/sapi/apache/sapi_apache.c:45: `NOT_FOUND'
undeclared (first use in this function)
/home/mounier/tmp/php-4.3.3/sapi/apache/sapi_apache.c:45: (Each
undeclared identifier is reported only once
/home/mounier/tmp/php-4.3.3/sapi/apache/sapi_apache.c:45: for each
function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target
`sapi/apache/sapi_apache.lo'


- j'utilise comme variables :
export LD_RUN_PATH
LD_RUN_PATH=/usr/local/ssl/lib:/usr/local/mysql/lib/mysql
export CC; CC=gcc

- et comme configure :
./configure --with-apxs=/usr/local/apache2/bin/apxs \
--with-zlib=/usr --with-db3=/usr/local \
--with-openssl=/usr/local/ssl \
--with-mysql=/usr/local/mysql

Merci pour tous renseignements.

Michel.

1 réponse

Avatar
Thibaut Allender
"Michel Mounier" wrote in message
news:

- et comme configure :
./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-zlib=/usr --with-db3=/usr/local
--with-openssl=/usr/local/ssl
--with-mysql=/usr/local/mysql


beep beep, erreur :

# ./configure --help | grep apxs
--with-apxs[=FILE] Build shared Apache 1.x module. FILE is the
optional
pathname to the Apache apxs tool; defaults to
apxs.
--with-apxs2filter[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module.
FILE is the optional
pathname to the Apache apxs tool; defaults to
apxs.
--with-apxs2[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module. FILE
is the optional
pathname to the Apache apxs tool; defaults to
apxs.


./configure --with-apxs2=/usr/local/apache2/bin/apxs

ca fonctionnera surement mieux :)

a+