Re: Compile-Problem with RedHat 7.3 (Kernel 2.4.18-4)

From: Date: Wed, 19 Jun 2002 12:45:25 +0000
Subject: Re: Compile-Problem with RedHat 7.3 (Kernel 2.4.18-4)
Groups: php.install 
Request: Send a blank email to php-install+get-7383@lists.php.net to get a copy of this message
here you are: # make Making all in Zend make[1]: Entering directory `/root/install/done/php-4.2.1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -I../TSRM -g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from zend.h:35, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/gconv.h:172: warning: no semicolon at end of struct or union /usr/include/gconv.h:172: parse error before `__flexarr' /usr/include/gconv.h:173: warning: data definition has no type or storage class In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:65, from zend.h:35, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/root/install/done/php-4.2.1/Zend' make: *** [all-recursive] Error 1 MfG Michael Metz C&A HV, Orga Tel.: +49 (211) 166 2121 Fax.: +49 (211) 166 2152 php user <php@hopevale.com> 19.06.2002 14:42 To: Michael Metz <d00c26@Retail-SC.com> cc: Subject: Re: [PHP-INST] Compile-Problem with RedHat 7.3 (Kernel 2.4.18-4) Do you get an all-recursive Error 1 with your make? Quoting Michael Metz <d00c26@Retail-SC.com>: > Hi, > > I hope that you can help me - If I complie PHP 4.2.1 with no args > (simple > ./configure) I get the following warning: > +--------------------------------------------------------------------+ > | *** WARNING *** | > | | > | You chose to compile PHP with the built-in MySQL support. If you | > | are compiling a server module, and intend to use other server | > | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | > | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | > | instead build it with your local MySQL support files, by adding | > | --with-mysql=/path/to/mysql to your configure line. | > +--------------------------------------------------------------------+ > > My debug.log contains: > CO NFIGURE: './configure' > CC: gcc > CFLAGS: -g -O2 > CPPFLAGS: > CXX: > CXXFLAGS: > INCLUDES: -I$(top_builddir)/Zend > -I/root/install/done/php-4.2.1/ext/mysql/l > ibmysql > LDFLAGS: > LIBS: -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt > DLIBS: > SAPI: cgi > PHP_RPATHS: > uname -a: Linux de690s19 2.4.18-4smp #1 SMP Thu May 2 18:32:34 EDT > 2002 > i686 unknown > > gcc -o conftest -g -O2 conftest.c -lcrypt -lresolv -lm -ldl -lnsl > -lresolv -lcrypt 1>&5 > > I think that there is something with my recently Kernel Update (via RHN) > > from 2.4.18-1 to 2.4.18-4 but I don't know. A week ago there was no > problem with compiling. > > MfG > Michael Metz > C&A HV, Orga > Tel.: +49 (211) 166 2121 > Fax.: +49 (211) 166 2152

« previous php.install (#7383) next »