Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Can't locate Pugs/Runtime/Match/HsBridge.pm #21

Open

Description

@coke

Many of the spec test files warn about this, e.g.:

*** Can't locate Pugs/Runtime/Match/HsBridge.pm in @INC (@INC contains: /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at (eval 7) line 1.

Activity

  1. audreyt commented on Jul 18, 2012

    @audreyt

    Hmm, it works for me locally. Would this help?

    cd Pugs.hs
    cp -Rf Pugs/blib6 /home/coke/.cabal/share/Pugs-6.2.13.20120717

  2. coke commented on Jul 18, 2012

    @coke
    Author

    No effect. Having done that, I still get the error. here's a little more detail:

    $ ./perl6 -e '/a/'
    Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {
        unshift @INC, '/home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib';
        eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;
    }
    'Pugs::Runtime::Match::HsBridge'
    "
    *** Can't locate Pugs/Runtime/Match/HsBridge.pm in @INC (@INC contains: /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at (eval 3) line 1.
    
    *** Cannot parse regex: a
    *** Error: Error: Can't call method "__RUN__" on an undefined value.
    
  3. audreyt commented on Jul 18, 2012

    @audreyt

    Ahh, I'm seeing that now, too. Will take a look tomorrow to repair it.

    Fortunately, it seems that Perl5 embedding itself still works:

    pugs> eval '$]' :lang<perl5>
    5.012004
  4. coke commented on Jul 18, 2012

    @coke
    Author

    The copy command was slightly off. when I relocated things under ~/.cabal, I now get:

    ./perl6 -e '/a/'
    *** Cannot parse regex: a
    *** Error: Error: Can't call method "__RUN__" on an undefined value
    

    which is much better.

    ... it would be nice to have this already be setup when running "make", though. (But this is good enough for me to close this ticket)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions