On Wed, 22 Oct 2003, Rankin, SE (Stephen) wrote:
> All,
>
> Do we have JNIAST and JNIHDS libs for MAC OSX? Someone is after building
> STARJAVA under MAC OSX. Yes I know you do not the libs, but if you build
> STARJAVA from source then the system will try to build the JNI stuff.
We don't have these libs. If I understand the problem, I suppose
the way to cope with it is to have a flag which determines whether
ant attempts to build the JNI parts. This would be set using a
property in the ~/.stardev.properties file. Then if you didn't have
the starlink libs you could just set this property and the build
system would do the best it could, viz. build all the pure java stuff
and skip the native libs. Maybe even the default would be not
to build the native libs, you set the flag if you do have the starlink
libraries available (the flag could then point to where they are),
this would be more friendly for third parties who wanted to build
the java. Since the affected packages are mine (JNIAST and JNIHDS -
or does SPLAT still build some of its own native libs?) I can probably
make these changes on request, though in principle I'm back on ESO
time for the next couple of weeks.
Related - from a message earlier today it sounds like Brad Cavanagh
is building the USSC on MacOS X - maybe he can be prevailed upon to
come up with MacOSX shared libraries for JNIAST and JNIHDS?
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] 0117 928 8776 http://www.star.bris.ac.uk/~mbt/
|