필자는 새로운 Opensuse 설치에 여러 개의 perl 모듈을 설치하려고했지만 아무 소용이 없었습니다. 나는 CPAN, PPM을 통해 둘 다 설치하려고 수동하지만 같은 오류가 초래 유지 한 :perl 모듈을 설치할 수 없습니다 opensuse 12.2
Unparsable version '' for prerequisite Test at Makefile.PL line 4.
그럼에도 불구하고, Makefile.PL
문제없이 실행할 수 보이지만 문제로 후속 메이크업 실행 incurrs. 이것은 내가 생각하는 문제를 일으키는 메시지입니다 :
make: *** [LevenshteinXS.o] Error 127
JGOLDBERG/Text-LevenshteinXS-0.03.tar.gz
/usr/bin/make -- NOT OK
내가이 whereis make
을하려고 노력하고 결과는 좋아 보인다
make: /usr/bin/make /usr/bin/X11/make /usr/share/man/man1/make.1.gz /usr/share/man/man1p/make.1p.gz
여기 CPAN이 말해 이전에 수행되는 작업의 전체 재검 표입니다 설치 실패 :
CPAN: Storable loaded ok (v2.34)
Reading '/home/tito/.cpan/Metadata'
Database was generated on Wed, 24 Oct 2012 19:07:03 GMT
Running install for module 'Text::LevenshteinXS'
Running make for J/JG/JGOLDBERG/Text-LevenshteinXS-0.03.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.048)
Checksum for /home/tito/.cpan/sources/authors/id/J/JG/JGOLDBERG/Text-LevenshteinXS-0.03.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120630)
CPAN.pm: Building J/JG/JGOLDBERG/Text-LevenshteinXS-0.03.tar.gz
Unparsable version '' for prerequisite Test at Makefile.PL line 4.
Checking if your kit is complete...
Looks good
Writing Makefile for Text::LevenshteinXS
Writing MYMETA.yml and MYMETA.json
CPAN: Module::CoreList loaded ok (v2.66)
cp LevenshteinXS.pm blib/lib/Text/LevenshteinXS.pm
AutoSplitting blib/lib/Text/LevenshteinXS.pm (blib/lib/auto/Text/LevenshteinXS)
/usr/bin/perl /usr/lib/perl5/5.16.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.16.0/ExtUtils/typemap LevenshteinXS.xs > LevenshteinXS.xsc && mv LevenshteinXS.xsc LevenshteinXS.c
Please specify prototyping behavior for LevenshteinXS.xs (see perlxs manual)
cc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi/CORE" LevenshteinXS.c
/bin/sh: cc: command not found
make: *** [LevenshteinXS.o] Error 127
JGOLDBERG/Text-LevenshteinXS-0.03.tar.gz
/usr/bin/make -- NOT OK
CPAN: YAML loaded ok (v0.84)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
대단히 감사합니다! 내가 제안한 패키지를 설치하고 문제를 해결했습니다. : D 스택 오버플로가 가장 좋습니다. –