This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: build php4.3.0 as a module for apache_1.3.27 (Cygwin) fail
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,<sailsoft at freenet dot de>
- Date: Fri, 17 Jan 2003 03:18:14 -0000
- Subject: Re: build php4.3.0 as a module for apache_1.3.27 (Cygwin) fail
- References: <200301170130.CAA16813@www4.emo.freenet-rz.de>
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@exposure.org.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/