www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Quick <edward.t.qu...@britishairways.com>
Subject build/8508: PHP4 make fails
Date Thu, 11 Oct 2001 10:07:03 GMT

>Number:         8508
>Category:       build
>Synopsis:       PHP4 make fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Oct 11 03:10:01 PDT 2001
>Originator:     edward.t.quick@britishairways.com
>Release:        httpd-2_0_18-alpha
SunOS y2kfwmod 5.8 Generic_108528-03 sun4m sparc SUNW,SPARCstation-5
Compilers: Both gcc and cc
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

/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
make[4]: Entering directory `/export/home/u752359/php4-200110100600/ext/mysql/libmy
/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
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/u752359/php4-200110100600/ext/mysql/libmys
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


 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message