|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-15 15:02 UTC] jani@php.net
[2009-01-15 15:06 UTC] jani@php.net
[2009-01-15 17:25 UTC] clawson at uen dot org
[2009-01-15 18:41 UTC] clawson at uen dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 23:00:01 2025 UTC |
Description: ------------ make fails with --with-apxs2=/opt/httpd/apache-2.2.11/sbin/apxs last out from make is: /bin/sh /opt/src/php-5.2.8/libtool --silent --preserve-dup-deps --mode=compile /opt/cooltools-4.2.1/gcc/bin/gcc -D -I/opt/httpd/apach e-2.2.11/include -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/opt/httpd/apache-2.2.11/include -I/ opt/httpd/apache-2.2.11/include -Isapi/apache2handler/ -I/opt/src/php-5.2.8/sapi/apache2handler/ -DPHP_ATOM_INC -I/opt/src/php-5.2.8/ include -I/opt/src/php-5.2.8/main -I/opt/src/php-5.2.8 -I/usr/include/libxml2 -I/usr/local/ssl/include -I/opt/curl/include -I/opt/src/ php-5.2.8/ext/date/lib -I/opt/mysql/include/mysql -I/opt/src/php-5.2.8/TSRM -I/opt/src/php-5.2.8/Zend -D_POSIX_PTHREAD_SEMANTICS -I/ usr/local/include -g -O2 -c /opt/src/php-5.2.8/sapi/apache2handler/mod_php5.c -o sapi/apache2handler/mod_php5.lo <command-line>: error: macro names must be identifiers *** Error code 1 make: Fatal error: Command failed for target `sapi/apache2handler/mod_php5.lo' configure completed without error. configure statement: CC=/opt/cooltools-4.2.1/gcc/bin/gcc \ CXX=/opt/cooltools-4.2.1/gcc/bin/gcc \ ./configure \ --prefix=/opt/php/php-5.2.8-mysql-5.0.75 \ --with-config-file-path=/etc/opt/php \ --with-apxs2=/opt/httpd/apache-2.2.11/sbin/apxs \ --with-zlib-dir=/usr/lib \ --with-bz2=/usr/lib \ --with-jpeg-dir=/usr/sfw \ --with-png-dir=/usr/sfw \ --with-gd \ --enable-magic-quotes \ --enable-bcmath \ --enable-calendar \ --enable-pcntl \ --enable-sigchild \ --enable-ftp \ --without-sqlite \ --with-pear \ --with-curl=/opt/curl \ --with-openssl=/usr/local/ssl \ --with-mysql=/opt/mysql Remove the --with-apxs2 directive and make completes without problems. Attempted snapshot php5.2-200901132130 and got the same error. Solaris 10: $ cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 27 October 2008 $ gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: /net/clpt-v490-1/export/data/bldmstr/20081023_ceres_gcc421/src/configure --prefix= --enable-shared --with-system-zlib --enable-checking=release --disable-libmudflap --enable-languages=c,c++ --with-cpu=v9 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --disable-gnattools --with-mpfr=/ws/gccfss/tools --with-gmp=/ws/gccfss/tools --enable-tls Thread model: posix gcc version 4.2.1 (20081023) (gccfss) Solaris make (/usr/ccs/bin/make) Expected result: ---------------- successful make