You are hereperl installation
perl installation
PERL Version 5.8.1, Wo ist Perl ? Welche Version von Perl habe ich ? Wo sind die Module ?
PERL LOKALISIEREN
# whereis perl
perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz
VERSION ERMITTELN
# perl -v
This is perl, v5.8.1 built for i586-linux-thread-multi
Copyright 1987-2003, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
KONFIGURATION ERMITTELN
# cd /usr/local/src/
/usr/local/src/ # mkdir perl (Verzeichnis anlegen)
/usr/local/src/ # cd perl
/usr/local/src/perl # perl -V > perl_V.txt (Perl Infos abfragen und in Textdatei umleiten)
/usr/local/src/perl # vi perl_V.txt
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.0-test3, archname=i586-linux-thread-multi
uname='linux lifschitz 2.6.0-test3 #1 smp wed dec 22 11:54:27 utc 2004 i686 i686 i386 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing'
ccversion='', gccversion='3.3.1 (SuSE Linux)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Feb 7 2005 11:19:07
@INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
MODULE ERMITTELN ( Wo sind die Module und welche sind installiert ? )
# cd /usr/lib/perl5/5.8.1
/usr/lib/perl5/5.8.1 # ls
. Encode Memoize Thread blib.pm getopts.pl stat.pl
.. English.pm Memoize.pm Thread.pm bytes.pm hostname.pl strict.pm
AnyDBM_File.pm Env.pm NEXT Tie bytes_heavy.pl i586-linux-thread-multi subs.pm
Attribute Exporter NEXT.pm Time cacheout.pl if.pm syslog.pl
AutoLoader.pm Exporter.pm Net UNIVERSAL.pm charnames.pm importenv.pl tainted.pl
AutoSplit.pm ExtUtils PerlIO Unicode complete.pl integer.pm termcap.pl
B Fatal.pm PerlIO.pm User constant.pm less.pm timelocal.pl
Benchmark.pm File Pod Win32.pod ctime.pl locale.pm unicore
CGI FileCache.pm Scalar abbrev.pl diagnostics.pm look.pl utf8.pm
CGI.pm FileHandle.pm Search assert.pl dotsh.pl newgetopt.pl utf8_heavy.pl
CPAN Filter SelectSaver.pm attributes.pm dumpvar.pl open.pm validate.pl
CPAN.pm FindBin.pm SelfLoader.pm auto exceptions.pl open2.pl vars.pm
Carp Getopt Shell.pm autouse.pm fastcwd.pl open3.pl vmsish.pm
Carp.pm Hash Switch base.pm fields.pm overload.pm warnings
Class I18N Switch.pm bigfloat.pl filetest.pm perl5db.pl warnings.pm
DB.pm IO Symbol.pm bigint.pl find.pl pod
Devel IPC Term bigint.pm finddepth.pl pwd.pl
Digest.pm List Test bignum.pm flush.pl shellwords.pl
DirHandle.pm Locale Test.pm bigrat.pl getcwd.pl sigtrap.pm
Dumpvalue.pm Math Text bigrat.pm getopt.pl sort.pm
Links: http://netmirror.org/mirror/selfhtml/cgiperl/module/standardmodule.htm
