I'm trying to deal with the recent security advisory...   but I cant get
4.1.2 to compile on my system

I'm getting :

gcc -I. -I/home/webmaster/new_build/php-4.1.2/ext/standard -I/home/webmaster
/new_build/php-4.1.2/main -I/home/webmaster/new_build/ph
p-4.1.2 -I/home/webmaster/new_build/apache_1.3.23/src/include -I/home/webmas
ter/new_build/apache_1.3.23/src/os/unix -I/home/webmaste
r/new_build/php-4.1.2/Zend -I/home/webmaster/new_build/gd-1.8.4 -I/usr/local
/include -I/home/webmaster/new_build/php-4.1.2/ext/mysql
/libmysql -I/home/webmaster/new_build/php-4.1.2/ext/xml/expat  -I/home/webma
ster/new_build/php-4.1.2/TSRM -O2 -fomit-frame-pointer -
ffast-math -fexpensive-optimizations  -c filestat.c && touch filestat.lo
In file included from /usr/include/sys/statfs.h:26,
                 from filestat.c:49:
/usr/include/statfsbuf.h:25: redefinition of `struct statfs'
make[3]: *** [filestat.lo] Error 1
make[3]: Leaving directory
`/home/webmaster/new_build/php-4.1.2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/webmaster/new_build/php-4.1.2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/webmaster/new_build/php-4.1.2/ext'
make: *** [all-recursive] Error 1
[root@apollo /home/webmaster/new_build/php-4.1.2]#

However, 4.0.6 compiles fine....

Configure line (same between the 4.0.6 and the 4.1.2 attempts) is:

CFLAGS="-O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations" \
EAPI_MM=../mm-1.1.3 \
./configure \
    --with-apache=../apache_1.3.23 \
    --with-gd=../gd-1.8.4/ \
    --with-mysql \
    --with-gdbm \
    --with-mhash \
    --with-config-file-path=/etc \
    --with-calendar=shared \
    --enable-safe-mode \
    --enable-magic-quotes \
    --enable-trans-sid \
    --enable-apc \
    --enable-ftp \
    --enable-debug=no \
    --enable-memory-limit=yes \
    --enable-xml \
    --enable-track-vars

#exit

System is Redhat 5.something - patched all to hell....

Any help/direction appreciated...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to