php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33565 Errors during the make
Submitted: 2005-07-04 17:03 UTC Modified: 2005-07-20 01:00 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: lionel dot roux at bio-rad dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4CVS-2005-07-07 OS: AIX5.2 ML05
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-07-04 17:03 UTC] lionel dot roux at bio-rad dot com
Description:
------------
Hello ,
Hello,
I try to install PHP on a AIX 5.2 ML5  and i have some troubles:

Is the version 4.311 more stable ?


Whith the following configuration:

./configure
		--with-png
		--enable_calendar
		--with-gd
		--with-oracle
		--with-oci8

I have the following "Make errors":
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 233.1: 1506-166 (S) Definition of function Exactly requires parentheses.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 233.9: 1506-276 (S) Syntax error: possible missing '{'?
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 240.3: 1506-273 (E) Missing type in declaration of _double.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 928.17: 1506-275 (S) Unexpected text x encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 930.17: 1506-275 (S) Unexpected text a encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 932.9: 1506-045 (S) Undeclared identifier x.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 940.17: 1506-045 (S) Undeclared identifier a.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 970.17: 1506-275 (S) Unexpected text d encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 988.17: 1506-045 (S) Undeclared identifier d.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1041.17: 1506-275 (S) Unexpected text d encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1046.9: 1506-045 (S) Undeclared identifier d.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1172.17: 1506-275 (S) Unexpected text da encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1172.21: 1506-045 (S) Undeclared identifier db.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1175.9: 1506-045 (S) Undeclared identifier da.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1243.17: 1506-275 (S) Unexpected text rv encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1243.21: 1506-045 (S) Undeclared identifier rv0.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1252.9: 1506-045 (S) Undeclared identifier rv.
make: 1254-004 The error code from the last command is 1.



I have the following "Make install" errors:
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 233.1: 1506-166 (S) Definition of function Exactly requires parentheses.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 233.9: 1506-276 (S) Syntax error: possible missing '{'?
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 240.3: 1506-273 (E) Missing type in declaration of _double.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 928.17: 1506-275 (S) Unexpected text x encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 930.17: 1506-275 (S) Unexpected text a encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 932.9: 1506-045 (S) Undeclared identifier x.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 940.17: 1506-045 (S) Undeclared identifier a.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 970.17: 1506-275 (S) Unexpected text d encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 988.17: 1506-045 (S) Undeclared identifier d.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1041.17: 1506-275 (S) Unexpected text d encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1046.9: 1506-045 (S) Undeclared identifier d.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1172.17: 1506-275 (S) Unexpected text da encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1172.21: 1506-045 (S) Undeclared identifier db.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1175.9: 1506-045 (S) Undeclared identifier da.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1243.17: 1506-275 (S) Unexpected text rv encountered.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1243.21: 1506-045 (S) Undeclared identifier rv0.
"/app/php/php-4.3.10/Zend/zend_strtod.c", line 1252.9: 1506-045 (S) Undeclared identifier rv.
make: 1254-004 The error code from the last command is 1.


Thanks for your help
Lionel Roux
lionel.roux@bio-rad.com


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-07 18:41 UTC] sniper@php.net
Do not add those huge compile error outputs here unless asked for. What compiler are you using? What version? Can you reproduce this on some other machine?


 [2005-07-07 22:26 UTC] lionel dot roux at bio-rad dot com
I use the compiler cc
 [2005-07-07 22:43 UTC] tony2001@php.net
`cc --version` ?

 [2005-07-08 06:43 UTC] lionel dot roux at bio-rad dot com
Hello,
I use the compiler cc 
VisualAge C++ Professional / C for AIX Compiler, Version 6
thanks
Lionel ROux
 [2005-07-08 07:36 UTC] sniper@php.net
Try using GCC and you might have a chance on getting something to work.

 [2005-07-08 10:34 UTC] lionel dot roux at bio-rad dot com
Hello,
   OK but  when I try to build GCC 4.0 I have the following errors:
 cc -c -DIN_GCC -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../../../gcc-3.3.2/gcc/intl -I../../../gcc-3.3.2/gcc  -I../../../gcc-3.3.2/gcc/config -I../../../gcc-3.3.2/gcc/../include  -g   ../../../gcc-3.3.2/gcc/intl/plural.c -o plural.o
1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.
"plural.y", line 264.1: 1506-343 (S) Redeclaration of __gettextlex differs from previous declaration on line 73 of "plural.y".
"plural.y", line 264.1: 1506-381 (I) The type "const unsigned char**" of parameter 2 in the prototype declaration is not compatible with the corresponding parameter type "unsigned char**" in the nonprototype declaration.
cc: 1501-230 Internal compiler error; please contact your Service Representative
make: 1254-004 The error code from the last command is 41.

thanks
Lionel ROux
 [2005-07-08 17:41 UTC] sniper@php.net
Perhaps you should do what it says in the error message?
And that's definately not GCC 4, but 3.3.2. (or your installation is really messed up)

 [2005-07-12 11:22 UTC] lionel dot roux at bio-rad dot com
hello,
after installation of GNU make and GNU gcc 4.0 I have the following error during make install:
if /app/php/php4-STABLE-200507060435/build/shtool mkdir -p /usr/local/lib/php; then \
        make -s install-pear-installer install-pear-packages; \
else \
        cat /app/php/php4-STABLE-200507060435/pear/install-pear.txt; \
        exit 5; \
fi
make[1]: *** No rule to make target `/app/php/php4-STABLE-200507060435/sapi/cli/php', needed by `install-pear-installer'.  Stop.
make: *** [install-pear] Error 2
thanks for you help
Lionel Roux
 [2005-07-12 14:19 UTC] lionel dot roux at bio-rad dot com
Now I was able to complete the install bit now when I try to launch appache I have the following:
Cannot load /usr/local/apache2/modules/libphp4.so into server: rtld: 0712-001 Symbol ologof was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol oclose was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol oerhms was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol ofetch was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol oflng was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol obndra was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol oparse was referenced\n      from module /usr/local/apache2/modules/libphp4.so(), but a runtime definition\n      of the symbol was not found.\n\t0509-021 Additional errors occurred but are not reported.

thanks for you help
Lionel ROux
 [2005-07-12 17:52 UTC] sniper@php.net
Why do you have both --with-oracle and --with-oci8 enabled? Try with only --with-oci8

 [2005-07-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 21:01:33 2024 UTC