Re: [xml] Building on Solaris 8



On Tue, Sep 25, 2001 at 06:58:53PM +0100, Tony Graham wrote:
Bill Moseley wrote at 24 Sep 2001 16:03:37 -0700:
 > SunOS 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-Enterprise
 > 
 > Dies due to libz.
 > 
 > 68) ~/libxml/libxml2-2.4.5 %ll /usr/local/lib/libz*
 > -rw-r--r--   1 root     other      70488 Jan 20  1999 /usr/local/lib/libz.a
 > 
 > No libz.so.  Is that the issue?

I have a libz/zlib-related problem with Solaris 8.

To compile with zlib, I need to do "./configure --with-zlib=/usr" but
that creates a problem when compiling testDocbook.c and other files
that use fprintf, etc. because the addition of "-I/usr/include" on the
gcc command line causes the inclusion of some Solaris-specific header
files that gcc can't use.

You shouldn't need to do this. You shouldn't even need --with-zlib. I
just built libxml-2.4.5.tar.gz under Solaris 8/SPARC with Sun Forte C
5.3 by doing:
  $ ./configure --enable-shared --enable-static --prefix=[blah]
and had no problems with zlib.

Please post the relevant portion of config.log so I can take a look at
the error.

-- 
albert chin (china thewrittenword com)




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