[PHP-DEV] Re: RC2 (Build failure)

2001-09-06 Thread Yasuo Ohgaki

Zeev Suraski wrote:

 www.php.net/~zeev/php-4.0.7RC2.tar.gz
 
 There are still some CGI build problems reported, but because lots of 
 time passed since RC1, I think it's time for RC2.
 
 Zeev
 


Looks like cp1252 related definitions are missing. It's added recently 
and definitions are in CVS version.

make[3]: Entering directory 
`/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/mbstring'
/bin/sh /home/yohgaki/work/php4-rc/php-4.0.7RC2/libtool --mode=compile 
gcc  -I. -I/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/mbstring 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/main 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2 -I/usr/include/apache 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/Zend -I/usr/local/include 
-I/usr/local/include/freetype2/freetype 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/xml/expat  -DLINUX=22 
-DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/TSRM -g -Wall -prefer-pic  -c 
mbfilter.cgcc -I. -I/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/mbstring 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/main 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2 -I/usr/include/apache 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/Zend -I/usr/local/include 
-I/usr/local/include/freetype2/freetype 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/xml/expat -DLINUX=22 
-DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT 
-I/home/yohgaki/work/php4-rc/php-4.0.7RC2/TSRM -g -Wall -c mbfilter.c 
-fPIC -DPIC -o mbfilter.lo
mbfilter.c:565: `mbfl_no_encoding_cp1252' undeclared here (not in a 
function)
mbfilter.c:565: initializer element is not constant
mbfilter.c:565: (near initialization for `mbfl_encoding_cp1252.no_encoding')
mbfilter.c:1343: `mbfl_no_encoding_cp1252' undeclared here (not in a 
function)
mbfilter.c:1343: initializer element is not constant
mbfilter.c:1343: (near initialization for `vtbl_cp1252_wchar.from')
mbfilter.c:1351: `mbfl_no_encoding_cp1252' undeclared here (not in a 
function)
mbfilter.c:1351: initializer element is not constant
mbfilter.c:1351: (near initialization for `vtbl_wchar_cp1252.from')
mbfilter.c:1717: `mbfl_no_encoding_cp1252' undeclared here (not in a 
function)
mbfilter.c:1717: initializer element is not constant
mbfilter.c:1717: (near initialization for `vtbl_identify_cp1252.encoding')
make[3]: *** [mbfilter.lo] Error 1
make[3]: Leaving directory 
`/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/mbstring'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext/mbstring'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yohgaki/work/php4-rc/php-4.0.7RC2/ext'
make: *** [all-recursive] Error 1
[yohgaki@dev php-4.0.7RC2]$


./configure \
--enable-debug \
--with-apxs \
--disable-short-tags \
--without-mysql \
--enable-bcmath  \
--enable-ftp \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-memory-limit \
--enable-wddx \
--with-bz2 \
--with-curl \
--with-ftp \
--with-iconv \
--with-mhash \
--with-mcrypt \
--with-openssl \
--with-pgsql \
--with-regex=system \
--with-zlib \
--with-gd=../gd-2.0.1 \
   --enable-gd-native-ttf \
   --with-freetype-dir=/usr/local \
   --with-jpeg-dir=/usr \
   --with-png-dir=/usr \
   --with-xpm-dir=/usr/X11R6





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: RC2 (Build failure)

2001-09-06 Thread Yasuo Ohgaki

Yasuo Ohgaki wrote:

 Looks like cp1252 related definitions are missing. It's added recently 
 and definitions are in CVS version.


I copied mbfilter.h from HEAD branch, it works.

Yasuo Ohgaki



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]