Skip Menu |

This queue is for tickets about the Tcl CPAN distribution.

Report information
The Basics
Id: 56721
Status: resolved
Priority: 0/
Queue: Tcl

Owner: Nobody in particular
Requestors: onitake [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: CPAN build of Tcl fails on darwin x86_64
Date: Mon, 19 Apr 2010 19:08:10 +0200
To: bug-Tcl [...]
From: onitake [...]
Download (untitled) / with headers
text/plain 864b
Hello. I wanted to report that installing Tcl-0.98 from CPAN fails on Mac OS X 10.6, because Tcl-0.98/tcl-core/darwin-universal/libtclstub8.4.a doesn't contain code for all required architectures. Apple ships Snow Leopard with Perl 5.10.0, built as universal binary for x86_64, i386 and ppc. The default CPAN compilation options contain thus "-arch x86_64 -arch i386 -arch ppc", for both compilation and linking. The included libtclstub8.4.a on the other hand has only an i386 and a ppc component. There is a /System/Library/Frameworks/Tcl.framework/Versions/8.4/libtclstub8.4.a that contains all three architectures, so I assume it would be better to use this instead and fall back to the included version when it's not available? Both Tcl and Tkx test and install flawlessly if I make a symlink to the system version of the library. Thanks & Best regards, oni
Download (untitled) / with headers
text/plain 234b
I pushed an updated tclstub in <>. With you can also work around this issue by building the extension with 'perl Makefile.PL --no-usestubs'.
thanks, closing the ticket

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to