Re: LibXML and PHP5?

From: Date: Thu, 24 Mar 2005 21:47:28 +0000
Subject: Re: LibXML and PHP5?
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-24435@lists.php.net to get a copy of this message
Chalk one up to weirdness, my /usr/include/getopt.h was linked to a place in my MYSQL source directory (which had been deleted, rendering it a dead link). I copied one from another server and it worked fine. Thanks, Joshua Knarr "Joshua Knarr" <JKnarr@GuessWho.com> wrote in message news:<20050324201129.1536.qmail@lists.php.net>... > Hello! > > I am doing a server install and using PHP5 (PHP-5.0.3) and LIBXML 2 > (LIBXML2-2.6.18) compiled without threads. > > When doing a ./configure && make on my RedHat box, I get the following > error: > gcc -Iext/libxml/ -I/home/jknarr/php-5.0.3/ext/libxml/ -DPHP_ATOM_INC > -I/home/jknarr/php-5.0.3/include -I/home/jknarr/php-5.0.3/main > -I/home/jknarr/php-5.0.3 -I/home/jknarr/php-5.0.3/Zend > -I/usr/local/include/libxml2 -I/home/jknarr/php-5.0.3/TSRM -g -O2 > -c /home/jknarr/php-5.0.3/ext/libxml/libxml.c -o ext/libxml/libxml.o > && echo > ext/libxml/libxml.lo In file included from > /home/jknarr/php-5.0.3/TSRM/tsrm_virtual_cwd.h:41, > from /home/jknarr/php-5.0.3/main/php.h:420, > from /home/jknarr/php-5.0.3/ext/libxml/libxml.c:28: > /usr/include/unistd.h:744:21: getopt.h: No such file or directory > make: *** [ext/libxml/libxml.lo] Error 1 > > Any hints? > > Thanks, > Joshua Knarr

« previous php.qa (#24435) next »