Print

Print


On Sat, 15 Jan 2011, Mark Taylor wrote:

>> I've updated the JNIAST, JNIHDS and SPLAT JNI libraries for Linux 32/64 bit
>> (SL 4x), Solaris 10 intel 32bit (SUN Studio12) and OS X Leopard 32 bit, so I
>> think only Windows is missing that I need to look at.
>
> Peter,
>
> the JNIAST i386 lib on the trunk looks dodgy to me: the jniast unit test
> fails for me with the committed lib, but works if I do a build-native.
> The failure is
>
>    [junit] Testsuite: uk.ac.starlink.ast.AstTest
>    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.221 sec
>    [junit] ------------- Standard Error -----------------
>    [junit] Jan 15, 2011 5:25:05 PM uk.ac.starlink.ast.AstPackage isAvailable
>    [junit] INFO: java.lang.UnsatisfiedLinkError: nativeInitializeMapping
>    [junit] java.lang.UnsatisfiedLinkError: nativeInitializeMapping
>
> which is what you'd expect if the old version of the library was being
> used.  The commit for trunk/jniast/src/lib/i386/jniast_libs.jar
> (9703) is labelled "jniast: update JNI for OS X 10.5 (leopard)",
> which may or may not provide a clue.
>
> The JNIAST trunk amd64 lib looks OK.  I haven't tested any others.

Hi Mark,

thanks, I seemed to have messed that up (building more than one JNIAST 
tree at once is problematic as you need to unpack and keep the libraries 
you're not changing, thought I done that correctly but apparently not in 
this case). Should be fixed now.

Cheers,

Peter.