Open smile4steve opened 9 years ago
Hi @smile4steve, I think this is another form of GH #409 -- which should be solved. Can you retry the command:
\curl -L http://install.perlbrew.pl | bash
And see if the error still happens ? Basically vendorlib is added back to @INC.
Installing on Oracle Linux 7 in Oracle Virtual Box. the default perl is /usr/bin/perl (5.16.3). The @INC includes path to Getopt::Long, but the INC array is munged by the installer. Here's the details:
[sshriver@localhost] [4]:48: --> \curl -L http://install.perlbrew.pl | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 315 100 315 0 0 545 0 --:--:-- --:--:-- --:--:-- 544 100 1254 100 1254 0 0 1248 0 0:00:01 0:00:01 --:--:-- 1248
Download the latest perlbrew
Installing perlbrew
Can't locate Getopt/Long.pm in @INC (@INC contains: FatPacked::19272960=HASH(0x1261500) /usr/share/perl5 /usr/lib64/perl5 /usr/local/share/perl5 /usr/local/lib64/perl5) at perlbrew-15067 line 33. BEGIN failed--compilation aborted at perlbrew-15067 line 33. Compilation failed in require at perlbrew-15067 line 5795. BEGIN failed--compilation aborted at perlbrew-15067 line 5795. Tue Nov 17 21:52:21 [ ~/bin ]
[sshriver@localhost] [4]:49: --> testpm Getopt::Long running /usr/bin/perl v(5.16.3)
[sshriver@localhost] [4]:53: --> perl -MData::Dumper -E 'say Dumper(\@INC);' $VAR1 = [ '/usr/share/perl5/vendor_perl', '/usr/local/lib64/perl5', '/usr/local/share/perl5', '/usr/lib64/perl5/vendor_perl', '/usr/share/perl5/vendor_perl', '/usr/lib64/perl5', '/usr/share/perl5', '.' ];