On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with
this
command :
'./configure' \
        '--with-config-file-path=/usr/local/apache/conf' \
        '--with-gd=/usr/local' \
        '--enable-gd-native-ttf' \
        '--with-png-dir=/usr/local' \
        '--with-jpeg-dir=/usr/local' \
        '--with-zlib=/usr/local' '--with-zlib-dir=/usr/local' \
        '--with-freetype-dir=/usr/local' \
        '--with-apxs=/usr/local/apache/bin/apxs' \
        '--with-oci8=/produits/oracle/product/8.1.7' \
        '--enable-track-vars' \
        '--enable-libgcc' \
        '--without-pear' \
        '--disable-FEATURE' \
        '--disable-xml' \
        '--enable-inline-optimization' 1>>build_apache_php.log
2>>build_apache_php.log

During 'make', I get this warning :
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c sapi_apache.c
In file included from /usr/local/apache/include/httpd.h:72,
                 from sapi_apache.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c mod_php4.c
In file included from /usr/local/apache/include/httpd.h:72,
                 from mod_php4.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c php_apache.c
In file included from php_apache_http.h:6,
                 from php_apache.c:45:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition

Is it normal ?

AL


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to