Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000901c2bdd7$1340d730$31f886d9@webdev> From: "Elfyn McBratney" To: "cygwin" , References: <200301170130 DOT CAA16813 AT www4 DOT emo DOT freenet-rz DOT de> Subject: Re: build php4.3.0 as a module for apache_1.3.27 (Cygwin) fail Date: Fri, 17 Jan 2003 03:18:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 The only way you can build php-apache OOTB (well sort of) is by using the sources provided with cygwin, downloaded/installed by setup.exe. The source package contains a few patches and a utility to create the dll which the stock release (4.3.0) does not contain. > cd apache-1.3.27 > ./configure > cd php-4.3.0 > ./configure --with-apache=/apache-1.3.27 > make The undefined references below are because you don't have libxml installed. FYI xml support is now enabled by default. > > but make fail, I get the error: > > [...] > ext/xml/xml.o(.text+0x38ca): In function `zif_xml_get_current_byte_index': > /php-4.3.0/ext/xml/xml.c:1463: undefined reference to `__imp__php_XML_GetCurrent > ByteIndex' > collect2: ld returned 1 exit status > make: *** [sapi/cli/php.exe] Error 1 Elfyn elfyn AT exposure DOT org DOT uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/