Thanks Tim. I ended up cleaning out the whole thing and starting from
scratch. It worked nicely. The only other thing I had to do was to install
various init scripts from starlink/etc/init directory.
--Ruisheng
On Monday 08 April 2013 18:02:15 you wrote:
> This is because of the static linking issues. Building with static mode has
> convinced the Tcl/Tk infrastructure that shared libraries don't exist and
> it should dynamically load .a files. That isn't working. For example, my
> libtkimgxpm1.3 is a .dylib not a .a. You may have to clean out the tcl/tk
> and related modules (including skycat) and rebuild them as shared
> libraries.
>
> On Mon, Apr 8, 2013 at 7:09 PM, Ruisheng Peng <[log in to unmask]> wrote:
> > Hi,
> >
> > I installed gaia thru "manifests compilation" on a MAC OS X 10.8 box
> > (under /usr/local/star). But when I tried to run gaia, it failed with
> > the following messages:
> >
> > GAIA_DIR = /usr/local/star/bin/gaia
> > Application initialization failed: Can't find a usable CatInit.tcl in the
> > following directories:
> > /usr/local/star/lib/tcl8.5/cat4.1.0
> > /usr/local/star/lib/tcl8.5/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/cat4.1.0
> > /usr/local/star/lib/cat4.1.0/Resources/Scripts
> > /usr/local/star/bin/lib/cat4.1.0
> > /usr/local/star/bin/lib/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/tk8.5/cat4.1.0
> > /usr/local/star/lib/tk8.5/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/tk8.5/ttk/cat4.1.0
> > /usr/local/star/lib/tk8.5/ttk/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/itk3.4/cat4.1.0
> > /usr/local/star/lib/itk3.4/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/tclx8.4/cat4.1.0
> > /usr/local/star/lib/tclx8.4/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/blt2.5/cat4.1.0
> > /usr/local/star/lib/blt2.5/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/tclutil2.1.0/cat4.1.0
> > /usr/local/star/lib/tclutil2.1.0/cat4.1.0/Resources/Scripts
> > /usr/local/star/lib/rtd3.2.1/cat4.1.0
> > /usr/local/star/lib/rtd3.2.1/cat4.1.0/Resources/Scripts
> > /usr/local/star/bin/library
> >
> > /usr/local/star/lib/cat4.1.0/CatInit.tcl: no suitable image found. Did
> > find:
> > /usr/local/star/lib/Img1.3/libtkimgxpm1.3.a: unknown file type,
> > first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A
> > NSCreateObjectFileImageFromFile() error: not a Mach-O MH_BUNDLE file
> > no suitable image found. Did find:
> > /usr/local/star/lib/Img1.3/libtkimgxpm1.3.a: unknown file type,
> > first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A
> > NSCreateObjectFileImageFromFile() error: not a Mach-O MH_BUNDLE file
> > while executing
> > "load /usr/local/star/lib/Img1.3/libtkimgxpm1.3.a"
> > ("package ifneeded img::xpm 1.3" script)
> > invoked from within
> > "package require img::xpm"
> > (file "/usr/local/star/lib/cat4.1.0/CatInit.tcl" line 13)
> > invoked from within
> > "source /usr/local/star/lib/cat4.1.0/CatInit.tcl"
> > ("uplevel" body line 1)
> > invoked from within
> > "uplevel #0 [list source $file]"
> >
> >
> > This probably means that cat wasn't installed properly.
> >
> > Error in startup script: Can't find a usable GaiaInit.tcl in the
> > following directories:
> > /usr/local/star/lib/tcl8.5/gaia4.4.4
> > /usr/local/star/lib/tcl8.5/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/gaia4.4.4
> > /usr/local/star/lib/gaia4.4.4/Resources/Scripts
> > /usr/local/star/bin/lib/gaia4.4.4
> > /usr/local/star/bin/lib/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/tk8.5/gaia4.4.4
> > /usr/local/star/lib/tk8.5/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/tk8.5/ttk/gaia4.4.4
> > /usr/local/star/lib/tk8.5/ttk/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/itk3.4/gaia4.4.4
> > /usr/local/star/lib/itk3.4/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/tclx8.4/gaia4.4.4
> > /usr/local/star/lib/tclx8.4/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/blt2.5/gaia4.4.4
> > /usr/local/star/lib/blt2.5/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/tclutil2.1.0/gaia4.4.4
> > /usr/local/star/lib/tclutil2.1.0/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/rtd3.2.1/gaia4.4.4
> > /usr/local/star/lib/rtd3.2.1/gaia4.4.4/Resources/Scripts
> > /usr/local/star/lib/tcllib1.8/gaia4.4.4
> > /usr/local/star/lib/tcllib1.8/gaia4.4.4/Resources/Scripts
> > /usr/local/star/bin/library
> >
> > /usr/local/star/lib/gaia4.4.4/GaiaInit.tcl: can't find package Skycat
> > can't find package Skycat
> > while executing
> > "package require Skycat"
> > (file "/usr/local/star/lib/gaia4.4.4/GaiaInit.tcl" line 11)
> > invoked from within
> > "source /usr/local/star/lib/gaia4.4.4/GaiaInit.tcl"
> > ("uplevel" body line 1)
> > invoked from within
> > "uplevel #0 [list source $file]"
> >
> >
> > This probably means that gaia wasn't installed properly.
> >
> > while executing
> > "error $msg"
> > (procedure "tcl_findLibrary" line 108)
> > invoked from within
> > "tcl_findLibrary gaia 4.4.4 4.4.4
> > GaiaInit.tcl GAIA_LIBRARY gaia_library"
> > (procedure "::gaia::Init" line 3)
> > invoked from within
> > "::gaia::Init"
> > invoked from within
> > "load /usr/local/star/lib/libgaia4.4.4.dylib Gaia"
> > ("package ifneeded Gaia 4.4.4" script)
> > invoked from within
> > "package require Gaia"
> > (file "/usr/local/star/lib/gaia4.4.4/gaiaMain.tcl" line 64)
> >
> > To be sure that both cat and skycap were installed, I ran
> > #make /usr/local/star/manifests/[cat,skycap]
> > and it reported both are up to date. What am I missing?
> >
> > Thanks,
> >
> > --Ruisheng
> >
> > ----
> > 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
>
> ----
> 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
>
----
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
|