Skip to content
Tcl Source Code View Ticket
Login

View Ticket

error in building outside tcl tree

Closed / Works For Me2902333fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-11-23 08:42:08
Tcl Version: HEAD
OS Platform: win and unix
- Problem:
I can not compile outside the source tree like:
 cd mydir
  /tcldir/win/configure ...
  make
- Fixing:
The error is the statement
  --with-tcl=$(PWD) 
in the packages target. Changing these to
  --with-tcl=$(LIB_INSTALL_DIR)
fixes the problem
The same should be done in the unix dir.
dkf Ticket [2902333fff]: 2 changes [History diff]2009-11-23 16:48:07
dgp Ticket [2902333fff]: 1 change [History diff]2009-12-10 02:48:04
dkfplain2010-02-18 22:00:03
Works for me with a Unix (OSX) build; it uses the tclConfig.sh created as part of building tcl.
dgpplain2010-02-19 04:45:59
Compiling works for me, but I do see some
problems with `make test`.  Seems that the
[package require http 2] inside http.test is
picking up version 2.5.3 while several of the
tests need the features of version 2.7.*

Similarly, [package require msgcat 1.4.2]
is picking up version 1.4.2, but that version
does not work with any stable release of Tcl
since it includes the {expand} syntax.
dgpplain2010-02-19 05:14:29
OOPS!  Those errors came from placing my
build directory too near an old install directory.

Doing the build in a clear area works fine.
sf-robotplain2010-03-05 09:20:31
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.