Bug #2658 Updated: error while compiling PHP as apache module
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 18:18:35 +0000 |
| Subject: | Bug #2658 Updated: error while compiling PHP as apache module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10778@lists.php.net to get a copy of this message | ||
ID: 2658
Updated by: sander@php.net
Reported By: Ramil.Israfilov@ksu.ru
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: AIX 4.2.1
PHP Version: 3.0.12
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-11-03 11:55:34] Ramil.Israfilov@ksu.ru
Hello All!
I'm trying to install PHP 3.0.12 as Apache module with Russian Apache
1.3.9 PL28.20 and gcc 2.8.1
PHP compiled fine with such options:
/configure --with-apache=../apache_1.3.9rusPL28.20
--with-mod_charset=yes --with-gd=no
--with-oracle=/oracle/app/oracle/product/8.0.4 --with-mysql
--with-msql=/var/db/Hughes --with-system-regex=yes --enable-debug=no
Then I'm trying to configure apache with such options:
./configure --activate-module=src/modules/php3/libphp3.a
As described in FAQ I'm change the 2140 line in src/Configure to:
if ./helpers/TestCompile -v sanity; then
and receive such message
gcc -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DRUSSIAN_APACHE
-DUSE_EXPAT -I./lib/expat-lite
./apaci -lm helpers/dummy.c -o
helpers/dummy -Wl,-rpath,/oracle/app/oracle/product/8.0.4/lib
-Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/var/db/Hughes/lib
-L/oracle/app/oracle/product/8.0.4/lib -L/usr/local/lib/mysql
-lmysqlclient -L/var/db/Hughes/lib -lmsql -Lmodules/php3
-L../modules/php3 -L../../modules/php3 -lmodphp3 -lclntsh -lpsa
-lcore4 -lnlsrtl3 -lclntsh /lib/crt0_r.o -lc_r -lpthreads -lodm -lm
-nostdlib /lib/crt0_r.o /usr/lib/libpthreads.a /usr/lib/libc_r.a -lgcc
-lm -ldl -lnsl
collect2: ld returned 1 exit status
/tmp/ccFm6Mqa1.o(.pr+0x6a):dummy.c: relocation truncated to fit: 0x03
LC..0
make: *** [dummy] Error 1
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
Aborting!
Any comments and suggestions for this bug
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2658&edit=1