From: K S. <kis...@ya...> - 2011-03-14 03:38:43
|
Hi, OK, I have noticed a couple of problems with this script, and in my case it caused the default Tcl/Tk installed on the system (8.5.7) instead of the local Tcl/Tk (8.5.9) to be run. I think I have corrected this problem now. Hopefully this will also fix my user's problem. Thanks for your help, Kevin. I would not have looked at the generated script in detail without your input! Cheers, Kish --- On Mon, 14/3/11, K Shen <kis...@ya...> wrote: > > #! /bin/sh > ECLIPSEDIR="${ECLIPSEDIR:-/Users/kish/Tests/Eclipse6.0_168}" > DYLD_LIBRARY_PATH="$ECLIPSEDIR/lib/x86_64_macosx:/Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx/lib:$DYLD_LIBRARY_PATH" > DYLD_FRAMEWORK_PATH="/Users/kish/Tests/Eclipse6.0_168/tcltk/Library/Frameworks:$DYLD_FRAMEWORK_PATH" > TCL_LIBRARY="${TCL_LIBRARY:-/Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx/lib/tcl8.5}" > TK_LIBRARY="${TK_LIBRARY:-/Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx/lib/tk8.5}" > DAVINCIHOME="${DAVINCIHOME:-$ECLIPSEDIR/daVinci/x86_64_macosx}" > JRE_HOME="${JRE_HOME:-/Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home}" > export ECLIPSEDIR TCL_LIBRARY TK_LIBRARY > DYLD_FRAMEWORK_PATH DYLD_LIBRARY_PATH DAVINCIHOME JRE_HOME > exec > "/Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx/bin/wish8.5" > "/Users/kish/Tests/Eclipse6.0_168/lib_tcl/tkeclipse.tcl" -- > "$@" > > The Tcl/Tk tarball was installed in > > /Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx > > Note that in the above, DYLD_LIBRARY_PATH is not set to > point to > > /Users/kish/Tests/Eclipse6.0_168/tcltk/x86_64_macosx/lib, > > which is where the X11 libtcl libtk are, so they should not > be found. > > > Cheers, > > Kish > > > -- Kevin Walzer > > Code by Kevin > > http://www.codebykevin.com > > > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > |