On Tue, 23 Jul 2002, Dan Hardiker wrote: > Hi, > > That worked for one machine, but this machine is still giving me jip. > Configure line exactly the same, error exactly the same - but pkg_info > different (uninstall / installed versions of libxml). > > [11:07:39][root@insomniac]:/usr/local/php-4.2.2$ pkg_info | grep xml > libxml2-2.4.23 Xml parser library for GNOME > [11:07:39][root@insomniac]:/usr/local/php-4.2.2$ > > Please note that on the machine that worked, I have lib2-2.4.21 installed > - would this make much difference?
If you have the same error-message, you maybe have the old library lying around somewhere. It works fine with 2.4.23 for me. Check if it really gets the correct header-files (in php 4.2.3, we will have a ./configure, which checks for the correct version..) chregu > > Thanks, > > - Dan > > > > Hello, > > > > upgrade libxml2 to atleast 2.4.14 and it should work again. > > > > Derick > > > > On Tue, 23 Jul 2002, Dan Hardiker wrote: > > > >> Hi, > >> > >> Running the following xml library packages: > >> > >> [10:29:58][root@insomniac]:/usr/local/php-4.2.2$ pkg_info | grep xml > >> libxml2-2.4.1 Xml parser library for GNOME > >> libxml2-2.4.12 Xml parser library for GNOME > >> [10:33:08][root@insomniac]:/usr/local/php-4.2.2$ > >> > >> I have no problem with the following configure line: > >> > >> ./configure --with-mysql=/usr/local/ --with-pgsql > >> --with-gd=/usr/local/ --with-openssl --with-curl --enable-ftp > >> --with-dom --enable-trans-sid -enable-sockets --enable-wddx > >> --with-zlib --with-mcrypt=/usr/local/ --withfreetype --with-t1lib > >> --with-ttf --with-freetype-dir=/usr/local/ --enable-pcntl > >> > >> Problems only arise upon "make" (this is just the part that died): > >> > >> [10:29:34][root@insomniac]:/usr/local/php-4.2.2$ make > >> Making all in Zend > >> Making all in main > >> Making all in ext > >> Making all in zlib > >> Making all in ctype > >> Making all in curl > >> Making all in domxml > >> gcc -I. -I/usr/local/php-4.2.2/ext/domxml -I/usr/local/php-4.2.2/main > >> -I/usr/local/php-4.2.2 -I/usr/local/php-4.2.2/Zend > >> -I/usr/local/include -I/usr/local/include/libxml2 > >> -I/usr/local//include/freetype2/freetype -I/usr/local//include > >> -I/usr/local//include/mysql > >> -I/usr/local/include/pgsql -I/usr/local/php-4.2.2/ext/xml/expat > >> -I/usr/local/php-4.2.2/TSRM -g -O2 -c php_domxml.c && touch > >> php_domxml.lo php_domxml.c: In function > >> `zif_domxml_doc_get_element_by_id': > >> php_domxml.c:2675: warning: passing arg 2 of `xmlHashScan' from > >> incompatible pointer type > >> php_domxml.c: In function `zif_domxml_doc_ids': > >> php_domxml.c:3292: warning: passing arg 2 of `xmlHashScan' from > >> incompatible pointer type > >> php_domxml.c: In function `zif_xmldoc': > >> php_domxml.c:3309: `xmlDoValidityCheckingDefaultValue' undeclared > >> (first use in this function) > >> php_domxml.c:3309: (Each undeclared identifier is reported only once > >> php_domxml.c:3309: for each function it appears in.) > >> php_domxml.c:3325: `xmlLoadExtDtdDefaultValue' undeclared (first use > >> in this function) > >> *** Error code 1 > >> > >> Stop in /usr/local/php-4.2.2/ext/domxml. > >> *** Error code 1 > >> > >> Stop in /usr/local/php-4.2.2/ext/domxml. > >> *** Error code 1 > >> > >> Stop in /usr/local/php-4.2.2/ext. > >> *** Error code 1 > >> > >> Stop in /usr/local/php-4.2.2. > >> [10:29:58][root@insomniac]:/usr/local/php-4.2.2$ > >> > >> > >> Is there any more information I can give to help find a patch for > >> this... or is it something Im doing wrong? > >> > >> I would really like to upgrade to 4.2.2 due to the security > >> vunerability (and due to the nature of the applications running on > >> this live server - post cannot be turned off). > >> > >> Alternative suggestions (and even hints as to how I could find the > >> source of the problem and fix it myself would be welcomed - I have > >> limited, but basic foundation in C programming). > >> > >> Thanks > >> > >> -- > >> Dan Hardiker [[EMAIL PROTECTED]] > >> ADAM Software & Systems Engineer > >> First Creative Ltd > >> > >> > >> > >> -- > >> PHP Development Mailing List <http://www.php.net/> > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > --------------------------------------------------------------------------- > > Did I help you? http://www.derickrethans.nl/link.php?url=giftlist > > Frequent ranting: http://www.derickrethans.nl/ > > --------------------------------------------------------------------------- > > PHP: Scripting the Web - [EMAIL PROTECTED] > > All your branches are belong to me! > > SRM: Script Running Machine - www.vl-srm.net > > --------------------------------------------------------------------------- > > > -- nam...christian stocker adr...bremgartnerstr. 66, ch-8003 zurich pho...+41 1 451 6021 www...http://phant.ch/chregu mob...+41 76 561 8860 [EMAIL PROTECTED] wor...+41 1 240 5670 gpg...0x5CE1DECB -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php