Changes between Initial Version and Version 2 of Ticket #47015
- Timestamp:
- Mar 3, 2015, 10:37:23 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47015
- Property Keywords perl removed
-
Ticket #47015 – Description
initial v2 1 1 Hi, 2 2 3 Using informations from <http://trac.macports.org/ticket/46570>I tried to modify port x11/auto-multiple-choice to use perl variants. I added the lines:3 Using informations from ticket:46570 I tried to modify port x11/auto-multiple-choice to use perl variants. I added the lines: 4 4 5 {{{ 5 6 PortGroup perl5 1.0 6 7 ... … … 9 10 perl5.branches 5.16 5.18 5.20 10 11 perl5.create_variants ${perl5.branches} 12 }}} 11 13 12 14 and changed all "port:p5.16" to "port:p${perl5.major}" … … 15 17 16 18 If I do 19 {{{ 17 20 sudo port install auto-multiple-choice 18 21 auto-multiple-choice 19 22 }}} 20 23 All works fine, the application is built, installed and works. 21 24 22 25 If I do 26 {{{ 23 27 sudo port install perl5 24 28 sudo port install auto-multiple-choice 25 29 auto-multiple-choice 26 30 }}} 27 31 All works fine too, the application is built, installed and works. 28 32 29 33 But if I do 34 {{{ 30 35 sudo port install perl5 +perl5_20 31 36 sudo port install auto-multiple-choice 32 37 auto-multiple-choice 38 }}} 33 39 The application is built, installed but when launched I get the error: 34 40 41 {{{ 35 42 Can't locate AMC/Basic.pm in @INC (you may need to install the AMC::Basic module) (@INC contains: /opt/local/lib/perl5/site_perl/5.20/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.20 /opt/local/lib/perl5/vendor_perl/5.20/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.20 /opt/local/lib/perl5/5.20/darwin-thread-multi-2level /opt/local/lib/perl5/5.20 .) at /opt/local/lib/AMC/perl/AMC-gui.pl line 45. 36 43 BEGIN failed--compilation aborted at /opt/local/lib/AMC/perl/AMC-gui.pl line 45. 44 }}} 37 45 38 46 I get the same error when I install perl5_18. All auto-multiple-choice files stays at the same places, whatever perl variant is installed. The unreachable file is in "/opt/local/lib/perl5/vendor_perl/AMC/Basic.pm". With the default perl5 install (perl5_16), it seems that @INC contains the path "/opt/local/lib/perl5/vendor_perl' but not with perl5_18 and perl5_20.