user-1912
02-10-2017, 04:07 AM
Hi, I have installed Mojolicious with command
, and it's up to date (7.46)but it still warned me to install Mojolicious and reverted to sequential indexing.
Code:
cpan Mojolicious
cpan Mojolicious
perl -V
perl -MMojo::UserAgent -e 'print $INC{"Mojo/UserAgent.pm"},"\n"'
root@Debian7:~# cpan Mojolicious
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 01 Oct 2017 22:17:02 GMT
Mojolicious is up to date (7.46).
root@Debian7:~# perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=linux, osvers=4.9.0-2-amd64, archname=x86_64-linux-gnu-thread-multi
uname='linux tatooine 4.9.0-2-amd64 #1 smp debian 4.9.13-1 (2017-02-27) x86_64 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Dldflags= -Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.14 -Darchlib=/usr/lib/perl/5.14 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.14.2 -Dsitearch=/usr/local/lib/perl/5.14.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dusesitecustomize -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.14.2 -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
root@Debian7:~# perl -MMojo::UserAgent -e 'print $INC{"Mojo/UserAgent.pm"},"\n"'
Can't locate IO/Socket/IP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.14.2/Mojo/IOLoop/Client.pm line 5.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Mojo/IOLoop/Client.pm line 5.
Compilation failed in require at /usr/local/share/perl/5.14.2/Mojo/IOLoop.pm line 7.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Mojo/IOLoop.pm line 7.
Compilation failed in require at /usr/local/share/perl/5.14.2/Mojo/UserAgent.pm line 6.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Mojo/UserAgent.pm line 6.
Compilation failed in require.
BEGIN failed--compilation aborted.
Site design Copyright © SquarePenguin; some rights reserved.