Changes between Initial Version and Version 2 of Ticket #47015


Ignore:
Timestamp:
Mar 3, 2015, 10:37:23 PM (9 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47015

    • Property Keywords perl removed
  • Ticket #47015 – Description

    initial v2  
    11Hi,
    22
    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:
     3Using informations from ticket:46570 I tried to modify port x11/auto-multiple-choice to use perl variants. I added the lines:
    44
     5{{{
    56PortGroup               perl5 1.0
    67...
     
    910perl5.branches          5.16 5.18 5.20
    1011perl5.create_variants   ${perl5.branches}
     12}}}
    1113
    1214and changed all "port:p5.16" to "port:p${perl5.major}"
     
    1517
    1618If I do
     19{{{
    1720        sudo port install auto-multiple-choice
    1821        auto-multiple-choice
    19 
     22}}}
    2023All works fine, the application is built, installed and works.
    2124
    2225If I do
     26{{{
    2327        sudo port install perl5
    2428        sudo port install auto-multiple-choice
    2529        auto-multiple-choice
    26 
     30}}}
    2731All works fine too, the application is built, installed and works.
    2832
    2933But if I do
     34{{{
    3035        sudo port install perl5 +perl5_20
    3136        sudo port install auto-multiple-choice
    3237        auto-multiple-choice
     38}}}
    3339The application is built, installed but when launched I get the error:
    3440
     41{{{
    3542Can'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.
    3643BEGIN failed--compilation aborted at /opt/local/lib/AMC/perl/AMC-gui.pl line 45.
     44}}}
    3745
    3846I 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.