Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#22316 closed enhancement (invalid)

Perl 5.8 not built with threading support — at Version 1

Reported by: triddle@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: perl5.8

Description (last modified by mf2k (Frank Schima))

The current Perl 5.8 port does not support threading however the Apple supplied Perl 5.8 does. I think that the Macports install of Perl in this instance should match the features of the vendor supplied perl. Is it possible to update the compile flags so the 5.6 threading model (ithreads) is supported?

Here is the difference between Macports perl and the Apple supplied perl:

Foodmotron:~ tyler$ echo "use threads;" | /usr/bin/perl #expected result
Foodmotron:~ tyler$ echo "use threads;" | /opt/local/bin/perl #unexpected result
This Perl not built to support threads
Compilation failed in require at - line 1.
BEGIN failed--compilation aborted at - line 1.

This is true for Leopard and Snow Leopard at this time.

Change History (1)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Resolution: invalid
Status: newclosed
Type: requestenhancement

You need to install with the +threads variant. In your case you can upgrade to it.

sudo port upgrade perl5.8 +threads
Note: See TracTickets for help on using tickets.