没有创建“Makefile”KAMENSKY/Text-Bidi-2.11.tar.gz

没有创建“Makefile”KAMENSKY/Text-Bidi-2.11.tar.gz

我正在尝试在 centos 6.x 上通过 cpan 安装以下 perl 模块,但不幸的是出现了错误。请提供解决方案。

  • 文本::Bidi
  • 版本:0.03
  • 用途:标签批次PDF

亚太网络

/usr/bin/cpan 脚本版本 1.9,CPAN.pm 版本 1.9402

PERL

这是为 x86_64-linux-thread-multi 构建的 perl,v5.10.1 (*)

错误

[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

日志已经建议了如何解决这个问题:

Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc' here

相关内容