[MacPorts] #23085: wml-2.0.11 can't use modules using XS modules
#23085: wml-2.0.11 can't use modules using XS modules ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: wml ---------------------------------------------+------------------------------ In Pass 3, ePerl can't use any perl modules trying to load XS modules. Test case (test.wml): {{{ <: use Unicode::Normalize; :> }}} Error message: {{{ $ wmk test.wml /opt/local/bin/wml -n -o test.html test.wml ePerl:Error: Perl parsing error (interpreter rc=255) ---- Contents of STDERR channel: --------- Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/HTML/Parser/Parser.bundle' for module HTML::Parser: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/HTML/Parser/Parser.bundle, 1): Symbol not found: _PL_stack_sp Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/HTML/Parser/Parser.bundle Expected in: dynamic lookup at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/HTML/Parser.pm line 17 Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9 /darwin-2level/HTML/Entities.pm line 152. Compilation failed in require at /var/folders/Ch/ChY3Q9vKGC0hUFzIVzsXHU+++TI/-Tmp-//wml.88655.tmp1.wml line 22. BEGIN failed--compilation aborted at /var/folders/Ch/ChY3Q9vKGC0hUFzIVzsXHU+++TI/-Tmp-//wml.88655.tmp1.wml line 22. ------------------------------------------ ** WML:Break: Error in Pass 3 (rc=1). ** WMK:Error: Error in WML (rc=256) }}} A check with other XS-dependent modules – Scalar::Util and Unicode::Normalize – resulted in similar error messages. -- Ticket URL: <http://trac.macports.org/ticket/23085> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23085: wml-2.0.11 can't use modules using XS modules ---------------------------------------------+------------------------------ Reporter: reg-macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: wml ---------------------------------------------+------------------------------ Comment(by reg-macports.org@…): 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"). Compiling perl5.8 with -D useshrplib (see patch) indeed fixes the problem. -- Ticket URL: <http://trac.macports.org/ticket/23085#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23085: wml-2.0.11 can't use modules using XS modules ----------------------------------------------+----------------------------- Reporter: reg-macports.org@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: duplicate | Keywords: Port: wml | ----------------------------------------------+----------------------------- Changes (by jmr@…): * cc: reg-macports.org@… (removed) * status: new => closed * resolution: => duplicate Comment: Closing since you opened #23089 for the same problem. -- Ticket URL: <http://trac.macports.org/ticket/23085#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts