Hi.  I downloaded and tried to build Xerces2-J v2.2.1 on my Debain (3.0) box.  When I 
ran build.sh, I received the following error:

<snip>
kteague@sprocket:~/incoming/xmlresume/xerces-2_2_1$ ./build.sh all

Xerces-Java Build System
------------------------
Building with classpath
"/usr/lib/j2se/1.3/lib/tools.jar:/usr/lib/j2se/1.3/lib/classes.zip:./tools/ant.jar:./tools/xercesImpl.jar:./tools/xml-apis.jar:./tools/bin/xjavac.jar"
Starting Ant...

Buildfile: build.xml

BUILD FAILED
file:/home/kteague/incoming/xmlresume/xerces-2_2_1/build.xml:22: taskdef class 
org.apache.xerces.util.XJavac cannot be found

Total time: 1 second
<snip>

A quick google for the error revealed this link:

<snip>
http://216.239.37.100/search?q=cache:9P2HI-npB94C:xml.apache.org/mail/xerces-j-dev/200210+org.apache.xerces.util.XJavac&hl=en&ie=UTF-8
<snip>

However, based on the info there, I'm not quite sure how to fix this.  It only 
confirms that you guys know about the bug and have
fixed it.  The time/date stamp on the .tar.gz I downloaded was recent (a little over 
10 days old) and the bug was discovered in the
begininng of October.  I thought the bug wouldn't be present in this newer version I'm 
trying to build.

I really have 2 options here but I'm a little confused.  My first option (and 
preferable) would be to install the binary
distribution.  The problem I have with that is the installation instructions lack 
installation info.  It describes how to unarchive
the downloaded archives, what the archives contain, and which archives I will need 
but... what do I do once they're unarchived?
Which files go where?

My other option is to try and fix the source so it compiles correctly.  I'm hoping 
that, in the end, there is a ``make install''
that places files in the correct location.

On a side note, the build instructions for this software package is somewhat 
misleading.  It details the Xerces-J source and tools
should be extracted to the same directory.  Extracting the Xerces-J source archive 
creates a xerces-2_2_1 directory.  Unarchiving
the Xerces tools creates a tools directory.  So if I unarchived both to a directory 
called ~xml/, I would then have ~xml/tools and
~xml/xerces-2_2_1 which will cause the build to fail.  The documentation should state 
the tools archive needs to be extracted IN
the directory created after extracting the xerces archive so the Xerces tools 
directory is in the correct location.  This was
fairly easy for me to spot but may confuse others.

- Ken


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to