[MacPorts] #22316: Perl 5.8 not built with threading support
MacPorts
noreply at macports.org
Sat Oct 31 11:11:08 PDT 2009
#22316: Perl 5.8 not built with threading support
--------------------------------+-------------------------------------------
Reporter: triddle@… | Owner: macports-tickets@…
Type: enhancement | Status: closed
Priority: Low | Milestone:
Component: ports | Version: 1.8.1
Resolution: invalid | Keywords:
Port: perl5.8 |
--------------------------------+-------------------------------------------
Changes (by macsforever2000@…):
* status: new => closed
* type: request => enhancement
* resolution: => invalid
Old description:
> 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.
New description:
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.
--
Comment:
You need to install with the +threads variant. In your case you can
upgrade to it.
{{{
sudo port upgrade perl5.8 +threads
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22316#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list