RC2 reports on various platforms
| From: | Olivier Cahagne | Date: | Sat, 24 Mar 2001 02:02:47 +0000 |
| Subject: | RC2 reports on various platforms | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-2637@lists.php.net to get a copy of this message | ||
Hi,
I tested PHP 4.0.5RC2 downloaded from
http://www.php.net/distributions/php-4.0.5RC2.tar.gz
Overall, it works fine in real world on 1 platform, other platforms are just
'build only' but there're many minor build bugs I didn't have before.
Perhaps a RC3 would be needed, can someone tell us what to test very
specifically ? I know DSO should be tested on OpenBSD, IMAP functions,
ISAPI, sockets, what else ? Why 'make tests' does not work anymore ?
* Platform #1: builds nearly ok, runs fine on a real server.
NetBSD 1.3.3 i386
gcc 2.7.2.2
default make
./configure --with-config-file-path=/space/www/etc/httpd/conf/php_cgi \
--enable-discard-path \
--with-gd=/u/guest/www/mbin/i386-NetBSD \
--with-mysql \
--enable-bcmath \
--with-dbase \
--with-zlib=/u/guest/www/mbin/i386-NetBSD \
--with-mcrypt=/u/guest/www/mbin/i386-NetBSD \
--enable-yp \
--with-mhash=/u/guest/www/mbin/i386-NetBSD \
--enable-ftp \
--enable-trans-sid \
--enable-sockets \
--enable-track-vars \
--enable-inline-optimization \
--with-jpeg-dir=/u/guest/www/mbin/i386-NetBSD \
--with-imap=/u/guest/www/mbin/i386-NetBSD/lib
Warnings: 1 new, the 2nd is usual.
php_ini.c: In function `php_init_config':
php_ini.c:188: warning: passing arg 3 of `zend_llist_init' from incompatible
pointer type
sockets.c:1732: warning: assignment from incompatible pointer type
sockets.c:1738: warning: assignment from incompatible pointer type
sockets.c:1791: warning: assignment from incompatible pointer type
sockets.c:1797: warning: assignment from incompatible pointer type
sockets.c: In function `php_if_sendmsg':
sockets.c:1871: warning: assignment from incompatible pointer type
sockets.c:1895: warning: assignment from incompatible pointer type
* Platform #2: minor warning, builds fine. Didn't stress it though.
Linux Mandrake 7.2 i386
gcc 2.95.3
make 3.79.1
./configure
Warnings: several times
libmysql.c
in file included from mysql.h:55,
from libmysql.c:14:
mysql_version.h:15: warning: 'MYSQL_UNIX_ADDR' redefined
/home/cahagn_o/fichiers/php-4.0.5RC2/main/php_config.h:1381: warning: this
is the location of the previous definition
(NB: I must say I didn't know this platform well, just wanted to test, it
might be another MySQL server/headers installed)
* Platform #3: minor warnings (new), runs fine.
RedHat 6.2 i386
egcs 2.91.66
make 3.78.1
./configure
Warning: every time gcc is called
gcc: unrecognized option `-std1'
* Platform #4: no warnings. runs fine in command line.
OpenBSD 2.6 i386
gcc 2.95.1
default make
./configure
NB: For Anil, sorry, I don't have time to test your port, nor the DSO
feature. :/
* Platform #5: minor (new) warning, runs fine in command line.
NetBSD 1.4.2 i386
egcs 1.1.1
default make
./configure --enable-sockets --with-dbase --enable-yp --enable-ftp --enable-
inline-optimization
Warnings: 1 new, the second is usual on NetBSD (hardcoded for NetBSD
machines)
php_ini.c: In function `php_init_config':
php_ini.c:188: warning: passing arg 3 of `zend_llist_init' from incompatible
pointer type
dbug.c:325: warning: deprecated symbol "unix" is no longer predefined
* Platform #6: 1 (new) warning build, works fine in command line.
Digital Unix 4.0 878 alpha
gcc 2.7.2.3
default make
./configure
Warnings: 2 new, the other is 64-bit specific (I remember the same build
warning on intel ia-64), works fine in command line.
php_ini.c: In function `php_init_config':
php_ini.c:188: warning: passing arg 3 of `zend_llist_init' from incompatible
pointer type
php_mysql.c: In function `php_mysql_do_connect':
php_mysql.c:544: warning: cast from pointer to integer of different size
[...]
Making all in xml
Warning: EXPAT_INTERNAL_LIBADD changed after being used
Making all in expat
Making all in xmltok
Making all in xmlparse
Warning: EXPAT_INTERNAL_LIBADD changed after being used
[...]
--
Olivier.Cahagne@epita.fr