Overview
| Artifact ID: | c6c8aad70ff5fbac99d221a968a90eda20efb41c |
|---|---|
| Ticket: | 931061ffffffffffffffffffffffffffffffffff
tcl_libPath holds invalid path: @TCL_IN_FRAMEWORK@ |
| User & Date: | tauvan on 2004-04-10 22:32:15 |
Changes
- icomment:
Logged In: YES user_id=1011552 First, to address how "@TCL_IN_FRAMEWORK@" leaks is the makefile seems to set a condition for the boolean to fail. This occurs if the bundled resource is not found leaving the standard unix code using "defaultLibraryDir" which contains "@TCL_IN_FRAMEWORK@". See code "TclpSetVariables" and ask what happens if != TCL_OK. Now, the findings at the time of this submission: Do out of box (2004/03/01 tar.gz) unpack make sure there is no previous install (mac's /System/Library OK as this installs /Library) (may need to can /usr/bin tclsh link, I did, also didn't) from local (added safety) cd to where unpacked (/Users/steven/complex) steven% make -C ./tcl8.4.6/macosx develop steven% make -C ./tcl8.4.6/macosx test-develop steven% ./build/tcl/tcltest ./tcl8.4.6/tests/all.tcl notes @ this point: unixInit-2.8 FAILED + others from Makefile.in (tclUnixInit.o: -DTCL_LIBRARY=\"${TCL_LIBRARY}\") which yields during make (-DTCL_LIBRARY=\ "@TCL_IN_FRAMEWORK@\") can not run from command line can't open library: /Library/Frameworks/Tcl.framework/Versions/ 8.4/Tcl Makefile forces install notes EOF removed all *.test leaving all.tcl, unixInit.test in tests folder steven% make -C ./tcl8.4.6/macosx install-develop steven% make -C ./tcl8.4.6/macosx test-develop notes @ this point: unixInit-2.8 FAILED + other can run from command line from Tcl_MacOSXGetLibraryPath: foundInFramework = error; notes EOF add to the installed /Library framwork Info.plist from build steven% make -C ./tcl8.4.6/macosx test-develop steven% ./build/tcl/tcltest ./tcl8.4.6/tests/all.tcl notes @ this point: unixInit-2.8 FAILED + other from command line no unixInit-2.8 FAILED from Tcl_MacOSXGetLibraryPath: foundInFramework = ok; notes EOF change Tcl_MacOSXGetLibraryPath to load always (ignore "@pooh@"): return Tcl_MacOSXOpenVersionedBundleResources(interp, "com.tcltk.tcllibrary", TCL_VERSION, 0, maxPathLen, tclLibPath); delete /Development/Makefile (force rebuild) steven% make -C ./tcl8.4.6/macosx develop steven% make -C ./tcl8.4.6/macosx install-develop steven% make -C ./tcl8.4.6/macosx test-develop steven% ./build/tcl/tcltest ./tcl8.4.6/tests/all.tcl notes @ this point: unixInit-2.8 FAILED + other from command line no unixInit-2.8 FAILED from Tcl_MacOSXGetLibraryPath: foundInFramework = ok; noticed that only when "make" error occurs only introduced (different) variables "export" notes EOF removed each "export" indivially form /Development/Makefile steven% make -C ./tcl8.4.6/macosx test-develop notes @ this point: removal of "export DYLD_LIBRARY_PATH;" from "test:" in / Development/Makefile stopped error notes EOF this is where I'm at; at the submitting of this to you Summary: Makefile issues. file "tclUnixInit.c" does what it's designed to do. Also wish to discuss suggestions and fixes. Need to understand why "export DYLD_LIBRARY_PATH;" causes fail. When you finish reading and have questions or ready to debate possible suggestions to changes, I look forward to your response. Steven, Thanks. - login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"