perl 모듈 설치가 잘 안되는군요.

ahoops의 이미지

왜안되는걸까요 ㅡㅡ;
우분투 9.10 기본환경입니다.

$ sudo cpan URI::Find::Simple
CPAN: File::HomeDir loaded ok (v0.88)
CPAN: Storable loaded ok (v2.18)
Going to read /home/ahoops/.cpan/Metadata
  Database was generated on Tue, 29 Dec 2009 05:38:02 GMT
CPAN: YAML loaded ok (v0.70)
Going to read /home/ahoops/.cpan/build/
............................................................................DONE
Found 4 old builds, restored the state of 4
Running install for module 'URI::Find::Simple'
Running make for T/TO/TOMI/URI-Find-Simple-1.01.tar.gz
  Has already been unwrapped into directory /home/ahoops/.cpan/build/URI-Find-Simple-1.01-VTpvZe
  Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/find.t .. no_plan takes no arguments at t/find.t line 4.
t/find.t .. 1/? 
#   Failed test 'expcted matches new text'
#   at t/find.t line 43.
#          got: 'this is a long string with [[ <a href="http://www.news.com/" rel="nofollow">http://www.news.com/</a> ]] urls in it in
# <[[ <a href="http://various.com/" rel="nofollow">http://various.com/</a> ]]> different forms. [[ mailto:tom@jerakeen.org ]].
# Some urls are [[ <a href="ftp://not.http.urls/and/have/paths" rel="nofollow">ftp://not.http.urls/and/have/paths</a> ]].
# '
#     expected: 'this is a long string with [[ <a href="http://www.news.com/" rel="nofollow">http://www.news.com/</a> ]] urls in it in
# [[ <a href="http://various.com/" rel="nofollow">http://various.com/</a> ]] different forms. [[ mailto:tom@jerakeen.org ]].
# Some urls are [[ <a href="ftp://not.http.urls/and/have/paths" rel="nofollow">ftp://not.http.urls/and/have/paths</a> ]].
# '
# Looks like you failed 1 test of 16.
t/find.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests 
 
Test Summary Report
-------------------
t/find.t (Wstat: 256 Tests: 16 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
Files=1, Tests=16,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.10 cusr  0.01 csys =  0.15 CPU)
Result: FAIL
Failed 1/1 test programs. 1/16 subtests failed.
make: *** [test_dynamic] 오류 1
  TOMI/URI-Find-Simple-1.01.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports TOMI/URI-Find-Simple-1.01.tar.gz
Running make install
  make test had returned bad status, won't install without force
aero의 이미지

http://rt.cpan.org/Public/Bug/Display.html?id=48071
에 보면 이미 보고가 되어있는 문제인데 URI::Find::Simple의 문제라기 보다는
URI::Find::Simple 모듈이 상속하는 URI::Find 모듈이 버젼업되면서 약간 동작방식이
달라진데 따른 문제인 것 같네요. 뭐 쓰는데는 크게 문제가 없어보이니 그냥
cpan -f URI::Find::Simple
명령으로 강제로 설치해서 쓰셔도 될듯합니다.

ahoops의 이미지

잘설치되어지네요. 감사합니다 ^^
aero++ while(1);

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.