#27791 [Com]: PHP5 + Apache2 + Mandrake 10/RC1 Fails w/o -D_LARGEFILE64_SOURCE

2004-05-13 Thread axel at pearbough dot net
 ID:   27791
 Comment by:   axel at pearbough dot net
 Reported By:  manish_dharwadker at yahoo dot com
 Status:   Open
 Bug Type: Apache2 related
 Operating System: linux (64b)
 PHP Version:  5CVS, 4CVS (2004-04-07)
 New Comment:

I have experienced the same.
Apache 2.1 CVS from yesterday.
PHP5 CVS from today.

CFLAGS='-O3 -march=pentium' \
CXXFLAGS='-O3 -march=pentium' \
'./configure' \
'--disable-cgi' \
'--enable-force-cgi-redirect' \
'--enable-safe-mode' \
'--enable-magic-quotes' \
'--enable-libgcc' \
'--enable-exif' \
'--enable-calendar' \
'--enable-gd-native-ttf' \
'--enable-ftp' \
'--enable-sysvmsg' \
'--enable-sysvshm' \
'--enable-sysvsem' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-openssl' \
'--with-curl' \
'--with-db4' \
'--with-mysql=/usr' \
'--with-mysql-sock=/tmp/mysql.sock' \
'--with-gettext'

/bin/sh /usr/local/src/db/php-src/libtool --silent --preserve-dup-deps
--mode=compile /usr/local/src/db/php-src/meta_ccld 
-I/usr/local/apache2/include  -I/usr/local/apache2/include  
-I/usr/local/apache2/include  -Isapi/apache2handler/
-I/usr/local/src/db/php-src/sapi/apache2handler/ -DPHP_ATOM_INC
-I/usr/local/src/db/php-src/include -I/usr/local/src/db/php-src/main
-I/usr/local/src/db/php-src -I/usr/local/src/db/php-src/Zend
-I/usr/include/libxml2 -I/usr/include/mysql  -D_REENTRANT
-I/usr/local/src/db/php-src/TSRM  -O3 -march=pentium -pthread -DZTS 
-prefer-pic -c /usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c
-o sapi/apache2handler/mod_php5.lo
In file included from /usr/local/apache2/include/ap_config.h:19,
 from /usr/local/apache2/include/httpd.h:29,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr.h:262: error: parse error before
"apr_off_t"
/usr/local/apache2/include/apr.h:262: warning: data definition has no
type or storage class
In file included from /usr/local/apache2/include/apr_file_io.h:28,
 from /usr/local/apache2/include/apr_network_io.h:25,
 from /usr/local/apache2/include/httpd.h:38,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr_file_info.h:187: error: parse error
before "apr_off_t"
/usr/local/apache2/include/apr_file_info.h:187: warning: no semicolon
at end of struct or union
/usr/local/apache2/include/apr_file_info.h:189: warning: data
definition has no type or storage class
/usr/local/apache2/include/apr_file_info.h:195: error: 'ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of 'ctime' was
here
/usr/local/apache2/include/apr_file_info.h:195: error: 'ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of 'ctime' was
here
/usr/local/apache2/include/apr_file_info.h:202: error: parse error
before '}' token
In file included from /usr/local/apache2/include/apr_network_io.h:25,
 from /usr/local/apache2/include/httpd.h:38,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr_file_io.h:503: error: parse error before
"apr_off_t"
/usr/local/apache2/include/apr_file_io.h:692: error: parse error before
"apr_off_t"
In file included from /usr/local/apache2/include/httpd.h:38,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr_network_io.h:535: error: parse error
before "apr_off_t"
In file included from /usr/local/apache2/include/apr_buckets.h:31,
 from /usr/local/apache2/include/httpd.h:39,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr_mmap.h:133: error: parse error before
"apr_off_t"
/usr/local/apache2/include/apr_mmap.h:160: error: parse error before
"apr_off_t"
In file included from /usr/local/apache2/include/httpd.h:39,
 from
/usr/local/src/db/php-src/sapi/apache2handler/php_apache.h:24,
 from
/usr/local/src/db/php-src/sapi/apache2handler/mod_php5.c:26:
/usr/local/apache2/include/apr_buckets.h:241: error: parse error before
"apr_off_t"
/usr/local/

#25681 [NEW]: configure fails detecting libxml2

2003-09-28 Thread axel at pearbough dot net
From: axel at pearbough dot net
Operating system: Linux / Slackware 9.1-beta
PHP version:  5CVS-2003-09-28 (dev)
PHP Bug Type: XML related
Bug description:  configure fails detecting libxml2

Description:

The configure scripts fails with detecting very recent libxml2 (cvs)
because it contains a string:

/usr/local/gnome2/bin/xml2-config --version
2.6.0beta2

checking libxml2 install dir... /usr/local/gnome2
expr: non-numeric argument
./configure: line 35835: test: : integer expression expected
configure: error: libxml2 version 2.5.10 or greater required.


-- 
Edit bug report at http://bugs.php.net/?id=25681&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25681&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25681&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=25681&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=25681&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25681&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=25681&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=25681&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=25681&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=25681&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=25681&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=25681&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25681&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=25681&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=25681&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=25681&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25681&r=float