build php4.3.0 as a module for apache_1.3.27 (Cygwin) fail

Elfyn McBratney elfyn-cygwin@exposure.org.uk
Fri Jan 17 06:57:00 GMT 2003


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/



More information about the Cygwin mailing list