libxml on Solaris 2.6

Daniel Veillard Daniel.Veillard at
Thu Oct 21 14:59:37 BST 1999

On Thu, Oct 21, 1999 at 09:01:11AM +0200, Gilles FILIPPINI wrote:
> Hi,
> I'd like to use the library libxml on Sun/Solaris 2.6, but I can't succeed compiling it.
> Although the ./configure step seems OK, I get the folowing error message during the compilation of nanohttp.c :
> ------------------------------------------------------------------------------------------------------------------------------------
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.7.3\" -g -O2 -c  -fPIC -DPIC nanohttp.c -o .libs/nanohttp.lo

  Hum, I'm unable to reproduce it, it compiles leanly on the Solaris 2.6
box I have a login on:

gcc -Wall -g -O2  -I. -I.. -I. -DLIBXML_VERSION=\"1.7.3\" -c nanohttp.c
ar rc libxml.a tree.o parser.o entities.o error.o SAX.o encoding.o debugXML.o valid.o xpointer.o HTMLtree.o HTMLparser.o xpath.o xmlIO.o xmlmemory.o nanohttp.o

~/XML -> uname -a
SunOS www26 5.6 Generic_105181-16 sun4u sparc

This is really strange could you check that configure detected the same
set of headers on your machine ?

~/XML -> grep HAVE_STDLIB_H confih.h
grep: confih.h: No such file or directory
~/XML -> grep HAVE_STDLIB_H config.h
#define HAVE_STDLIB_H 1
~/XML -> grep HAVE_UNISTD_H config.h
#define HAVE_UNISTD_H 1
~/XML -> grep HAVE_SYS_SOCKET_H config.h
~/XML -> grep HAVE_NETINET_IN_H config.h
~/XML -> grep HAVE_ARPA_INET_H config.h
#define HAVE_ARPA_INET_H 1
~/XML -> grep HAVE_FCNTL_H config.h
#define HAVE_FCNTL_H 1
~/XML -> grep HAVE_SYS_SELECT_H config.h

> I tried to hack in nanohttp.c to include <netinet/in.h> but other errors followed...
> Has anyone experienced this problem before ?

  That's the first time I get such a report,


P.S.: BTW the libxml mailing-list is xml at :-)

Daniel.Veillard at | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML, | badminton, and Kaffe.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list