You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Jack Marr <ma...@ugs.com> on 2001/07/03 22:04:25 UTC

Problem building XML4C on Solaris and Irix

I'm trying to build XML4C 3.5.0 from sources provided by
http://www.alphaworks.ibm.com/tech/xml4c, but am stymied at the point where it
wants to link Xerces with ICU because it is looking for libicudata.so, which is
not produced by ICU, as far as I can tell.  It does produce libicudt18b.so and
and a symbolic link named icudata.so (no "lib" prefix).  I suppose I could
rename that file to be what Xerces wants to see, but it seems to me this should
not require my manual intervention, so I'm wondering what step I'm missing.  I
notice the binary downloads for AIX and HP-UX both contain a libicudata.*, so
whoever built XML4C for those platforms found the missing link.  Perhaps someone
can point me in the right direction.

-- 
  Jack Marr (marr@ugsolutions.com) Cypress, CA
  Unigraphics Solutions - NYSE:UGS - http://www.ugsolutions.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Problem building XML4C on Solaris and Irix

Posted by Tinny Ng <tn...@ca.ibm.com>.
Try using the supplied script packageBinaries.pl to build the library, this script
will fix the missing link for you.
    set ICUROOT=<where your icu package, e.g. /home/usr/xxx/icu>
    set XERCESCROOT=<where the xml4c source package, e.g.
/home/usr/xxx/xml4c-src3_5_0>
    perl packageBinaries.pl -s <the xml4c source package location> -o <the generated
output package location> -t icu

Tinny

Jack Marr wrote:

> I'm trying to build XML4C 3.5.0 from sources provided by
> http://www.alphaworks.ibm.com/tech/xml4c, but am stymied at the point where it
> wants to link Xerces with ICU because it is looking for libicudata.so, which is
> not produced by ICU, as far as I can tell.  It does produce libicudt18b.so and
> and a symbolic link named icudata.so (no "lib" prefix).  I suppose I could
> rename that file to be what Xerces wants to see, but it seems to me this should
> not require my manual intervention, so I'm wondering what step I'm missing.  I
> notice the binary downloads for AIX and HP-UX both contain a libicudata.*, so
> whoever built XML4C for those platforms found the missing link.  Perhaps someone
> can point me in the right direction.
>
> --
>   Jack Marr (marr@ugsolutions.com) Cypress, CA
>   Unigraphics Solutions - NYSE:UGS - http://www.ugsolutions.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org