[MacPorts] #28797: irssi @0.8.15_1+perl error running perl scripts
#28797: irssi @0.8.15_1+perl error running perl scripts --------------------------------+------------------------------------------- Reporter: ae.retro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: irssi --------------------------------+------------------------------------------- Attempting to load any perl script from within a fresh, successful port install of irssi-0.8.15 results in the following error: {{{ BEGIN failed--compilation aborted at (eval 18) line 1. -!- Irssi: Error in script sysinfo277_irssi: Can't locate Irssi.pm in @INC (@INC contains: /Users/ech/.irssi/scripts /opt/local/share/irssi/scripts /opt/local/lib/perl5/5.12.3//darwin-multi-2level /opt/local/lib/perl5/5.12.3/ /opt/local/lib/perl5/site_perl/5.12.3/darwin- multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at (eval 19) line 1. }}} After discovering that the install places that file, along with a handful of others, in the following location: {{{ /opt/local/lib/perl5/darwin/darwin-multi-2level/Irssi.pm }}} I was able to work around this error by adding the appropriate path to the PERL5LIB environment variable: {{{ export PERL5LIB="/opt/local/lib/perl5/darwin/darwin-multi-2level/" }}} Once irssi is run after setting this, it is able to load and run perl scripts without further complaint. I have not checked if this also affects the irssi-devel port. For reference, I am using xcode 3.2.6 and these are my machine's particulars: {{{ $ uname -a Darwin rmc.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386 i386 MacBookPro5,5 Darwin }}} Thanks to vermouth, tmr, roxton, and others on freenode #irssi for helping troubleshoot this. -- Ticket URL: <https://trac.macports.org/ticket/28797> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28797: irssi @0.8.15_1+perl error running perl scripts --------------------------------+------------------------------------------- Reporter: ae.retro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: irssi --------------------------------+------------------------------------------- Comment(by ae.retro@…): After further poking around, it appears user error is to blame for this one. I originally neglected to mention that, for whatever reason, I had set my perl_use_lib setting to "/opt/local/lib/perl5/5.12.3/" Moving my ~/.irssi/config to a different location and causing a new config to be generated, I found that my perl scripts now load successfully and that perl_use_lib is set to "/opt/local/lib/perl5/darwin/darwin-multi-2level/". Please feel free to close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/28797#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28797: irssi @0.8.15_1+perl error running perl scripts ---------------------------------+------------------------------------------ Reporter: ae.retro@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: irssi | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/28797#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts