I'm sorry to hear this has been such trouble - it sounds like we will
need to add a scientific linux set of notes to our platform-specific
build issues. It looks like I have access to Scientific Linux 4.4,
but I don't know the SL version numbers very well - that sounds
different than the 1.5 you're building on.
$ cat /etc/issue
Scientific Linux SL release 4.4 (Beryllium)
Would results from that platform be useful to you?
Charles
On Feb 5, 2008, at 2:39 AM, Steve White wrote:
Charles,
The xml-commons-apis error went away when I installed the xml-
commons-apis
package from Scientific Linux. I complained that this wasn't very
good
behaviour. They blamed it on somebody else. Looks like I will
have to
hunt down a party who will take the responsibility to fix it.
But anyway, that problem is gone, and I'm back to the exact same issue
as before.
I tried it with ANT_HOME set to the proper value, and unset.
No difference.
I tried it with /etc/ant.conf present and removed. This changed
something
with the package installation but not with the /usr/local version. In
any case it didn't result in a build.
We're getting into a big tree of options here.
Java versions
Ant versions
config file present/not present
environment variables set to various things
My impression is, although I hit some snags, the problem remains
consistent.
Since you guys don't recognize this, I have to guess the problem lies
either in Scientific Linux, or in our particular configuration method.
I will look into those details next.
Cheers!
On 4.02.08, Charles Bacon wrote:
That is very odd ant behavior. What is ANT_HOME set to? Is there
an /etc/ant.conf?
Charles
On Feb 4, 2008, at 5:14 AM, Steve White wrote:
Thomas,
I re-installed the distro ant 1.6.5, and tried again, re-setting
the environment to refer to that. No luck.
But now I see new problems:
$ ant -version
/usr/bin/build-classpath: error: Could not find xml-commons-apis
Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Apache Ant version 1.6.5 compiled on April 4 2007
$ ant --noconfig -version
Exception in thread "main" java.lang.NoClassDefFoundError: org/
apache/tools/ant/launch/Launcher
I'm starting to suspect that the distro is broken... I don't
remember
doing any Ant builds since I last upgraded. Also, I can't reconcile
RPM's reports about where the Ant files are, with their actual
locations.
But that doesn't explain why the ant 1.7 build would fail.
,,,
On 1.02.08, Thomas Howe wrote:
Steve,
I can't remember if this was the exact error, but I believe that I
had a problem when using ant 1.7. perhaps you could try using ant
version 1.6.2. Making the build work with 1.7 is on my todo list.
-Tom
On Feb 1, 2008, at 5:15 AM, Steve White wrote:
Charles,
I re-untar'd, re-configured, and re-built.
Same error.
printenv ANT_HOME
/usr/local/jdk/ant
printenv JAVA_HOME
/usr/local/jdk/jsdk
ant -version
Apache Ant version 1.7.0 compiled on December 13 2006
ant --noconfig -version
Apache Ant version 1.7.0 compiled on December 13 2006
The directory /usr/local/jdk/ is the correct path on our systems
for Java packages.
which ant
/usr/local/jdk/ant/bin/ant
which javac
/usr/local/jdk/jsdk/bin/javac
This is Scientific Linux 1.5 on an x86_64.
I also tried switching from JDK 1.5 to JDK 1.6. No improvement.
java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
On 31.01.08, Charles Bacon wrote:
Okay. The "make clean" isn't going to do much, you'll want to
untar
the original installer again.
What are the settings of ANT_HOME and JAVA_HOME? What does
"ant -
version" return? What does "ant --noconfig -version" return?
Charles
On Jan 31, 2008, at 5:15 AM, Steve White wrote:
Charles,
I deleted the distribution ant packages (making sure the config
files
in /etc were gone), did a make clean, re-configured, and re-
made.
I got the same error.
- - - - - - - - - - - - - - - - - - - - - -
- - -
Steve White +49(331)
7499-202
e-Science / AstroGrid-D Zi. 35
Bg. 20
- - - - - - - - - - - - - - - - - - - - - -
- - -
Astrophysikalisches Institut Potsdam (AIP)
An der Sternwarte 16, D-14482 Potsdam
Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz
Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/
7-71-026
- - - - - - - - - - - - - - - - - - - - - -
- - -
--
- - - - - - - - - - - - - - - - - - - - - -
- - -
Steve White +49(331)
7499-202
e-Science / AstroGrid-D Zi. 35
Bg. 20
- - - - - - - - - - - - - - - - - - - - - -
- - -
Astrophysikalisches Institut Potsdam (AIP)
An der Sternwarte 16, D-14482 Potsdam
Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz
Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/
7-71-026
- - - - - - - - - - - - - - - - - - - - - -
- - -