Hello,
I try to compile php-5.2.4RC2 on a debian-etch and i got the following
errors when i launch "make" :
ext/libxml/.libs/libxml.o: In function `zm_deactivate_libxml':
/usr/local/php-5.2.4RC2/ext/libxml/libxml.c:671: undefined reference to
`xmlParserInputBufferCreateFilenameDefault'
/usr/local/php-5.2.4RC2/ext/libxml/libxml.c:672: undefined reference to
`xmlOutputBufferCreateFilenameDefault'
ext/libxml/.libs/libxml.o: In function `zm_activate_libxml':
/usr/local/php-5.2.4RC2/ext/libxml/libxml.c:651: undefined reference to
`xmlParserInputBufferCreateFilenameDefault'
/usr/local/php-5.2.4RC2/ext/libxml/libxml.c:652: undefined reference to
`xmlOutputBufferCreateFilenameDefault'
ext/dom/.libs/document.o: In function `zif_dom_document_xinclude':
/usr/local/php-5.2.4RC2/ext/dom/document.c:1772: undefined reference to
`xmlXIncludeProcessFlags'
ext/xmlreader/.libs/php_xmlreader.o: In function `zim_xmlreader_setSchema':
/usr/local/php-5.2.4RC2/ext/xmlreader/php_xmlreader.c:983: undefined
reference to `xmlTextReaderSchemaValidate'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_end_dtd_entity':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:1357: undefined
reference to `xmlTextWriterEndDTDEntity'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_end_dtd_attlist':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:1260: undefined
reference to `xmlTextWriterEndDTDAttlist'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_end_dtd_element':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:1200: undefined
reference to `xmlTextWriterEndDTDElement'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_end_comment':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:1035: undefined
reference to `xmlTextWriterEndComment'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_set_indent_string':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:533: undefined
reference to `xmlTextWriterSetIndentString'
ext/xmlwriter/.libs/php_xmlwriter.o: In function
`zif_xmlwriter_start_comment':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:1021: undefined
reference to `xmlTextWriterStartComment'
ext/xmlwriter/.libs/php_xmlwriter.o: In function `zif_xmlwriter_set_indent':
/usr/local/php-5.2.4RC2/ext/xmlwriter/php_xmlwriter.c:519: undefined
reference to `xmlTextWriterSetIndent'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Erreur 1
I've the following packages installed :
lindows:/usr/local/php-5.2.4RC2# dpkg -l libxml* |grep '^ii'
ii libxml++2.6-2 2.14.0-0.1 A C++ interface to the GNOME XML
library (libxml2)
ii libxml++2.6-dev 2.14.0-0.1 A C++ interface to the GNOME XML
library (libxml2)
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii libxml2-dev 2.6.27.dfsg-1 Development files for the GNOME XML
library
ii libxmlrpc++-dev 0.7+cvs20040713-2 C++ library for XML-RPC - Development
files
ii libxmlrpc++0 0.7+cvs20040713-2 C++ library for XML-RPC
ii libxmlrpc-c3 0.9.10-4 A lightweight RPC library based on
XML and HTTP fo
ii libxmlrpc-c3-dev 0.9.10-4 A lightweight RPC library based on
XML and HTTP fo
ii libxmltok1 1.2-2 XML Parser Toolkit, runtime libraries
I've tried
--with-xmlrpc
--with-xmlrpc=/usr
--with-xmlrpc=shared,/usr
I join my config.txt.
Thanks for your help.
Patrick
--enable-bcmath
--enable-calendar
--enable-exif
--enable-ftp
--enable-shmop
--enable-soap
--enable-sockets
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm
--enable-wddx
--enable-fastcgi
--enable-dmalloc
--enable-force-cgi-redirect
--enable-discard-path
--with-gmp=shared,/usr
--with-gettext=shared,/usr
--with-mysql=shared,/usr
--with-pdo-mysql=shared,/usr
--with-mysqli=shared
--with-gd=shared
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-zlib
--with-zlib-dir=/usr
--with-xpm-dir=/usr
--with-freetype-dir=/usr
--enable-gd-native-ttf
--with-pgsql=shared,/usr
--with-pdo-pgsql=shared,/usr
--with-curl=shared,/usr
--with-curlwrappers
--with-xsl=shared,/usr
--with-xmlrpc
--with-libexpat-dir=/usr
--with-mhash=shared,/usr
--enable-dba=shared,/usr
--with-gdbm=shared,/usr
--with-cdb
--with-mm=/usr
--with-bz2=shared,/usr
--with-readline
--with-pcre-regex
--enable-pcntl
--enable-simplexml
--enable-ctype
--with-ming=shared,/usr
--with-ncurses=shared,/usr
--enable-mbstring
--with-db4=/usr
--with-iconv
--with-ldap=shared,/usr
--enable-gd-native-ttf
--with-openssl=/usr
--with-ttf=/usr
--with-libxml-dir=/usr
--enable-dbase
--enable-sqlite-utf8
--with-mcrypt
--with-pspell=shared,/usr
--with-unixODBC=shared,/usr
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]