On 3/18/02 10:32 PM, "David Hinz" <[EMAIL PROTECTED]> wrote:
> > I've tried building version 1_7_0 from the command line and from within > Project Builder and keep getting error messages with finding some of the > headers (xercesc/util/ArrayIndexOutOfBoundsException.hpp). > > I saw a posting from "Avram Aelony" <[EMAIL PROTECTED]> in the archives > thanking James Berry for help on solving the problem but no details were > posted on what was done and no information is available on the Build > Instructions page. Can someone please provide me with details on how to > get Xerces to build on Mac OS X? > > thanks, > david. Hi David, The following commands work for me to build Xerces 1.7 on Mac OS X from the command line. Somebody said they had to use gnumake on their system, but this works fine for me... There is also a project builder project included with Xerces that should work. >From your description above it looks to me like you unpacked Xerces using a (tar program or stuffit) that mangled long file names. Thus ArrayIndexOutOfBoundsException.hpp was truncated. You've got to use a tool chain that doesn't truncate file names. Have you checked out the Xerces Mac OS build instructions at http://xml.apache.org/xerces-c/build-other.html#Mac ? James. mkdir testx cd testx # The following two lines should be one... curl -O "http://xml.apache.org/dist/xerces-c/stable/xerces-c-src1_7_0.tar.gz" gunzip xerces-c-src1_7_0.tar.gz tar -xf xerces-c-src1_7_0.tar cd xerces-c-src1_7_0 setenv XERCESCROOT `pwd` cd src/xercesc chmod ugo+x config.* configure runConfigure install-sh ./runConfigure -p macosx -n native make -- /********************************** James D. Berry mailto:[EMAIL PROTECTED] vox:503.265.1213 fax:503.222.3020 **********************************/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
