ID: 11846
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: NCR WM 4300 unix systema V MP-RA
PHP Version: 4.0.6
New Comment:

no user feedback.

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

[2001-07-03 16:38:43] [EMAIL PROTECTED]

Input from the MySQL team:

The MySQL code does assume that INT_MAX and INT_MIN are defined
somewhere.  We include <limits.h> if it is found, and it should
have those macros defined in it.

It may be a communication problem between the PHP configure and
the MySQL code; if for some reason HAVE_LIMITS_H is not being
defined, then we won't include <limits.h>.  But it looks like
PHP is using HAVE_LIMITS_H in several places itself, so that
shouldn't be the case.  Also, INT_MAX is used in the pcrelib and
oci8 extensions, so I don't think it's strictly a MySQL issue.

It looks like maybe the user's limits.h is defective.  Or maybe
the compiler is not installed correctly, or something.  It would
be up to the user, I think, to track down what happened to
INT_MAX on his system.  I suppose we could add a test for it in
our config stuff, but I really think that's the wrong fix.

Tim

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

Can you take a look at your limits.h file?

Derick

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

[2001-07-03 09:44:42] [EMAIL PROTECTED]

again error in other lines
command compile

$./configure --with-informix=yes --with-apache=/admvos/apache/apache_1.3.19 
--enable-sysvsem --enable-sysvshm --without-mysql
   LAST LINES 
        cc  -I. -I/admvos/sistgczo/php-4.0.6/ext/posix 
-I/admvos/sistgczo/php-4.0.6/main -I/admvos/sistgczo/php-4.0.6 
-I/admvos/apache/apache_1.3.19/src/include -I/admvos/apache/apache_1.3.19/src/os/unix 
-I/admvos/sistgczo/php-4.0.6/Zend -I/usr/informix/incl/esql 
-I/admvos/sistgczo/php-4.0.6/ext/xml/expat/xmltok 
-I/admvos/sistgczo/php-4.0.6/ext/xml/expat/xmlparse -I/admvos/sistgczo/php-4.0.6/TSRM  
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12   -c posix.c && touch posix.lo
NCR High Performance C Compiler R3.0c
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "/admvos/sistgczo/php-4.0.6/Zend/zend_execute.h",L185/C5(#257):       '=' 
encountered where '==' may have been intended.
w "/admvos/sistgczo/php-4.0.6/Zend/zend_execute.h",L198/C4(#257):       '=' 
encountered where '==' may have been intended.
w "/admvos/sistgczo/php-4.0.6/ext/standard/php_string.h",L125/C5(#257): '=' 
encountered where '==' may have been intended.
E "posix.c",L357/C17(#237):     NGROUPS_MAX: Identifier is undeclared.
E "posix.c",L357/C9(#445):      gidlist
|    Type of variable is an array of zero length.
E "posix.c",L361/C21(#237):     NGROUPS_MAX: Identifier is undeclared.
w (#657):       (info) How referenced files were included:
|    File /admvos/sistgczo/php-4.0.6/Zend/zend_execute.h from 
|/admvos/sistgczo/php-4.0.6/Zend/zend_API.h from /admvos/sistgczo/php-4.0.6/main/php.h 
|from posix.c.
|    File /admvos/sistgczo/php-4.0.6/ext/standard/php_string.h from posix.c.
3 user errors   4 warnings
*** Error code 3 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.

THANKS...

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

[2001-07-03 02:53:35] [EMAIL PROTECTED]

For now you can disable the use of MySQL by adding --withot-mysql to your configire 
line.

./configure --with-informix=yes --with-apache=/admvos/apache/apache_1.3.19
--enable-sysvsem --enable-sysvshm --without-mysql

I reported this to the MySQL folks, as

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

[2001-07-02 17:43:58] [EMAIL PROTECTED]

THE VERSION installed version at the moment is 3.0.18 without problem.     
not compile with mysql, use to informix database
the procedure is
1.- 
$ cd apache_1.3.19
$ ./configure          # OK NO ERROR
$ cd ../php4.0.6
$ cd php-4.0.6
$ ./configure --with-informix=yes --with-apache=/admvos/apache/apache_1.3.19 
--enable-sysvsem --enable -sysvshm        # OK NO ERROR
$ make 
Making all in libmysql
        cc  -I. -I/admvos/sistgczo/php-4.0.6/ext/mysql/libmysql 
-I/admvos/sistgczo/php-4.0.6/main -I/admvos/sistgczo/php-4.0.6 
-I/admvos/apache/apache_1.3.19/src/include -I/admvos/apache/apache_1.3.19/src/os/unix 
-I/admvos/sistgczo/php-4.0.6/Zend -I/usr/informix/incl/esql 
-I/admvos/sistgczo/php-4.0.6/ext/mysql/libmysql 
-I/admvos/sistgczo/php-4.0.6/ext/xml/expat/xmltok 
-I/admvos/sistgczo/php-4.0.6/ext/xml/expat/xmlparse -I/admvos/sistgczo/php-4.0.6/TSRM  
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12   -c my_init.c && touch my_init.lo
NCR High Performance C Compiler R3.0c
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
E "my_init.c",L44/C7(#237):     INT_MAX: Identifier is undeclared.
w "my_init.c",L100/C9(#257):    '=' encountered where '==' may have been intended.
1 user error   1 warning
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.
*** Error code 1 (bu21)

make: fatal error.    # THE LAST 25 LINES
$
THE VERSION installed version at the moment is 3.0.18 without problem.     

THANKS  GRACIAS

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

[2001-07-02 15:18:00] [EMAIL PROTECTED]

You get this error during the compilation of the mysql client libraries that are 
bundled with PHP.
Can you compile MySQL without problems? And can you possibly try gcc for the 
compilation of PHP?
What is you configure line?

Derick

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

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/?id=11846


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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to