日時: 2008/12/07 03:29
名前: KIYO*
初めての質問になります、KIYO*と申します。
以前もつまづいた、GeoIPfreeプラグインのインストールがまたもやつまづきました。
以前は cpan2rpm --no-sign --install Geo::IPfree でインストールすることができたのですが・・・
しかし今回はバージョンが0.4になったからなのでしょうか、違うエラーによりインストールできませんでした。
以下はそのときに出たメッセージ
-- cpan2rpm - Ver: 2.027 -- Upgrade check
* A newer version of this program is now available. To upgrade * enter the following command: /usr/bin/cpan2rpm --upgrade
Fetch: HTTP
-- module: Geo::IPfree -- Using cached URL: http://search.cpan.org//CPAN/authors/id/B/BR/BRICAS/Geo-IPfree-0.4.tar.gz Tarball found - not fetching Metadata retrieval Tarball extraction: [/usr/src/redhat/SOURCES/Geo-IPfree-0.4.tar.gz] Generating spec file SPEC: /usr/src/redhat/SPECS/Geo-IPfree.spec Generating package 実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.19158 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf Geo-IPfree-0.4 + /bin/gzip -dc /usr/src/redhat/SOURCES/Geo-IPfree-0.4.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Geo-IPfree-0.4 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -R u+w /usr/src/redhat/BUILD/Geo-IPfree-0.4 + exit 0 実行中(%build): /bin/sh -e /var/tmp/rpm-tmp.19158 + umask 022 + cd /usr/src/redhat/BUILD + cd Geo-IPfree-0.4 + LANG=C + export LANG + unset DISPLAY + grep -rsl '^#!.*perl' . + grep -v '.bak$' + xargs --no-run-if-empty /usr/bin/perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' ++ /usr/bin/perl -MExtUtils::MakeMaker -e ' print qq|PREFIX=/var/tmp/perl-Geo-IPfree-0.4-root/usr| if $ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ ' + /usr/bin/perl Makefile.PL WARNING: LICENSE is not a known parameter. Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Geo::IPfree + /usr/bin/make cp lib/Geo/IPfree.pm blib/lib/Geo/IPfree.pm cp lib/Geo/ipscountry.dat blib/lib/Geo/ipscountry.dat Manifying blib/man3/Geo::IPfree.3pm + /usr/bin/make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic....ok 1/11 # Failed test 'undef result' # in t/basic.t at line 41. t/basic....NOK 11# got: '3' # expected: '0' # Looks like you failed 1 test of 11. t/basic....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 11 Failed 1/11 tests, 90.91% okay t/use......ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/basic.t 1 256 11 1 9.09% 11 Failed 1/2 test scripts, 50.00% okay. 1/12 subtests failed, 91.67% okay. make: *** [test_dynamic] Error 255 エラー: /var/tmp/rpm-tmp.19158 の不正な終了ステータス (%build)
RPM ビルドエラー: /var/tmp/rpm-tmp.19158 の不正な終了ステータス (%build) RPM build failed [1] at /usr/bin/cpan2rpm line 1053. -- Done --
'LICENSE' is not a known MakeMaker parameter name. の辺りからでしょうか しかしどうすれば良いかがわかりません・・・
どなたかご教授願います。
|