Ticket #23089 (closed defect: fixed)
perl5.*: should use -Duseshrplib
|Reported by:||reg-macports.org@…||Owned by:||ricci@…|
|Port:||perl5.8, perl5.10, perl5.12, perl5.14|
Description (last modified by ryandesign@…) (diff)
perl5.8 and perl5.10 should be compiled with a shared perl library:
http://search.cpan.org/perldoc?README.macosx#Known_problems says: The default of building Perl statically may cause problems with complex applications like Tk: in that case consider building shared Perl
Configure ... -Duseshrplib
but remember that there's a startup cost to pay in that case (see above "libperl and Prebinding").
However, http://search.cpan.org/perldoc?README.macosx#libperl_and_Prebinding also says:
With 10.4 "Tiger" and newer, Apple has all but eliminated the performance penalty for non-prebound libraries.
As MacPorts requires OS X 10.5, performance is no longer a reason not to use -Duseshrplib.
However, not using -Duseshrplib breaks at least one port: #23085
- Status changed from new to assigned
- Port changed from perl5.8, perl5.10 to perl5.8, perl5.10, perl5.12, perl5.14
- Status changed from assigned to closed
- Resolution set to fixed