Ask a Question related to PHP Bugs, Design and Development.
-
sheezes at gmail dot com #1
#40638 [NEW]: Error when compiling - APXS related
From: sheezes at gmail dot com
Operating system: AIX 5.2
PHP version: 5.2.1
PHP Bug Type: Apache related
Bug description: Error when compiling - APXS related
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error that
my apache version is 1.3 and I sould use --with-apxs. I did it and the
configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: "WORDS_BIGENDIAN"
redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from /home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each undeclared
identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
--
Edit bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40638&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40638&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40638&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40638&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40638&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40638&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40638&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40638&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40638&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40638&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40638&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40638&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40638&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40638&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40638&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40638&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40638&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40638&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40638&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40638&r=mysqlcfg[/url]
sheezes at gmail dot com Guest
-
#39697 [NEW]: apxs:Error: Command failed with rc=65536
From: michael dot v dot kells at uscg dot mil Operating system: Centos PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug... -
#26319 [Opn->Csd]: apxs:Error: Command failed with rc=65536
ID: 26319 User updated by: hylke at herbaldistribution dot com Reported By: hylke at herbaldistribution dot com -Status: ... -
#26319 [Fbk->Opn]: apxs:Error: Command failed with rc=65536
ID: 26319 User updated by: hylke at herbaldistribution dot com Reported By: hylke at herbaldistribution dot com -Status: ... -
#25339 [Opn->Bgs]: apxs:Error: Command failed with rc=65536
ID: 25339 Updated by: sniper@php.net Reported By: chris dot forker at clarologic dot com -Status: Open... -
#25339 [Fbk->Opn]: apxs:Error: Command failed with rc=65536
ID: 25339 User updated by: chris dot forker at clarologic dot com Reported By: chris dot forker at clarologic dot com -Status:... -
tony2001@php.net #2
#40638 [Opn->Fbk]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 12:50:40] sheezes at gmail dot com
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error
that my apache version is 1.3 and I sould use --with-apxs. I did it and
the configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from
/home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each
undeclared identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest
-
sheezes at gmail dot com #3
#40638 [Fbk->Opn]: Error when compiling - APXS related
ID: 40638
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 12:57:05] [email]tony2001@php.net[/email]
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
------------------------------------------------------------------------
[2007-02-26 12:50:40] sheezes at gmail dot com
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error
that my apache version is 1.3 and I sould use --with-apxs. I did it and
the configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from
/home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each
undeclared identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
sheezes at gmail dot com Guest
-
tony2001@php.net #4
#40638 [Opn->Fbk]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
Which apxs did you use in your configure line?
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 13:04:38] sheezes at gmail dot com
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
------------------------------------------------------------------------
[2007-02-26 12:57:05] [email]tony2001@php.net[/email]
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
------------------------------------------------------------------------
[2007-02-26 12:50:40] sheezes at gmail dot com
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error
that my apache version is 1.3 and I sould use --with-apxs. I did it and
the configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from
/home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each
undeclared identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest
-
sheezes at gmail dot com #5
#40638 [Fbk->Opn]: Error when compiling - APXS related
ID: 40638
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 13:22:07] [email]tony2001@php.net[/email]
Which apxs did you use in your configure line?
------------------------------------------------------------------------
[2007-02-26 13:04:38] sheezes at gmail dot com
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
------------------------------------------------------------------------
[2007-02-26 12:57:05] [email]tony2001@php.net[/email]
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
------------------------------------------------------------------------
[2007-02-26 12:50:40] sheezes at gmail dot com
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error
that my apache version is 1.3 and I sould use --with-apxs. I did it and
the configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from
/home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each
undeclared identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
sheezes at gmail dot com Guest
-
tony2001@php.net #6
#40638 [Opn->Fbk]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
[2007-02-26 13:22:07] [email]tony2001@php.net[/email]
Which apxs did you use in your configure line?
------------------------------------------------------------------------
[2007-02-26 13:04:38] sheezes at gmail dot com
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
------------------------------------------------------------------------
[2007-02-26 12:57:05] [email]tony2001@php.net[/email]
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
------------------------------------------------------------------------
[2007-02-26 12:50:40] sheezes at gmail dot com
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error
that my apache version is 1.3 and I sould use --with-apxs. I did it and
the configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from
/home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each
undeclared identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest
-
sheezes at gmail dot com #7
#40638 [Fbk->Opn]: Error when compiling - APXS related
ID: 40638
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 13:45:33] [email]tony2001@php.net[/email]
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
[2007-02-26 13:22:07] [email]tony2001@php.net[/email]
Which apxs did you use in your configure line?
------------------------------------------------------------------------
[2007-02-26 13:04:38] sheezes at gmail dot com
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
------------------------------------------------------------------------
[2007-02-26 12:57:05] [email]tony2001@php.net[/email]
What is the output of `httpd -v` (or perhaps `/usr/IBMIHS_MON/bin/httpd
-v`)?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
sheezes at gmail dot com Guest
-
tony2001@php.net #8
#40638 [Opn->Fbk]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
Ahha.
So here we got the actual source of the problem:
`/usr/IBMIHS_MON/bin/httpd -v` produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:45:33] [email]tony2001@php.net[/email]
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
[2007-02-26 13:22:07] [email]tony2001@php.net[/email]
Which apxs did you use in your configure line?
------------------------------------------------------------------------
[2007-02-26 13:04:38] sheezes at gmail dot com
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: Oct 10 2003 11:45:45
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest
-
sheezes at gmail dot com #9
#40638 [Fbk->Opn]: Error when compiling - APXS related
ID: 40638
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
hmmm, I checked my apache lib directory (/usr/IBMIHS_MON/libs) and the
file is there. Any idea maybe why it can't seem to find it?
btw, thanks for your help so far!
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 14:05:28] [email]tony2001@php.net[/email]
Ahha.
So here we got the actual source of the problem:
`/usr/IBMIHS_MON/bin/httpd -v` produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:45:33] [email]tony2001@php.net[/email]
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
[2007-02-26 13:22:07] [email]tony2001@php.net[/email]
Which apxs did you use in your configure line?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
sheezes at gmail dot com Guest
-
tony2001@php.net #10
#40638 [Opn->Fbk]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
/usr/IBMIHS_MON/libs ?
or /usr/IBMIHS_MON/lib?
Anyway, it would look there only if the binary was compiled
appropriately.
If it was not, you have to use LIBPATH (or tweak dynamic linker paths
in an other way).
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 14:09:36] sheezes at gmail dot com
hmmm, I checked my apache lib directory (/usr/IBMIHS_MON/libs) and the
file is there. Any idea maybe why it can't seem to find it?
btw, thanks for your help so far!
------------------------------------------------------------------------
[2007-02-26 14:05:28] [email]tony2001@php.net[/email]
Ahha.
So here we got the actual source of the problem:
`/usr/IBMIHS_MON/bin/httpd -v` produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:45:33] [email]tony2001@php.net[/email]
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest
-
sheezes at gmail dot com #11
#40638 [Fbk->Opn]: Error when compiling - APXS related
ID: 40638
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
my bad, it's /usr/IBMIHS_MON/lib and not libs.
libpath is an apache configurion var? I tried googleing it and find
nothing about it.
btw, it's my first time i compile on aix :\
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 14:14:00] [email]tony2001@php.net[/email]
/usr/IBMIHS_MON/libs ?
or /usr/IBMIHS_MON/lib?
Anyway, it would look there only if the binary was compiled
appropriately.
If it was not, you have to use LIBPATH (or tweak dynamic linker paths
in an other way).
------------------------------------------------------------------------
[2007-02-26 14:09:36] sheezes at gmail dot com
hmmm, I checked my apache lib directory (/usr/IBMIHS_MON/libs) and the
file is there. Any idea maybe why it can't seem to find it?
btw, thanks for your help so far!
------------------------------------------------------------------------
[2007-02-26 14:05:28] [email]tony2001@php.net[/email]
Ahha.
So here we got the actual source of the problem:
`/usr/IBMIHS_MON/bin/httpd -v` produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:45:33] [email]tony2001@php.net[/email]
What do you see with?
echo `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
`/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
sheezes at gmail dot com Guest
-
tony2001@php.net #12
#40638 [Opn->Bgs]: Error when compiling - APXS related
ID: 40638
Updated by: [email]tony2001@php.net[/email]
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
No, it's AIX env variable, similar to LD_LIBRARY_PATH on Linux.>libpath is an apache configurion var?
Looks for "AIX LIBPATH".>I tried googleing it and find nothing about it.
Not PHP problem -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 14:51:59] sheezes at gmail dot com
my bad, it's /usr/IBMIHS_MON/lib and not libs.
libpath is an apache configurion var? I tried googleing it and find
nothing about it.
btw, it's my first time i compile on aix :\
------------------------------------------------------------------------
[2007-02-26 14:14:00] [email]tony2001@php.net[/email]
/usr/IBMIHS_MON/libs ?
or /usr/IBMIHS_MON/lib?
Anyway, it would look there only if the binary was compiled
appropriately.
If it was not, you have to use LIBPATH (or tweak dynamic linker paths
in an other way).
------------------------------------------------------------------------
[2007-02-26 14:09:36] sheezes at gmail dot com
hmmm, I checked my apache lib directory (/usr/IBMIHS_MON/libs) and the
file is there. Any idea maybe why it can't seem to find it?
btw, thanks for your help so far!
------------------------------------------------------------------------
[2007-02-26 14:05:28] [email]tony2001@php.net[/email]
Ahha.
So here we got the actual source of the problem:
`/usr/IBMIHS_MON/bin/httpd -v` produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > `/usr/IBMIHS_MON/bin/apxs -q SBINDIR`/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40638[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40638&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

