Received: (qmail 35064 invoked by uid 501); 11 Oct 2001 10:07:03 -0000 Message-Id: <20011011100703.35063.qmail@apache.org> Date: 11 Oct 2001 10:07:03 -0000 From: Edward Quick Reply-To: edward.t.quick@britishairways.com To: submit@bugz.apache.org Subject: PHP4 make fails X-Send-Pr-Version: 3.110 >Number: 8508 >Category: build >Synopsis: PHP4 make fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Oct 11 03:10:01 PDT 2001 >Closed-Date: Thu Oct 11 07:47:30 PDT 2001 >Last-Modified: Thu Oct 11 07:47:30 PDT 2001 >Originator: edward.t.quick@britishairways.com >Release: httpd-2_0_18-alpha >Organization: >Environment: SunOS y2kfwmod 5.8 Generic_108528-03 sun4m sparc SUNW,SPARCstation-5 Compilers: Both gcc and cc >Description: Unable to build PHP4 module (both static and dynamically). I have tried this with both apache2.0.16-beta, and now I am using apache2.0.18a which itself builds OK (configure --enable-so --prefix=/usr/local/apache2). PHP4 also configures OK: ./configure --with-apxs2=/usr/local/apache2/bin/apxs The problem comes when I run make. (Note I have tried this with both php4.0.6 and the latest CVS): /bin/sh /export/home/u752359/php4-200110100600/libtool --silent --mode=link cc -I. -I/export/home/u752359/php4-200110100600/main -I/export/home/u752359/php4-20011010 0600/main -I/export/home/u752359/php4-200110100600 -I/usr/local/apache2/include -I/ export/home/u752359/php4-200110100600/Zend -I/export/home/u752359/php4-200110100600 /ext/mysql/libmysql -I/export/home/u752359/php4-200110100600/ext/xml/expat -D_POSI X_PTHREAD_SEMANTICS -D_REENTRANT -I/export/home/u752359/php4-200110100600/TSRM -DTH READ=1 -g -mt -DZTS -prefer-pic -o libmain.la main.lo internal_functions.lo snpr intf.lo php_sprintf.lo safe_mode.lo fopen_wrappers.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo ph p_variables.lo php_ticks.lo streams.lo network.lo php_open_temporary_file.lo php_lo gos.lo output.lo make[2]: Leaving directory `/export/home/u752359/php4-200110100600/main' make[1]: Leaving directory `/export/home/u752359/php4-200110100600/main' Making all in ext make[1]: Entering directory `/export/home/u752359/php4-200110100600/ext' Making all in mysql make[2]: Entering directory `/export/home/u752359/php4-200110100600/ext/mysql' Making all in libmysql make[3]: Entering directory `/export/home/u752359/php4-200110100600/ext/mysql/libmy sql' make[4]: Entering directory `/export/home/u752359/php4-200110100600/ext/mysql/libmy sql' /bin/sh /export/home/u752359/php4-200110100600/libtool --silent --mode=compile cc -I. -I/export/home/u752359/php4-200110100600/ext/mysql/libmysql -I/export/home/u752 359/php4-200110100600/main -I/export/home/u752359/php4-200110100600 -I/usr/local/ap ache2/include -I/export/home/u752359/php4-200110100600/Zend -I/export/home/u752359/ php4-200110100600/ext/mysql/libmysql -I/export/home/u752359/php4-200110100600/ext/x ml/expat -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/export/home/u752359/php4-20011 0100600/TSRM -DTHREAD=1 -g -mt -DZTS -prefer-pic -c libmysql.c "./global.h", line 136: missing operand "./global.h", line 253: warning: typedef redeclared: uint "./global.h", line 254: warning: typedef redeclared: ushort "./global.h", line 494: missing operand "./global.h", line 586: warning: typedef redeclared: ulong "./m_string.h", line 205: number expected cc: acomp failed for libmysql.c make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/export/home/u752359/php4-200110100600/ext/mysql/libmys ql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export/home/u752359/php4-200110100600/ext/mysql/libmys ql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/u752359/php4-200110100600/ext/mysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/u752359/php4-200110100600/ext' make: *** [all-recursive] Error 1 $ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Thu Oct 11 07:47:30 PDT 2001 State-Changed-Why: The information you have given doesn't give me any reason to suspect any problem related to Apache here. You need to talk to the PHP folks... as it is php you can't compile. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]