From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 23 07:30:35 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E5DD16A4CE for ; Fri, 23 Jul 2004 07:30:35 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 836C743D39 for ; Fri, 23 Jul 2004 07:30:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6N7UZ5P061824 for ; Fri, 23 Jul 2004 07:30:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6N7UZ4h061823; Fri, 23 Jul 2004 07:30:35 GMT (envelope-from gnats) Date: Fri, 23 Jul 2004 07:30:35 GMT Message-Id: <200407230730.i6N7UZ4h061823@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Toomas Aas" Subject: Re: ports/69464:php4-wddx broken - php4 cannot load wddx.so X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Toomas Aas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 07:30:35 -0000 The following reply was made to PR ports/69464; it has been noted by GNATS. From: "Toomas Aas" 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 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #1: Thu May 27 14:30:24 EEST 2004 toomas@:/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.