On Mon, 20 Nov 2006, Peter W. Draper wrote:
>> When I load in the cube, now I get:
>>
>> Nov 17, 2006 11:56:22 AM uk.ac.starlink.splat.imagedata.NDFJ <clinit>
>> WARNING: Failed to load the Starlink SPLAT-VO JNI library
>> Nov 17, 2006 11:56:22 AM uk.ac.starlink.splat.imagedata.NDFJ <clinit>
>> WARNING: No native NDF support available
>> Nov 17, 2006 11:56:22 AM uk.ac.starlink.splat.data.SpecDataFactory
>> makeNDFSpecDataImpl
>> INFO: No native NDF support, using less efficient NDX/JNIHDS access
>> Nov 17, 2006 11:56:32 AM uk.ac.starlink.splat.data.SpecData initialiseAst
>
> Look's like the SPLAT NDF libraries didn't build. See what "ant build" in
> the splat directory reports. Probably need to set -Dstardev=/local-star
> if that's where you're pushing the classic build (best to pop this into
> the ~/.stardev.properties file:
>
> stardev=/local-star
>
> and forget it).
>
> I'm (re)investigating switching the SPLAT JNI libraries to use the same
> scheme as JNIAST/HDS so that we avoid the obvious confusing that this
> dichotomy seems to be causing, but there is a sticky issue in webstart
> that may make this a non-starter (but I think I may have a work-around
> that didn't occur to me last time).
After much effort, the webstart issue remains unresolved. It's still not
possible to have shareable libraries that have any interdependencies, no
matter how hard you try (including peering at the webstart sources, the
JVM must be doing something clever in addition to what's going on in
there).
In the meanwhile I've changed the SPLAT JNI build system to match the
other JNI libraries, so you now create a shareable library, using
"build-native" and commit it to CVS.
Brad,
could you do the honours for Intel Mac? Just set the right value for the
stardev attribute: "ant -Dstardev=/local-star build-native" (best to clean
out splat first), install, test and commit the result.
STARJAVA watchers might note that this change finally makes it platform
independent for Java development and for installations (when all the
native libraries are checked in, naturally).
Cheers,
Peter.
|