Subject: | CPAN build of Tcl fails on darwin x86_64 |
Date: | Mon, 19 Apr 2010 19:08:10 +0200 |
To: | bug-Tcl [...] rt.cpan.org |
From: | onitake [...] gmail.com |
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