Closed Johnsik closed 8 years ago
Hi,
This is doesn't look like a problem with Optware-ng: Cwd module works fine with Optware-ng perl (same i686 feed):
root@DiskStation:~# /opt/bin/perl
use Cwd;
print getcwd;
^D
/root
It's /usr/bin/perl
that's reporting error -- not /opt/bin/perl
, and I doubt that /usr/bin/perl
is a link to /opt/bin/perl
-- right? (Make sure with ls -l /usr/bin/perl
). And it wrongly picks up an Optware-ng perl module, so it's of no surprise an error occurs.
Why this is happening is a different question. Did you set PERL5LIB
or PERLLIB
env variables? The only ways to add non-standard @INC
locations is via these, or passing the -I
flag to perl
/usr/bin/perl
is a link to /opt/bin/perl
so it's the same.
No, I don't set PERL5LIB
or PERLLIB
.
But there is no problem on the same machine (and on the same session) with Perl 5.20.1 that I was build from Optware-ng sources. I'm only change 5.22 to 5.20 and do make.
Only try to install gitolite
and you can see it.
Should be fixed now, thanks for the report
Сonfirm. Fixed!
With Perl 5.22.1 (latest in Optware-ng) i see:
With Perl 5.20.1 (penultimate in Optware-ng) I see:
With 5.20.1 all work fine (with the exception of warnings of cource)