Centos 6.x에서 cpan을 통해 다음 Perl 모듈을 설치하려고 하는데 불행하게도 오류가 발생합니다. 해결하도록 조언 부탁드립니다.
- 텍스트::bidi
- 버전: 0.03
- 목적: PDF 일괄 주석
CPAN
/usr/bin/cpan 스크립트 버전 1.9, CPAN.pm 버전 1.9402
펄
이것은 x86_64-linux-thread-multi, v5.10.1(*)용으로 빌드된 Perl입니다.
실수
[root@csc ~]# cpan Text::Bidi
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Fri, 26 Feb 2016 08:17:02 GMT
Running install for module 'Text::Bidi'
CPAN: YAML loaded ok (v0.72)
Running make for K/KA/KAMENSKY/Text-Bidi-2.11.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /root/.cpan/sources/authors/id/K/KA/KAMENSKY/Text-Bidi-2.11.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
Text-Bidi-2.11
Text-Bidi-2.11/Changes
Text-Bidi-2.11/t
Text-Bidi-2.11/t/ucd.t
Text-Bidi-2.11/LICENSE
Text-Bidi-2.11/INSTALL
Text-Bidi-2.11/dist.ini
Text-Bidi-2.11/META.yml
Text-Bidi-2.11/cpanfile
Text-Bidi-2.11/MANIFEST
Text-Bidi-2.11/private.c
Text-Bidi-2.11/misc
Text-Bidi-2.11/misc/bidi
Text-Bidi-2.11/t/shape.t
Text-Bidi-2.11/META.json
Text-Bidi-2.11/weaver.ini
Text-Bidi-2.11/Makefile.PL
Text-Bidi-2.11/t/known.txt
Text-Bidi-2.11/MANIFEST.SKIP
Text-Bidi-2.11/bin
Text-Bidi-2.11/bin/fribidi.pl
Text-Bidi-2.11/swig
Text-Bidi-2.11/swig/fribidi.i
Text-Bidi-2.11/t/00-version.t
Text-Bidi-2.11/t/BidiTest.txt
Text-Bidi-2.11/t/00-compile.t
Text-Bidi-2.11/lib/Text
Text-Bidi-2.11/lib/Text/Bidi.pm
Text-Bidi-2.11/t/BidiTest.txt.gz
Text-Bidi-2.11/xt/author
Text-Bidi-2.11/xt/author/critic.t
Text-Bidi-2.11/t/00-report-prereqs.t
Text-Bidi-2.11/xt/release
Text-Bidi-2.11/xt/release/distmeta.t
Text-Bidi-2.11/lib/Text/Bidi
Text-Bidi-2.11/lib/Text/Bidi/Array.pm
Text-Bidi-2.11/t/00-report-prereqs.dd
Text-Bidi-2.11/xt/release/pod-syntax.t
Text-Bidi-2.11/lib/Text/Bidi/private.pm
Text-Bidi-2.11/xt/release/portability.t
Text-Bidi-2.11/xt/release/pod-coverage.t
Text-Bidi-2.11/xt/release/test-version.t
Text-Bidi-2.11/lib/Text/Bidi/Constants.pm
Text-Bidi-2.11/lib/Text/Bidi/Paragraph.pm
Text-Bidi-2.11/lib/Text/Bidi/Array
Text-Bidi-2.11/lib/Text/Bidi/Array/Byte.pm
Text-Bidi-2.11/lib/Text/Bidi/Array/Long.pm
Text-Bidi-2.11/xt/release/minimum-version.t
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build K/KA/KAMENSKY/Text-Bidi-2.11.tar.gz
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fribidi' found
at Makefile.PL line 13.
It seems that fribidi is missing.
fribidi should be installed prior to the installation of this module.
No 'Makefile' created KAMENSKY/Text-Bidi-2.11.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
답변1
마지막에는 다음과 같은 중요한 줄이 있습니다.
It seems that fribidi is missing.
fribidi should be installed prior to the installation of this module.
Perl 모듈은 별도의 구현이 아닌 fribidi에 대한 인터페이스입니다. Perl 모듈을 구축하기 전에 컴퓨터에 이 프로그램을 설치해야 합니다.
확실히 설치했다면 몇 가지 추가 구성이 필요할 수 있습니다.