[xml] [Fwd: Re: Problem compiling libxml2 on solaris]

Hi it was suggested by Daniel to ask here, can anyone suggest a solution
to this problem?

Chris Lyttle

-----Forwarded Message-----

From: Daniel Veillard <veillard redhat com>
To: Chris Lyttle <chris wilddev net>
Cc: gnome-hackers gnome org
Subject: Re: Problem compiling libxml2 on solaris
Date: 01 Jun 2002 07:02:47 -0400

On Fri, May 31, 2002 at 04:01:44PM -0700, Chris Lyttle wrote:

I am trying to compile gnome2 on solaris with the vicious build scripts 
and have run into a problem I can figure out. Can anyone suggest a 

I get the following error when vbs gets up to the gnome-xml compile stage;

nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:807: `len' undeclared (first use in this function)
nanohttp.c:807: (Each undeclared identifier is reported only once
nanohttp.c:807: for each function it appears in.)
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/export/home/chris/gnome/head/cvs/gnome-xml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/chris/gnome/head/cvs/gnome-xml'
make: *** [all-recursive-am] Error 2

  line 807 is


line 88 there is

#ifndef SOCKLEN_T
#define SOCKLEN_T unsigned int

only possible explanation, at configure time you got SOCKLEN_T got defined
to an empty macro. Sounds like a configure problem, check your platform
settings, possibly ask on xml gnome org, there are Sun employees who
maintain the port, they may help debugging your specific problem.


RedHat Certified Engineer #807302549405490.
        | |   |^|
        | |^| | |  Life out here is raw 
        | | |^| |  But we will never stop
        | |_|_| |  We will never quit 
        | / __> |  cause we are Metallica
        |/ /    |
        \       /
         |     |

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]