Thread Modul wird von normalem benutzer nicht gefunden, von root schon. (10 answers)
Opened by hop at 2016-07-07 14:43

GwenDragon
 2016-07-07 15:18
#185045 #185045
User since
2005-01-17
14533 Artikel
Admin1
[Homepage]
user image
root@s2 ~ # cpan Data::UUID
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 07 Jul 2016 12:53:49 GMT
Running install for module 'Data::UUID'
Fetching with LWP:
http://ftp.hawo.stw.uni-erlangen.de/CPAN/authors/i...
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Data-UUID-1.221.tar.gz ok
Configuring R/RJ/RJBS/Data-UUID-1.221.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Configured options (run perl Makefile.PL --help for how to change this):
UUID state storage: /tmp
default umask: 0007
Generating a Unix-style Makefile
Writing Makefile for Data::UUID
Writing MYMETA.yml and MYMETA.json
RJBS/Data-UUID-1.221.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for R/RJ/RJBS/Data-UUID-1.221.tar.gz
cp UUID.pm blib/lib/Data/UUID.pm
Running Mkbootstrap for Data::UUID ()
chmod 644 UUID.bs
/usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -typemap /usr/share/perl/5.20/ExtUtils/typemap -typemap typemap UUID.xs > UUID.xsc && mv UUID.xsc UUID.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.221\" -DXS_VERSION=\"1.221\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE" -D_STDIR=\"/tmp\" -D__linux__ -D_DEFAULT_UMASK=0007 UUID.c
rm -f blib/arch/auto/Data/UUID/UUID.so
cc -shared -L/usr/local/lib -fstack-protector UUID.o -o blib/arch/auto/Data/UUID/UUID.so \
\

chmod 755 blib/arch/auto/Data/UUID/UUID.so
/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- UUID.bs blib/arch/auto/Data/UUID/UUID.bs 644
Manifying blib/man3/Data::UUID.3pm
RJBS/Data-UUID-1.221.tar.gz
/usr/bin/make -- OK
Running make test
Running Mkbootstrap for Data::UUID ()
chmod 644 UUID.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t ................. ok
t/from-name-collisions.t .. ok
t/leaky_dollar_bang.t ..... ok
t/pod-coverage.t .......... skipped: Pod coverage tests are not active. Please set $ENV{AUTHOR_TESTING} to activate.
t/pod.t ................... skipped: Pod coverage tests are not active. Please set $ENV{AUTHOR_TESTING} to activate.
t/segv.t .................. ok
t/threads.t ............... ok
All tests successful.
Files=7, Tests=36, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.43 cusr 0.02 csys = 0.50 CPU)
Result: PASS
RJBS/Data-UUID-1.221.tar.gz
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/auto/Data/UUID/UUID.so
Installing /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Data/UUID.pm
Installing /usr/local/man/man3/Data::UUID.3pm
Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/perllocal.pod
RJBS/Data-UUID-1.221.tar.gz
/usr/bin/make install -- OK


Wie du siehst ist das Modul nach /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/ installiert.

Vielleicht ist das Makefile.PL bei der Version für 5.14 nicht in Ordnung gewesen?
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Modul wird von normalem benutzer nicht gefunden, von root schon.