Date: Fri, 23 Jul 2004 07:30:35 GMT From: "Toomas Aas" <toomas.aas@raad.tartu.ee> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/69464:php4-wddx broken - php4 cannot load wddx.so Message-ID: <200407230730.i6N7UZ4h061823@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/69464; it has been noted by GNATS. From: "Toomas Aas" <toomas.aas@raad.tartu.ee> To: FreeBSD-gnats-submit@freebsd.org Cc: freebsd-bugs@mikhailov.org Subject: Re: ports/69464:php4-wddx broken - php4 cannot load wddx.so Date: Fri, 23 Jul 2004 10:28:54 +0300 Hello! I'm seeing the same problem on my server FreeBSD <hostname> 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #1: Thu May 27 14:30:24 EEST 2004 toomas@<hostname>:/usr/obj/usr/src/sys/HEEROLD i386 [Fri Jul 23 10:15:16 2004] [notice] Apache/1.3.31 (Unix) ApacheJServ/1.1.2 mod_ssl/2.8.17 OpenSSL/0.9.7c-p1 PHP/4.3.8 configured -- resuming normal operations Compiling wddx statically seems to work. At least I no longer get the error message from PHP. Note that I also needed to compile xml and xmlrpc extensions (which I am using) statically, otherwise I got the following errors from PHP: [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parser_create in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parser_create_ns in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_object in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_element_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_character_data_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_processing_instruction_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_default_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_unparsed_entity_decl_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_notation_decl_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_external_entity_ref_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_start_namespace_decl_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_set_end_namespace_decl_handler in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parse in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parse_into_struct in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_get_error_code in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_error_string in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_get_current_line_number in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_get_current_column_number in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_get_current_byte_index in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parser_free in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parser_set_option in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - xml_parser_get_option in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - utf8_encode in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: Function registration failed - duplicate name - utf8_decode in Unknown on line 0 [23-Jul-2004 10:02:09] PHP Warning: xml: Unable to register functions, unable to load in Unknown on line 0 To achieve this, I made the following changes to lang/php4/Makefile: --------------------------------------------------------------------- --- Makefile.orig Wed Jul 21 18:58:05 2004 +++ Makefile Fri Jul 23 10:08:40 2004 @@ -30,6 +30,11 @@ CONFIGURE_ARGS= --enable-versioning \ --enable-memory-limit \ --with-layout=GNU \ + --enable-xml \ + --with-expat-dir=${LOCALBASE} \ + --with-iconv-dir=${LOCALBASE} \ + --with-xmlrpc \ + --enable-wddx \ --disable-all .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" --------------------------------------------------------------------- -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Show respect to age. Drink good scotch.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407230730.i6N7UZ4h061823>