On Wed, 22 Oct 2003, Mark Taylor wrote:
> > 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.
Hi,
SPLAT does try to build a JNI library, so it would have to be modified for
such a scheme. We do have the OS X versions of HDS and AST that I built
for my GAIA port, so we're not as far away as that (just the JNIAST and
JNIHDS parts need doing), whether this is useful depends on who's trying
this.
> 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?
Sounds like a better idea...
Peter.
|