Re: [xml] Building libxml2 on solaris



FWIW, on solaris on sparc I have found I have better luck compiling
libxml if I build my own zlib first.  -- Brian

|-----Original Message-----
|From: xml-bounces gnome org [mailto:xml-bounces gnome org] On Behalf Of
|Rachael Churchill
|Sent: Wednesday, July 09, 2008 10:06 AM
|To: xml gnome org
|Subject: Re: [xml] Building libxml2 on solaris
|
|Roland Mainz wrote:
|> Uhm... doesn't Solaris 10 ship with libxml2 by default (Solaris 11
does
|> ship libxml2 and I thought we backported that to Solaris 10 long ago)
?
|>
|Possibly, but we're using a slightly modified version of libxml2, so we
|do need to build our own.
|> 1. Try using -KPIC
|> 2. Which compiler do you use ? If you use Sun Studio/Workshop/Fote
make
|> sure you use /opt/SUNWspro/bin/cc for linking and not "ld" directly.
|>
|> Try "-B dynamic". Solaris tries to avoid shipping static libraries
since
|> some releases and even /sbin/sh is no longer statically linked.
|>
|Those all look like changes to the makefile. Should I be changing the
|makefile after the configure script has generated it? Or is there an
|option to the configure script to make it generate a makefile with
those
|settings in it?
|
|Thanks,
|Rachael
|
|_______________________________________________
|xml mailing list, project page  http://xmlsoft.org/
|xml gnome org
|http://mail.gnome.org/mailman/listinfo/xml



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