先のページでも記した様に、私はCPANサイトから直インストールでは make
testでエラーが出たため
Date::Caleを上手くインストール出来ませんでした(ーー;)
直接 /usr/local/src にDate-Calc-5.3.tar.gzを落として インストールしてみる事にします。
[root@server2src]
#wgethttp://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-5.3.tar.gz--20:31:09-- http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-5.3.tar.gz
=> `Date-Calc-5.3.tar.gz'
search.cpan.org をDNSに問いあわせています...
完了しました。
search.cpan.org[198.246.0.28]:80 に接続しています...
接続しました。
HTTP による接続要求を送信しました、応答を待っています...
302 Found
場所: http://www.cpan.org/authors/id/S/ST/STBEY/Date-Calc-5.3.tar.gz
[続く]
--20:31:09-- http://www.cpan.org/authors/id/S/ST/STBEY/Date-Calc-5.3.tar.gz
=> `Date-Calc-5.3.tar.gz'
www.cpan.org をDNSに問いあわせています...
完了しました。
www.cpan.org[63.251.223.172]:80 に接続しています...
接続しました。
HTTP による接続要求を送信しました、応答を待っています...
200 OK
長さ: 198,831 [application/x-tar]
100%[========================================================>]
198,831 69.85K/s ETA 00:00
20:31:13 (69.85 KB/s) - `Date-Calc-5.3.tar.gz'
を保存しました [198831/198831]
[root@server2 src]
# tar zxvf Date-Calc-5.3.tar.gz
Date-Calc-5.3/
Date-Calc-5.3/examples/
Date-Calc-5.3/examples/weiberfastnacht.pl
Date-Calc-5.3/examples/vacation.pl
Date-Calc-5.3/examples/anniversaries.pl
Date-Calc-5.3/examples/calendar.cgi
Date-Calc-5.3/examples/cal.c
Date-Calc-5.3/examples/income.pl
Date-Calc-5.3/examples/holidays.pl
Date-Calc-5.3/examples/age_in_days_us.pl
Date-Calc-5.3/examples/age_in_days_eu.pl
Date-Calc-5.3/examples/delta.pl
Date-Calc-5.3/examples/nth_weekday.pl
Date-Calc-5.3/examples/linearcal.pl
Date-Calc-5.3/examples/time.pl
Date-Calc-5.3/CHANGES.txt
Date-Calc-5.3/lib/
Date-Calc-5.3/lib/Date/
Date-Calc-5.3/lib/Date/Calc/
Date-Calc-5.3/lib/Date/Calc/Object.pod
Date-Calc-5.3/lib/Date/Calc/Object.pm
Date-Calc-5.3/lib/Date/Calendar/
Date-Calc-5.3/lib/Date/Calendar/Year.pm
Date-Calc-5.3/lib/Date/Calendar/Profiles.pm
Date-Calc-5.3/lib/Date/Calendar/Profiles.pod
Date-Calc-5.3/lib/Date/Calendar/Year.pod
Date-Calc-5.3/lib/Carp/
Date-Calc-5.3/lib/Carp/Clan.pod
Date-Calc-5.3/lib/Carp/Clan.pm
Date-Calc-5.3/t/
Date-Calc-5.3/t/f002.t
Date-Calc-5.3/t/f017.t
Date-Calc-5.3/t/f009.t
Date-Calc-5.3/t/m008.t
Date-Calc-5.3/t/f022.t
Date-Calc-5.3/t/f027.t
Date-Calc-5.3/t/m011.t
Date-Calc-5.3/t/f011.t
Date-Calc-5.3/t/f004.t
Date-Calc-5.3/t/f029.t
Date-Calc-5.3/t/f032.t
Date-Calc-5.3/t/f000.t
Date-Calc-5.3/t/m010.t
Date-Calc-5.3/t/f025.t
Date-Calc-5.3/t/f005.t
Date-Calc-5.3/t/m001.t
Date-Calc-5.3/t/f006.t
Date-Calc-5.3/t/f008.t
Date-Calc-5.3/t/f012.t
Date-Calc-5.3/t/f035.t
Date-Calc-5.3/t/f019.t
Date-Calc-5.3/t/f015.t
Date-Calc-5.3/t/f007.t
Date-Calc-5.3/t/m005.t
Date-Calc-5.3/t/m003.t
Date-Calc-5.3/t/m002.t
Date-Calc-5.3/t/m004.t
Date-Calc-5.3/t/f003.t
Date-Calc-5.3/t/f018.t
Date-Calc-5.3/t/m006.t
Date-Calc-5.3/t/f034.t
Date-Calc-5.3/t/m009.t
Date-Calc-5.3/t/f021.t
Date-Calc-5.3/t/m007.t
Date-Calc-5.3/t/f014.t
Date-Calc-5.3/t/f031.t
Date-Calc-5.3/t/f030.t
Date-Calc-5.3/t/f013.t
Date-Calc-5.3/t/f016.t
Date-Calc-5.3/t/f020.t
Date-Calc-5.3/t/f001.t
Date-Calc-5.3/t/f033.t
Date-Calc-5.3/t/f028.t
Date-Calc-5.3/t/f026.t
Date-Calc-5.3/t/f036.t
Date-Calc-5.3/t/f010.t
Date-Calc-5.3/t/f023.t
Date-Calc-5.3/t/f024.t
Date-Calc-5.3/MANIFEST
Date-Calc-5.3/typemap
Date-Calc-5.3/tools/
Date-Calc-5.3/tools/pc2iso.c
Date-Calc-5.3/tools/compile.sh
Date-Calc-5.3/tools/iso2pc.c
Date-Calc-5.3/tools/compile.pl
Date-Calc-5.3/tools/compile.bat
Date-Calc-5.3/Calc.pod
Date-Calc-5.3/ToolBox.h
Date-Calc-5.3/Calendar.pm
Date-Calc-5.3/EXAMPLES.txt
Date-Calc-5.3/INSTALL.txt
Date-Calc-5.3/DateCalc.c
Date-Calc-5.3/README.txt
Date-Calc-5.3/GNU_LGPL.txt
Date-Calc-5.3/Artistic.txt
Date-Calc-5.3/GNU_GPL.txt
Date-Calc-5.3/TOOLS.txt
Date-Calc-5.3/Calendar.pod
Date-Calc-5.3/DateCalc.h
Date-Calc-5.3/CREDITS.txt
Date-Calc-5.3/Calc.xs
Date-Calc-5.3/Calc.pm
Date-Calc-5.3/Makefile.PL
[root@server2 src]
# cd Date-Calc-5.3
[root@server2 Date-Calc-5.3]
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Date::Calc
Writing patchlevel.h for perl (5.006001)
[root@server2 Date-Calc-5.3]# make
cp lib/Date/Calendar/Year.pm blib/lib/Date/Calendar/Year.pm
cp lib/Date/Calendar/Profiles.pod blib/lib/Date/Calendar/Profiles.pod
cp lib/Date/Calc/Object.pm blib/lib/Date/Calc/Object.pm
cp lib/Date/Calendar/Year.pod blib/lib/Date/Calendar/Year.pod
cp lib/Date/Calc/Object.pod blib/lib/Date/Calc/Object.pod
cp Calc.pod blib/lib/Date/Calc.pod
cp lib/Date/Calendar/Profiles.pm blib/lib/Date/Calendar/Profiles.pm
cp Calc.pm blib/lib/Date/Calc.pm
cp lib/Carp/Clan.pod blib/lib/Carp/Clan.pod
cp Calendar.pod blib/lib/Date/Calendar.pod
cp Calendar.pm blib/lib/Date/Calendar.pm
cp lib/Carp/Clan.pm blib/lib/Carp/Clan.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux
-I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils
/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap
-typemap typemap Calc.xs > Calc.xsc &&
mv Ca
lc.xsc Calc.c
gcc -c -fno-strict-aliasing -O2 -m486 -fno-strength-reduce
-DVERSION=\"5.3\" -DXS_VERSION=\"5.3\"
-fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE
Calc.c
gcc -c -fno-strict-aliasing -O2 -m486 -fno-strength-reduce
-DVERSION=\"5.3\" -DXS_VERSION=\"5.3\"
-fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE
DateCalc.c
Running Mkbootstrap for Date::Calc ()
chmod 644 Calc.bs
rm -f blib/arch/auto/Date/Calc/Calc.so
LD_RUN_PATH="" gcc -shared -L/usr/local/lib
Calc.o DateCalc.o -o blib/arch/auto/Date/Calc/Calc.so
chmod 755 blib/arch/auto/Date/Calc/Calc.so
cp Calc.bs blib/arch/auto/Date/Calc/Calc.bs
chmod 644 blib/arch/auto/Date/Calc/Calc.bs
Manifying blib/man3/Date::Calendar::Profiles.3pm
Manifying blib/man3/Date::Calendar::Year.3pm
Manifying blib/man3/Date::Calc::Object.3pm
Manifying blib/man3/Carp::Clan.3pm
Manifying blib/man3/Date::Calendar.3pm
Manifying blib/man3/Date::Calc.3pm
[root@server2 Date-Calc-5.3]
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch
-Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux
-I/usr/lib/
perl5/5.6.1 -e 'use Test::Harness qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/f000..............ok
t/f001..............ok
t/f002..............ok
t/f003..............ok
t/f004..............ok
t/f005..............ok
t/f006..............ok
t/f007..............ok
t/f008..............ok
t/f009..............ok
t/f010..............ok
t/f011..............ok
t/f012..............ok
t/f013..............ok
t/f014..............ok
t/f015..............ok
t/f016..............ok
t/f017..............ok
t/f018..............ok
t/f019..............ok
t/f020..............ok
t/f021..............ok
t/f022..............ok
t/f023..............ok
t/f024..............ok
t/f025..............ok
t/f026..............ok
t/f027..............ok
t/f028..............ok
t/f029..............ok
t/f030..............ok
t/f031..............ok
t/f032..............ok
t/f033..............ok
t/f034..............ok
t/f035..............ok
t/f036..............ok
t/m001..............ok
t/m002..............ok
t/m003..............ok
t/m004..............ok
t/m005..............FAILED test 5
Failed 1/30 tests, 96.67% okay
t/m006..............ok
t/m007..............ok
t/m008..............ok
t/m009..............ok
t/m010..............ok
t/m011..............ok
Failed Test Status Wstat Total Fail Failed
List of Failed
--------------------------------------------------------------------------------
t/m005.t 30 1 3.33% 5
Failed 1/48 test scripts, 97.92% okay. 1/2716
subtests failed, 99.96% okay.
make: *** [test_dynamic] エラー
29
やっぱりエラーが・・・でも、強引に インストール( ̄∇ ̄)
[root@server2 Date-Calc-5.3]
# make install
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Date/Calc/Calc.so
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Date/Calc/Calc.bs
Files found in blib/arch: installing files
in blib/lib into architecture dependent library
tree
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calc.pod
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calc.pm
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar.pod
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar.pm
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calc/Object.pm
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calc/Object.pod
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar/Year.pm
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar/Profiles.pod
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar/Year.pod
Installing /usr/lib/perl5/site_perl/5.6.1/i386-linux/Date/Calendar/Profiles.pm
Installing /usr/share/man/man3/Date::Calendar::Profiles.3pm
Installing /usr/share/man/man3/Date::Calendar::Year.3pm
Installing /usr/share/man/man3/Date::Calc::Object.3pm
Installing /usr/share/man/man3/Carp::Clan.3pm
Installing /usr/share/man/man3/Date::Calendar.3pm
Installing /usr/share/man/man3/Date::Calc.3pm
Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Date/Calc/.packlist
Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod