4.0.5RC1

From: Date: Wed, 14 Mar 2001 10:42:59 +0000
Subject: 4.0.5RC1
Groups: php.qa 
Request: Send a blank email to php-qa+get-2525@lists.php.net to get a copy of this message
Hi guys, there is still a problem with configuring Ming support. Here is a diff -u of changes needed to be done in configure : --- a Wed Mar 14 11:19:57 2001 +++ b Wed Mar 14 11:19:57 2001 @@ -1,6 +1,6 @@ if test "$PHP_MING" != "no"; then - for i in /usr/lib /usr/local /usr $PHP_MING; do
-    if test -r $i/libming.so; then
+ for i in /usr/local /usr $PHP_MING; do
+    if test -r $i/lib/libming.so; then
       MING_DIR=$i
     fi
done Ming fails to compile : make[3]: Entering directory `/usr/local/src/php-4.0.5RC1/ext/ming' /bin/sh /usr/local/src/php-4.0.5RC1/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.0.5RC1/ext/ming -I/usr/local/src/php-4.0.5RC1/main -I/usr/local/src/php-4.0.5RC1 -I/usr/local/apache/include -I/usr/local/src/php-4.0.5RC1/Zend -I/usr/include/freetype -I/usr/local -I/usr/include/mysql -I/usr/local/include -I/usr/local/src/php-4.0.5RC1/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.5RC1/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.5RC1/TSRM -DLINUX=22 -DMOD_SSL=208100 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c ming.c && touch ming.slo ming.c: In function `php_minit_ming': ming.c:2958: `SWFTEXTFIELD_HTML' undeclared (first use in this function) ming.c:2958: (Each undeclared identifier is reported only once ming.c:2958: for each function it appears in.) make[3]: *** [ming.slo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.0.5RC1/ext/ming' Probably I should reinstall it and make more tests. * System : Debian SID, Linux 2.2.18pre21 i686 /configure --with-mcrypt --with-zlib --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr --enable-sockets --enable-ftp --enable-bcmath --with-db2 --with-mm --enable-memory-limit --with-config-file-path=/etc/apache/php.ini --enable-sysvshm --enable-sysvmem --disable-pear --with-ldap --with-mhash --with-sablot --with-dom --disable-pear --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-png-dir=/usr --with-pdflib=/usr/local --with-gd --enable-gd-native-ttf --with-curl --enable-trans-sid --enable-calendar --with-mcal=/usr --with-openssl Build OK. Apache gracefully accepts the module. Same config as CGI --enable-discard-path --enable-force-cgi-redirect produce the following test errors : Note that --disable-pear (shouldn't the PEAR tests be skipped ?)
File type functions (001.phpt)                                       ... failed
DB_Error/DB_Warning test (db_error.phpt)                             ... failed
DB configurable error handler test (db_error2.phpt)                  ... failed
DB::factory test (db_factory.phpt)                                   ... failed
DB::parseDSN test (db_parsedsn.phpt)                                 ... failed
DB_mysql fetch test (002.phpt)                                       ... failed
DB_mysql sequences (005.phpt)                                        ... failed
DB_mysql::prepare/execute test (006.phpt)                            ... failed
DB_mysql::affectedRows test (008.phpt)                               ... failed
DB_mysql::numRows test (009.phpt)                                    ... failed
DB_mysql error mapping (010.phpt)                                    ... failed
XML Parser: parse from file (002.phpt)                               ... failed
XML Parser: parse from file resource (003.phpt)                      ... failed
XML Parser: mixing character encodings (005.phpt)                    ... failed
PEAR_Error test (pear_error.phpt)                                    ... failed
PEAR default error handling (pear_error3.phpt)                       ... failed
OO Bug Test (Bug #7515) (029.phpt)                                   ... failed
Tests failed:       17 ( 15%)
hellekin

« previous php.qa (#2525) next »