#18694 [NEW]: Can not compile PHP 4.2.2 with --with-apxs2
| From: | root at blackdevil dot da dot ru | Date: | Fri, 02 Aug 2002 01:26:53 +0000 |
| Subject: | #18694 [NEW]: Can not compile PHP 4.2.2 with --with-apxs2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15780@lists.php.net to get a copy of this message | ||
From: root@blackdevil.da.ru
Operating system: Debian 2.2 potato
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Can not compile PHP 4.2.2 with --with-apxs2
Hello,
when I try to compile PHP 4.2.2 with Apache 2.0.39 on Debian GNU 2.2.6
potato linux I get following error:
/bin/sh /root/php-4.2.2/libtool --silent --mode=compile gcc -I.
-I/root/php-4.2.2/sapi/apache2filter -I/root/php-4.2.2/main
-I/root/php-4.2.2 -I/usr/local/apache2/include -I/root/php-4.2.2/Zend
-I/root/php-4.2.2/ext/mysql/libmysql -I/root/php-4.2.2/ext/xml/expat
-D_REENTRANT -I/root/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic -c php_functions.c
php_functions.c:93: parse error
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.2/sapi'
make: *** [all-recursive] Error 1
Steps:
1. Configure, make, make install for Apache 2.
2. ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
(works pretty well)
3. make (here compilation does break with error listed).
Do you know what could I do false?
Thanks & regards
--
Edit bug report at http://bugs.php.net/?id=18694&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18694&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18694&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18694&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18694&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18694&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18694&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18694&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18694&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18694&r=globals