Your problem is (was?) that you used StuffIt to unarchive the tar file. StuffIt truncated the tar’d filenames, leading to your problem. StuffIt doesn’t seem to yet know how to save files with long names.
-jdb
On 3/19/02 11:44 AM, "David Hinz" <[EMAIL PROTECTED]> wrote:
The only thing that I can see that you did different was that you chmod'ed config.*, configure, and install-sh, I only chmod'ed runConfigure. Would that make a difference? I also didn't manually gunzip and un-tar the distribution, I let StuffIt do it when the file was downloaded. My make command is symlinked to gnumake.
david.
James Berry wrote:
On 3/18/02 10:32 PM, "David Hinz" <[EMAIL PROTECTED]> <mailto:[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]> <mailto:[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" <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
