FW: [rt.cpan.org #56721] CPAN build of Tcl fails on darwin x86_64

[email protected] ("Konovalov, Vadim (Vadim)** CTR **")
Newsgroups perl.tcltk
Message-ID <35BF8D9716175C43BB9D67CA60CC345E1B051DA1@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com>
Hi,

the bug report below contains the bug description and also a suggestion for solving the problem. 
Should we provide better libtclstub8.4.a for the mentioned platform?
Does the binary coming with ActiveTCL 8.4/8.5 do the trick?

Here it is: <<'EOS';

From: onitake via RT [mailto:[email protected]] 
Sent: Monday, April 19, 2010 9:09 PM
Subject: [rt.cpan.org #56721] CPAN build of Tcl fails on darwin x86_64 

     Subject: CPAN build of Tcl fails on darwin x86_64
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=56721 >

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
EOS


Thanks in advance for a good advise,
Vadim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.