Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building an 8.6.0 tclkit #7

Open
cleverly-zz opened this issue Apr 24, 2013 · 0 comments
Open

Problems building an 8.6.0 tclkit #7

cleverly-zz opened this issue Apr 24, 2013 · 0 comments

Comments

@cleverly-zz
Copy link

When I run:

$ mkdir 8.6 && \
tar -C 8.6 -xzvf ~/tcl8.6.0-src.tar.gz && \
mv 8.6/tcl8.6.0 8.6/tcl && \
sh config.sh 8.6/linux-ix86 thread cli && \
cd 8.6/linux-ix86 && \
make

Tcl itself builds OK but configure for the thread extension chokes (newlines added for readability) with:

checking for Tcl public headers... 
configure: error: tcl.h not found.  
Please specify its location with --with-tclinclude

Tcl itself looks fine:

$ build/bin/tclsh8.6
% info patchlevel
8.6.0
% parray tcl_platform
tcl_platform(byteOrder)     = littleEndian
tcl_platform(machine)       = x86_64
tcl_platform(os)            = Linux
tcl_platform(osVersion)     = 2.6.18-238.9.1.el5
tcl_platform(pathSeparator) = :
tcl_platform(platform)      = unix
tcl_platform(pointerSize)   = 8
tcl_platform(threaded)      = 1
tcl_platform(user)          = maclever
tcl_platform(wordSize)      = 8

If I symlink in tcl.h, tclDecls.h and tclPlatDecls.h into build/include like so:

$ cd build/include/
$ ln -s ../../../tcl/generic/tcl.h
$ ln -s ../../../tcl/generic/tclDecls.h
$ ln -s ../../../tcl/generic/tclPlatDecls.h
$ cd -

and re-run make I get a little farther; everything finishes compiling, the upx packer runs, but setupvfs.tcl fails:

./kit-cli -init- ../../setupvfs.tcl -t tclkit-cli cli
application-specific initialization failed: no files matched glob pattern "thread2*"

Suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant