"We are back" « oc.at

PHP 4.3.2 RC1 Veröffentlicht

Philipp 14.03.2003 - 00:18 538 3
Posts

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Der erste Release Candidate zu PHP 4.3.2 steht jetzt zur Verfügung :)

Download (Source):
http://www.php.net/~jani/RC/php-4.3.2RC1.tar.gz

Download (Windows):
http://www.php.net/~jani/RC/php-4.3.2RC1-Win32.zip

Wer dieses Release unter Red Hat 8.0/8.1 installieren will, muss vorher auch Apache 2.0.44 kompilieren. Apache 2.0.40 läuft leider nicht damit.

Zitat
checking for Apache 2.0 handler-module support via DSO through APXS... configure: error: Please note that Apache version
>= 2.0.44 is required.

Werde ich halt Morgen machen ;)

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Apache 2.0.44 läuft jetzt, allerdings kommt beim Kompilieren von PHP eine Fehlermeldung:

Zitat
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/home/philipp/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1

Irgendwelche Ideen? Dürfte am MySQL Modul liegen (--with-mysql)

atrox

in fairy dust... I trust!
Avatar
Registered: Sep 2002
Location: HTTP/1.1 404
Posts: 2782
Es gibt nicht einmal ein Changelog für das ganze, große Neuerungen sind eh nicht zu erwarten - derzeit kein Grund für mich umzusteigen.

PS: wenn du bei configure --with-mysql kein verzeichnis angibst (also nicht --with-mysql=/blah/dir), dann sollte er das mitgelieferte mysql-modul verwenden. wenns mit dem einen nicht klappt, kannst immer noch die andere option versuchen (externe lib).
Bearbeitet von atrox am 14.03.2003, 03:18

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Ich habe das Problem in der Zwischenzeit gelöst. my_tempnam.so und der neuere GCC dürften sich nicht gut vertragen. Das PHP Modul ist trotz der Fehlermeldung fertig kompiliert und steht im .libs Verzeichnis bereit.

Das Modul muss man dann selber ins "modules" Verzeichnis kopieren, da auch "make install" nicht funktioniert.

Bugreports zu diesen Thema:
http://bugs.php.net/search.php?cmd=...amp;x=0&y=0
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz