I have a problem with Session
on Perl.
I am trying to fix this error
perl -e "use Session;"
Can't locate Session.pm in @INC (you may need to install the Session module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1. "
I am using Debian 8 64x Server.
I tried:
root@division:/usr/lib/cgi-bin# apt-get install libapache-session-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache-session-perl is already the newest version.
and
perl -MCPAN -e shell
install Session
and
perl -MCPAN -e shell
cpan[1]> install Apache::Session
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 29 May 2017 13:41:02 GMT
Apache::Session is up to date (1.93).
but still I have the same problem
Some information:
# echo 'o conf' | perl -MCPAN -e shell | grep -P '^\s+(make|mbuild)'
make []
make_arg []
make_install_arg []
make_install_make_command []
makepl_arg [INSTALLDIRS=site]
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [./Build]
mbuildpl_arg [--installdirs site]
# set | grep '^PERL'
# perl -le'print for @INC'
/etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2
/usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20
/usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20
/usr/share/perl/5.20
/usr/local/lib/site_perl