ID:               21792
 Updated by:       [EMAIL PROTECTED]
 Reported By:      francois dot turi at globecast dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: AIX 4.3.2
 PHP Version:      4CVS-2003-01-20 (stable)
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-02-25 01:47:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

The 'make install' problem and some other errors should
be fixed now in the latest snapshot. Please try it out.


------------------------------------------------------------------------

[2003-02-07 06:07:38] francois dot turi at globecast dot com

Good, :-), php_image.h works fine on my platform.

Next problem I encounter is dl.c and zend_extensions.c
I suggest the following syntax fixes:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
diff dl.c dl.c.orig
141c141
<        handle = (void *)DL_LOAD(libpath); /* FTU */
---
>       handle = DL_LOAD(libpath);

with dl.c is
/* $Id: dl.c,v 1.79.2.3 2003/01/29 15:40:24 edink Exp $ */

$ diff php-4.3.0/Zend/zend*ftu php-4.3.0-latest/Zend/zend_extensions.c
5c5
<    | Copyright (c) 1998-2002 Zend Technologies Ltd.
(http://www.zend.com) |
---
>    | Copyright (c) 1998-2003 Zend Technologies Ltd.
(http://www.zend.com) |
33c33
<       handle = (DL_HANDLE)DL_LOAD(path);      /* FTU */
---
>       handle = DL_LOAD(path);

No version for zend_extensions.c
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Make trace:
        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc 
-Iext/standard/ -I/s00/opendata/build/php-4.3.0-latest/ext/standar
d/
...
 -c /s00/opendata/build/php-4.3.0-latest/ext/standard/dl.c -o
ext/standard/dl.lo 
"/s00/opendata/build/php-4.3.0-latest/TSRM/tsrm_config_common.h", line
25.2: 1506-224 (I) Incorrect #pragma ignored.
"/s00/opendata/build/php-4.3.0-latest/ext/standard/dl.c", line 141.16:
1506-068 (S) Operation between types "void*" and "int" is not
 allowed.
make: The error code from the last command is 1.

/bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc  -IZend/
-I/s00/opendata/build/php-4.3.0-latest/Zend/ -DPHP_ATOM_INC ....
 -c /s00/opendata/build/php-4.3.0-latest/Zend/zend_extensions.c -o
Zend/zend_extensions.lo 
"/s00/opendata/build/php-4.3.0-latest/Zend/zend_extensions.c", line
33.16: 1506-068 (S) Operation between types "void*" and "int" is
 not allowed.
make: The error code from the last command is 1.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Other errors mentioned earlier remains 
See [21 Jan 8:06am] paragraph for suggested fix.
(e.g.):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc
-I/s00/app/apache/product/1.3.22/include -Isapi/apache/ -I/s00/open
data/build/php-4.3.0-latest/sapi/apache/ ....
-c /s00/opendata/build/php-4.3.0-latest/sapi/apache/sapi_apache.c
 -o sapi/apache/sapi_apache.lo 
"/usr/include/dlfcn.h", line 67.9: 1506-213 (S) Macro name RTLD_LAZY
cannot be redefined.
"/usr/include/dlfcn.h", line 67.9: 1506-358 (I) "RTLD_LAZY" is defined
on line 85 of /s00/opendata/build/php-4.3.0-latest/Zend/zend.
h.
"/usr/include/dlfcn.h", line 71.9: 1506-213 (S) Macro name RTLD_GLOBAL
cannot be redefined.
"/usr/include/dlfcn.h", line 71.9: 1506-358 (I) "RTLD_GLOBAL" is
defined on line 89 of /s00/opendata/build/php-4.3.0-latest/Zend/zen
d.h.
"/s00/opendata/build/php-4.3.0-latest/TSRM/../main/php_config.h", line
2494.9: 1506-213 (S) Macro name zend_isnan cannot be redefine
d.
"/s00/opendata/build/php-4.3.0-latest/TSRM/../main/php_config.h", line
2494.9: 1506-358 (I) "zend_isnan" is defined on line 2500 of 
/s00/opendata/build/php-4.3.0-latest/Zend/../main/php_config.h.
"/s00/opendata/build/php-4.3.0-latest/TSRM/tsrm_config_common.h", line
25.2: 1506-224 (I) Incorrect #pragma ignored.
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-213 (S) Macro name zend_isnan cannot be redefined.
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-358 (I) "zend_isnan" is defined on line 2500 of /s00/ope
ndata/build/php-4.3.0-latest/Zend/../main/php_config.h.
make: The error code from the last command is 1.

------------------------------------------------------------------------

[2003-02-06 10:07:54] [EMAIL PROTECTED]

Please get new snapshot, I fixed that php_image.h issue
already, the revision in php_image.h should be 1.19.4.2

The other error has to be investigated..


------------------------------------------------------------------------

[2003-02-06 05:30:37] francois dot turi at globecast dot com

The compilation still fails (using xlc).

I suggest the following fix for php_image.h because xlc is very picky
about comma left at the end of a structure:

diff  php-4.3.0-latest/ext/standard/php_image.h
php-4.3.0-latest/ext/standard/php_image.h.org
20c20
< /* $Id: php_image.h,v 1.19 2002/06/24 19:36:26 helly Exp $ */
---
> /* $Id: php_image.h,v 1.19.4.1 2002/12/31 16:35:33 sebastian Exp $
*/
48c48
<   IMAGE_FILETYPE_IFF
---
>   IMAGE_FILETYPE_IFF,

Sorry I don't have diff -u. Which option is the best ?

$ diff -u php-4.3.0-latest/ext/standard/php_image.h
php-4.3.0-latest/ext/standard/php_image.h.org
diff: illegal option -- u
Usage: diff [-bcitw] [[-C Lines|-D String|-e|-f|-n]|[-h]] File1 File2
       diff [-bcilrstw] [[-C Lines|-e|-f|-n]|[-h]] [-S File] Directory1
Directory2

compile error report:

        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc 
-Iext/standard/ -I/s00/opendata/build/php-4.3.0-latest/ext/standar
d/ -DPHP_ATOM_INC ...
 -c /s00/opendata/build/php-4.3.0-latest/ext/standard/basic_functions.c
latest/ext/standard/php_image.h", line 48.21: 1506-275 (S) Unexpected
text ',' encountered.
"/s00/opendata/build/php-4.3.0-latest/ext/session/php_session.h", line
225.31: 1506-137 (E) Declaration must declare at least one de
clarator, tag, or the members of an enumeration.
make: The error code from the last command is 1.

After this fix applied the other compile error remains:

+--------------------------------------------------------------------+
|                       *** ATTENTION ***                            |
|                                                                    |
| Something is likely to be messed up here, because the configure    |
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages.                         |
|                                                                    |
| If you are unable to fix this, send the file debug.log to the      |
| [EMAIL PROTECTED] mailing list and include appropiate      |
| information about your setup.                                      |
+--------------------------------------------------------------------+

       /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc 
-Iext/standard/ -I/s00/opendata/build/php-4.3.0-latest/ext/standar
d/ -DPHP_ATOM_INC -I/s00/opendata/build/php-4.3.0-latest/include
-I/s00/opendata/build/php-4.3.0-latest/main -I/s00/opendata/build/p
hp-4.3.0-latest -I/s00/opendata/build/php-4.3.0-latest/Zend
-I/s00/app/ldap/product/current/include -I/usr/local/include
-I/s00/app/
mysql/product/current/include/mysql
-I/s00/app/oracle/product/current/rdbms/public
-I/s00/app/oracle/product/current/rdbms/demo -I/s
00/opendata/build/php-4.3.0-latest/ext/xml/expat 
-I/s00/app/apache/product/current/include
-I/s00/app/mhash/product/0.8.16/include 
-I/opt/freeware/include -DAIX=43 -DEAPI -DEAPI_MM
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX
-DUSE_EXPAT -I/
s00/opendata/build/php-4.3.0-latest/TSRM 
-I/s00/app/apache/product/current/include
-I/s00/app/mhash/product/0.8.16/include -I/opt/f
reeware/include  -prefer-pic -c
/s00/opendata/build/php-4.3.0-latest/ext/standard/dl.c -o
ext/standard/dl.lo 
"/s00/opendata/build/php-4.3.0-latest/TSRM/tsrm_config_common.h", line
25.2: 1506-224 (I) Incorrect #pragma ignored.
"/s00/opendata/build/php-4.3.0-latest/ext/standard/dl.c", line 141.16:
1506-068 (S) Operation between types "void*" and "int" is not
 allowed.
make: The error code from the last command is 1.
 (continuing)

        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc 
-IZend/ -I/s00/opendata/build/php-4.3.0-latest/Zend/ ....
-c /s00/opendata/build/php-4.3.0-latest/Zend/zend_extensions.c -o
Zend/zend_extensions.lo 
"/s00/opendata/build/php-4.3.0-latest/Zend/zend_extensions.c", line
33.16: 1506-068 (S) Operation between types "void*" and "int" is
 not allowed.
make: The error code from the last command is 1.
 (continuing)

        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc
-I/s00/app/apache/product/1.3.22/include -Isapi/apache/ -I/s00/open
data/build/php-4.3.0-latest/sapi/apache/ .....
-c /s00/opendata/build/php-4.3.0-latest/sapi/apache/sapi_apache.c
 -o sapi/apache/sapi_apache.lo 
"/usr/include/dlfcn.h", line 67.9: 1506-213 (S) Macro name RTLD_LAZY
cannot be redefined.
"/usr/include/dlfcn.h", line 67.9: 1506-358 (I) "RTLD_LAZY" is defined
on line 85 of /s00/opendata/build/php-4.3.0-latest/Zend/zend.
h.
"/usr/include/dlfcn.h", line 71.9: 1506-213 (S) Macro name RTLD_GLOBAL
cannot be redefined.
"/usr/include/dlfcn.h", line 71.9: 1506-358 (I) "RTLD_GLOBAL" is
defined on line 89 of /s00/opendata/build/php-4.3.0-latest/Zend/zen
d.h.
"/s00/opendata/build/php-4.3.0-latest/TSRM/../main/php_config.h", line
2494.9: 1506-213 (S) Macro name zend_isnan cannot be redefine
d.
"/s00/opendata/build/php-4.3.0-latest/TSRM/../main/php_config.h", line
2494.9: 1506-358 (I) "zend_isnan" is defined on line 2500 of 
/s00/opendata/build/php-4.3.0-latest/Zend/../main/php_config.h.
"/s00/opendata/build/php-4.3.0-latest/TSRM/tsrm_config_common.h", line
25.2: 1506-224 (I) Incorrect #pragma ignored.
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-213 (S) Macro name zend_isnan cannot be redefined.
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-358 (I) "zend_isnan" is defined on line 2500 of /s00/ope
ndata/build/php-4.3.0-latest/Zend/../main/php_config.h.
make: The error code from the last command is 1.
 (continuing)
 
        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc
-I/s00/app/apache/product/1.3.22/include -Isapi/apache/ -I/s00/open
data/build/php-4.3.0-latest/sapi/apache/ ....
-c /s00/opendata/build/php-4.3.0-latest/sapi/apache/mod_php4.c -o
 sapi/apache/mod_php4.lo 
"/usr/include/dlfcn.h", line 67.9: 1506-213 (S) Macro name RTLD_LAZY
cannot be redefined.
....
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-358 (I) "zend_isnan" is defined on line 2500 of /s00/ope
ndata/build/php-4.3.0-latest/Zend/../main/php_config.h.
make: The error code from the last command is 1.
 (continuing)
 
        /bin/sh libtool --silent --mode=compile /usr/vac/bin/xlc
-I/s00/app/apache/product/1.3.22/include -Isapi/apache/ -I/s00/open
data/build/php-4.3.0-latest/sapi/apache/ ....
-c /s00/opendata/build/php-4.3.0-latest/sapi/apache/php_apache.c 
-o sapi/apache/php_apache.lo 
"/usr/include/dlfcn.h", line 67.9: 1506-213 (S) Macro name RTLD_LAZY
cannot be redefined.
"/usr/include/dlfcn.h", line 67.9: 1506-358 (I) "RTLD_LAZY" is defined
on line 85 of /s00/opendata/build/php-4.3.0-latest/Zend/zend.
h.
....
"/s00/opendata/build/php-4.3.0-latest/main/php_config.h", line 2494.9:
1506-358 (I) "zend_isnan" is defined on line 2500 of /s00/ope
ndata/build/php-4.3.0-latest/Zend/../main/php_config.h.
make: The error code from the last command is 1.
 (continuing)

------------------------------------------------------------------------

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
    http://bugs.php.net/21792

-- 
Edit this bug report at http://bugs.php.net/?id=21792&edit=1

Reply via email to