Ok Im getting this error:
In file included from /sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:37:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include/varargs.h:4:2: error: #error "GCC
no longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include/varargs.h:5:2: error: #error
"Revise your code to use <stdarg.h>."
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c: In function
'onig_error_code_to_str':
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:194: error: syntax error
before 'va_dcl'
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:200: error: syntax error
before 'va_list'
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:269: error: syntax error
before 'va_dcl'
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:273: error: redefinition
of parameter 's'
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:192: error: previous
definition of 's' was here
/sources/php-5.1.4/ext/mbstring/oniguruma/regerror.c:275: error: syntax error
before 'va_list'
make: *** [ext/mbstring/oniguruma/regerror.lo] Error 1
Compiled it Like:
sed -i 's/const char \*errpfx,/const DB_ENV *dbenv, & const/' \
ext/dba/dba_db4.c &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-apxs2 \
--enable-force-cgi-redirect \
--enable-discard-path \
--with-config-file-path=/etc \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-dba \
--enable-exif \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--with-ncurses \
--with-mysql \
--with-curl \
--with-readline
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page