OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: libxml on Solaris 2.6

[ Lists Home | Date Index | Thread Index ]
  • From: Daniel Veillard <Daniel.Veillard@w3.org>
  • To: Gilles FILIPPINI <Gilles.Filippini@edf.fr>
  • Date: Thu, 21 Oct 1999 08:59:23 -0400

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
#define HAVE_SYS_SOCKET_H 1
~/XML -> grep HAVE_NETINET_IN_H config.h
#define HAVE_NETINET_IN_H 1
~/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
#define HAVE_SYS_SELECT_H 1

> 
> 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,

Daniel

P.S.: BTW the libxml mailing-list is xml@rufus.w3.org :-)

-- 
Daniel.Veillard@w3.org | 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,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.

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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS