Simon Forster wrote:
> 
> On 18 Dec 2006, at 14:00, Jochem Maas wrote:
> 
>>> Thanks for the suggestions. Stripped back the configure options, made a
>>> couple of other tweaks and got it to compile.
>>
>> you mean you got it to configure, right?
> 
> Oops. Sloppy. You're right of course. Got it to configure.
> 
>>> Then it failed on make.
>>
>> what was the error?
> 
> Whole host of 'em. Hold on, I'll clean and run again to see what pops up...
> 
> See below sig. Seems to be referencing a lot of XML stuff but I'm not
> trying to include any XML / XSL bits:

that there by default, check these 2 configure options to see if that gets you 
past
this hurdle:


  --disable-libxml        Disable new LIBXML support
  --with-libxml-dir[=DIR]   libxml2 install prefix


> 
> ATB
> 
> Simon Forster
> _______________________________________________________
>  LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
>  Tel: +44 (0)20 8133 0528   Fax: +44 (0)70 9230 5247
> _______________________________________________________
> 
> ./configure --prefix=/usr/local/php5 --with-apxs
> --with-config-file-scan-dir=/sw --with-iconv --with-zlib=/usr
> --with-zlib-dir=/usr --with-gd --with-iconv-dir=/usr --enable-exif
> --enable-sqlite-utf8 --enable-ftp --enable-sockets --enable-mbstring
> --enable-memory-limit --enable-calendar --enable-bcmath --with-bz2=/usr
> --with-mysql=/usr/local/mysql --with-pdflib=shared,/sw
> --with-jpeg-dir=/sw --with-png-dir=/sw --enable-gd-native-ttf
> --enable-memcache
> 
> 
> make
> /bin/sh /Users/steve/Desktop/php-5.2.0/libtool --silent
> --preserve-dup-deps --mode=compile gcc  -Iext/libxml/
> -I/Users/steve/Desktop/php-5.2.0/ext/libxml/ -DPHP_ATOM_INC
> -I/Users/steve/Desktop/php-5.2.0/include
> -I/Users/steve/Desktop/php-5.2.0/main -I/Users/steve/Desktop/php-5.2.0
> -I/usr/include/libxml2 -I/Users/steve/Desktop/php-5.2.0/ext/date/lib
> -I/sw/include -I/usr/local/include
> -I/Users/steve/Desktop/php-5.2.0/ext/mbstring/oniguruma
> -I/Users/steve/Desktop/php-5.2.0/ext/mbstring/libmbfl
> -I/Users/steve/Desktop/php-5.2.0/ext/mbstring/libmbfl/mbfl
> -I/usr/local/mysql/include -I/Users/steve/Desktop/php-5.2.0/TSRM
> -I/Users/steve/Desktop/php-5.2.0/Zend  -no-cpp-precomp  -I/usr/include
> -g -O2  -c /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c -o
> ext/libxml/libxml.lo
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:43:28:
> libxml/xmlsave.h: No such file or directory
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:428: error: parse
> error before "error"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `_php_libxml_free_error':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:430: error: `error'
> undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:430: error: (Each
> undeclared identifier is reported only once
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:430: error: for each
> function it appears in.)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: At top level:
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:434: error: parse
> error before "error"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `_php_list_set_error_structure':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:436: error:
> `xmlError' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:436: error: parse
> error before "error_copy"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:441: error:
> `error_copy' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:443: error: `error'
> undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:448: error:
> `XML_ERR_ERROR' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:454: error: `msg'
> undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: At top level:
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:546: error: parse
> error before "xmlErrorPtr"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `php_libxml_structured_error_handler':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:548: error: `error'
> undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `zm_startup_libxml':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:603: error:
> `XML_PARSE_NOENT' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:604: error:
> `XML_PARSE_DTDLOAD' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:605: error:
> `XML_PARSE_DTDATTR' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:606: error:
> `XML_PARSE_DTDVALID' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:607: error:
> `XML_PARSE_NOERROR' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:608: error:
> `XML_PARSE_NOWARNING' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:609: error:
> `XML_PARSE_NOBLANKS' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:610: error:
> `XML_PARSE_XINCLUDE' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:611: error:
> `XML_PARSE_NSCLEAN' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:612: error:
> `XML_PARSE_NOCDATA' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:613: error:
> `XML_PARSE_NONET' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:621: error:
> `XML_ERR_NONE' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:622: error:
> `XML_ERR_WARNING' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:623: error:
> `XML_ERR_ERROR' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:624: error:
> `XML_ERR_FATAL' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `zif_libxml_use_internal_errors':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:707: error:
> `xmlStructuredErrorFunc' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:707: error: parse
> error before "current_handler"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:714: error:
> `current_handler' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:714: error:
> `xmlStructuredError' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:736: error:
> `xmlError' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `zif_libxml_get_last_error':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:747: error:
> `xmlErrorPtr' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:747: error: parse
> error before "error"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:749: error: `error'
> undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c: In function
> `zif_libxml_get_errors':
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:778: error:
> `xmlErrorPtr' undeclared (first use in this function)
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:778: error: parse
> error before "error"
> /Users/steve/Desktop/php-5.2.0/ext/libxml/libxml.c:786: error: `error'
> undeclared (first use in this function)
> make: *** [ext/libxml/libxml.lo] Error 1
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to