Problems building a thread-enabled 8.5 tclkit to load a stubs extension into.
CJL <[email protected]> Wed, 31 Mar 2010 01:08:50 -0700 (PDT)
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <2da8c3e0-0380-448a-9160-f2416501d3cd@y14g2000yqm.googlegroups.com> |
I'm trying to build a thread-enabled 8.5 tclkit, on Linux, into which I will be loading a stubs-enabled extension, but I'm not making progress. I followed the instructions here: http://groups.google.com/group/starkit/browse_thread/thread/ce8d1c347d9674ac ... with a couple of slight variations : I got my Tcl and Tk sources from sf.net (following the instructions literally got me 8.6, which I'm not ready for). For my config-generation stage, I did: $ sh config.sh 8.5/kit-cjl thread cli When I build it, I get a tclkit-cli in 8.5/kit-cjl, and it is thread- enabled. However, loading a stubs extension fails: $ ./tclkit-cli % load mylib.so couldn't load file "mylib.so": mylib.so: undefined symbol: Tcl_InitStubs If I do the same thing in the tclsh8.5 that got built into 8.5/kit-cjl/ build/bin, it is both thread-enabled and happy to load the same extension. Do I need to do some modification of ../../ makefile.include ? I have also tried with the following config line: $ sh config.sh 8.5/kit-cjl thread dyn cli In that scenario, at two stages in the make process I end up in a tclsh, with the following: cp kit-cli tclkit-cli && strip tclkit-cli && tclkit-cli application-specific initialization failed: /path/to/kitgen/8.5/kit-cjl-dyn/tclkit-cli has no VFS data to start up % ./kit-cli -init- ../../setupvfs.tcl -t tclkit-cli cli and cp kit-dyn tclkit-dyn && strip tclkit-dyn tclkit-dyn && tclkit-dyn application-specific initialization failed: /path/to/kitgen/8.5/kit-cjl-dyn/tclkit-dyn has no VFS data to start up % ./kit-cli -init- ../../setupvfs.tcl -t tclkit-dyn dyn For both, I just gave it a Ctrl-D to exit the shell. In the none-dyn case, that doesn't occur. Chris -- You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en To unsubscribe, reply using "remove me" as the subject.