On Wed, 29 Nov 2006, Peter W. Draper wrote:
> I've also changed the build procedure so that it will use $FC, if defined in
> preference to the built-in definition, and fixed up that problem with the
> definition of JAVA_INCLUDE, so all those hacks you have in place should be
> removed.
I did a fresh checkout, and it picked up g95 just fine. Ta.
Unfortunately g95 doesn't know about -lcc_dynamic, so I removed it, and
essentially made the g95 line look more like what's described in
http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0603&L=STARDEV&P=R1167&I=-3
I didn't add the -install_dir flag.
> Looking forward to that exception.
Hopefully this is useful for you. I can't seem to get anything useful out
of it. :-)
run-tests:
[junit] Testsuite: uk.ac.starlink.splat.imagedata.NDFJTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.072 sec
[junit] ------------- Standard Error -----------------
[junit] Nov 29, 2006 4:20:21 PM uk.ac.starlink.util.Loader
starjavaDirectory
[junit] WARNING: Loader.class location
file:/Users/bradc/development/starlink/java/source/util/build/classes/uk/ac/starlink/util/Loader.class
unexpected
[junit] java.lang.UnsatisfiedLinkError: couldn't load library splat:
/Users/bradc/development/starlink/java/source/splat/lib/i386/libsplat.jnilib:
[junit] at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:146)
[junit] at
uk.ac.starlink.splat.imagedata.NDFJTest.setUp(NDFJTest.java:23)
[junit] at junit.framework.TestCase.runBare(TestCase.java:138)
[junit] at
junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:131)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
[junit] at junit.framework.TestSuite.run(TestSuite.java:168)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1061)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:676)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1413)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:633)
[junit] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[junit] at org.apache.tools.ant.Task.perform(Task.java:364)
[junit] at org.apache.tools.ant.Target.execute(Target.java:341)
[junit] at
org.apache.tools.ant.Target.performTasks(Target.java:369)
[junit] at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[junit] at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[junit] at org.apache.tools.ant.Main.runBuild(Main.java:673)
[junit] at org.apache.tools.ant.Main.startAnt(Main.java:188)
[junit] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[junit] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
[junit] Caused by: java.lang.UnsatisfiedLinkError:
/star/starjava/lib/i386/libsplat.jnilib:
[junit] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[junit] at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
[junit] at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
[junit] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[junit] at java.lang.System.loadLibrary(System.java:992)
[junit] at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:111)
[junit] ... 23 more
[junit] ------------- ---------------- ---------------
[junit] Testcase:
testLoading(uk.ac.starlink.splat.imagedata.NDFJTest): FAILED
[junit] UnsatisfiedLinkError
[junit] junit.framework.AssertionFailedError: UnsatisfiedLinkError
[junit] at
uk.ac.starlink.splat.imagedata.NDFJTest.setUp(NDFJTest.java:31)
BUILD FAILED
/Users/bradc/development/starlink/java/source/splat/build.xml:1376: Test
uk.ac.starlink.splat.imagedata.NDFJTest failed
Total time: 10 seconds
gala:~/development/starlink/java/source/splat bradc$
|