Tcl Source Code

View Ticket
Login
Ticket UUID: 3433012
Title: Tcl on Mac OS X fails to build if --disable-load is used
Type: Bug Created on: 2011-11-03 22:35:28
Submitter: rkeene Assigned to: dkf
Subsystem: 53. Configuration and Build Tools Severity:
Priority: 5 Medium Last modified: 2013-02-05 16:22:45
Status: Closed Closed by: dkf
Resolution: Fixed Closed on: 2013-02-05 09:22:45
Version: obsolete: 8.5.10
Description:
On Darwin/Mac OS X Tcl 8.5.10 and Tcl 8.6b2 fail to build if --disable-load is used due to TCL_LOAD_FROM_MEMORY always being defined for Darwin.

The code in generic/tclIOUtil.c that is ifdef'd out by this macro references symbols that do not get generated if --disable-load is used
User Comments:
stwo added on 2011-11-17 23:49:49:
I don't think there's a lot I can do about this.
Recommend assigning to a Mac person.

stwo added on 2013-01-31 21:27:40:
Anyone? Bueller?

dkf added on 2013-02-05 16:22:45:

allow_comments - 1

I'm not sure that the --disable-load version will work due to the way that Tcl connects with the OS, but it will at least make it through compilation now. (I just added suitable dummy functions to tclLoadNone.c that fail gracefully.)