Created
July 6, 2012 13:46
-
-
Save VienosNotes/3060244 to your computer and use it in GitHub Desktop.
Error log with building Rakudo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error log says that | |
--- | |
% ./Configure.pl --gen-parrot | |
Bareword found where operator expected at lib/lib.pm line 3, near "@*INC" | |
(Missing operator before INC?) | |
Operator or semicolon missing before *INC at lib/lib.pm line 3. | |
Ambiguous use of * resolved as operator * at lib/lib.pm line 3. | |
syntax error at lib/lib.pm line 3, near "@*INC" | |
Compilation failed in require at ./Configure.pl line 10. | |
BEGIN failed--compilation aborted at ./Configure.pl line 10. | |
--- | |
and line 10 of Configure.pm is following: | |
use lib "tools/lib"; | |
I think this statement "use lib qw/foo/" adds directory "foo" to @INC by all right, | |
but perl includes a "foo" subroutine in module named "lib" if there is "lib/lib.pm". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason is probably that you have 'lib' in your perl 5
@INC
path (for example throught he PERL5LIB or PERLLIB environment variables), and thus 'use lib ...' tries to load the wrong rakudo's lib/lib.pm, which is written in Perl 6. Can you please check your envirnoment if that is the case?