Tcl Source Code

View Ticket
Login
Ticket UUID: 2957998
Title: Packages tdbc and itcl not built when
Type: Bug Version: obsolete: 8.6b1.1
Submitter: zoro2 Created on: 2010-02-24 14:48:59
Subsystem: 81. Bundled Packages Assigned To: kennykb
Priority: 5 Medium Severity:
Status: Open Last Modified: 2010-03-09 03:44:33
Resolution: None Closed By:
    Closed on:
Description:
When building Tcl 8.6b1.1 (with Tcl 8.4 already in the system and on path) it seems that itcl and tdbc packages do not get built - it seems that configure for these packages picks up Tcl 8.4 in the system and refuses to compile the packages. Configure was run from win directory with sh configure --prefix=Y:/tests/_install_dynamic/vmwinxp/tcl - no additional flags or anything extraordinary.

Output from 'make all' command:
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for Tcl public headers... /y/tests/sources/tcl-8.6b1.1//generic
checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /e/Home/dbn/lba/night/builds/win32-ix86/tcl
Building package 'itcl'
make[1]: Entering directory `/y/tests/_build_dynamic/vmwinxp/tcl/pkgs/itcl'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/y/tests/_build_dynamic/vmwinxp/tcl/pkgs/itcl'
Configuring package '/y/tests/sources/tcl-8.6b1.1//pkgs/tdbc' wd = /y/tests/_build_dynamic/vmwinxp/tcl/pkgs/tdbc
checking for correct TEA configuration... ok (TEA 3.7)
checking for cygpath... echo
checking for Tcl configuration... found /c/Tcl/lib/tclConfig.sh
checking for existence of /c/Tcl/lib/tclConfig.sh... loading
configure: error: tdbc 1.0b9 requires Tcl 8.5 or newer.
Found configuration for Tcl 8.4.
Building package 'tdbc'
make[1]: Entering directory `/y/tests/_build_dynamic/vmwinxp/tcl/pkgs/tdbc'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/y/tests/_build_dynamic/vmwinxp/tcl/pkgs/tdbc'
User Comments: zoro2 added on 2010-03-09 03:44:33:
Hello,

I attached logs from a build that fails. Basically it's done from Tcl, but building this standalone also fails. Tdbc and Itcl are built as part of 'packges' target in Tcl itself, so I do not call configure scripts from these packages separately - hence no way to specify --with-tcl. My understanding was that Makefile from Tcl could point to correct directory, but I am not expert enough to guess.

Like I said, this only happens on win32, on Unix those packages are built correctly.

zoro2 added on 2010-03-09 03:42:49:

File Added - 365885: tclbuild.zip

dgp added on 2010-03-09 03:15:53:
Hmm, the *packages targets in win/Makefile
differ significantly from those in unix/Makefile.

Passing to kbk for a first look.

dgp added on 2010-03-09 02:58:36:
Hold on; I don't think I got it.

Can you give the complete script of what
you did and what you saw?

dgp added on 2010-03-09 02:56:23:
When there are multiple releases installed, it
is customary to use configure option --with-tcl=
to determine the one you wish to use.  Do things
work properly with that addition?

Attachments: