On Thu, 4 Apr 2013, Tim Jenness wrote:
> On Thu, Apr 4, 2013 at 1:19 PM, Ruisheng Peng <[log in to unmask]> wrote:
>
> > Thanks for the quick reply.
> >
> > On Thursday 04 April 2013 09:53:35 you wrote:
> > > On Thu, Apr 4, 2013 at 12:32 PM, Ruisheng Peng <[log in to unmask]>
> > wrote:
> > > > Hi,
> > > >
> > > > I'm trying to compile gaia on a MAC OS X 10.8 box, but running into
> > > > linking problem.
> > >
> > > The good news is that this does really work as I am using Mountain Lion
> > > with Starlink.
> > >
> > > > It claims that a whole bunch of _Tcl*, _Tk*, and _XShm* symbols were
> > > > referenced but undefined. I assume it was looking for Tcl, Tk, as well
> > > > as XShm libs. There's one ld warning right before listing these
> > > > undefined symbols: directory not found for option
> > > > '-L/usr/local/star/lib/lib'. Not sure that's the culprit. Interesting
> > > > thing is that libtcl8.5.dylib and libtk8.5.dylib already exist under
> > > > /usr/local/star/lib. I'm afraid that I don't know enough to mess with
> > > > the makefile to fix the problem. Here're what I've done:
> > > >
> > > > o checked out the starlink source tree and placed under
> > > > /usr/local/starlink o defined $STARCONF_DEFAULT_[STARLINK,PREFIX] to
> > > > /usr/local/star o added $STARCONF_DEFAULT_PREFIX/[bin,
> > buildsupport/bin]
> > > > to the $PATH o ./bootstrap
> > > > o make configure-deps
> > > > o ./configure -C --disable-shared --without-stardocs
> > >
> > > What's your motivation for the disable shared option? I have to admit
> > that
> > > I've never tried to build the whole of Starlink with this option enabled.
> > >
> > it's just a "phobia" for library pollution from various components that
> > came
> > with starlink as I have both MacPorts and Fink going already, and am not
> > looking to install any other components in the starlink package.
> >
> >
> I'm wondering if the GAIA linking is having trouble with the request for
> static linking.
That would be quite likely, all the Tcl/Tk related packages really like to
have dynamically loaded extensions.
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|