免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2372 | 回复: 2
打印 上一主题 下一主题

[Mail] could not locate the pod2man program. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-01-28 14:24 |只看该作者 |倒序浏览
  1. [root@mail Mail-SpamAssassin-2.63]# perl Makefile.PL
  2. What email address or URL should be used in the suspected-spam report
  3. text for users who want more information on your filter installation?
  4. (In particular, ISPs should change this to a local Postmaster contact)
  5. default text: [the administrator of that system]


  6. Warning: I could not locate your pod2man program. Please make sure,
  7. & & & & your pod2man program is in your PATH before you execute 'make'

  8. Writing Makefile for Mail::SpamAssassin
  9. Makefile written by ExtUtils::MakeMaker 6.05
  10. [root@mail Mail-SpamAssassin-2.63]# locate pod2man
  11. /usr/bin/pod2man
  12. /usr/share/man/man1/pod2man.1.gz
  13. [root@mail Mail-SpamAssassin-2.63]# echo $PATH
  14. /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
复制代码


请问大概是什么原因?

论坛徽章:
0
2 [报告]
发表于 2004-06-01 10:17 |只看该作者

could not locate the pod2man program.

顶上来,我也遇到了这种问题,用
perl -MCPAN -e shell        

cpan>; install Archive::Zip
提示
.
.
.

  CPAN.pm: Going to build N/NE/NEDKONZ/Archive-Zip-1.10.tar.gz

Checking if your kit is complete...
Looks good

Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Archive::Zip
Makefile:88: *** missing separator.  Stop.
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

在安装SpamAssassin
cpan>; install Mail::SpamAssassin
.
.
.
.
.

  CPAN.pm: Going to build F/FE/FELICITY/Mail-SpamAssassin-2.63.tar.gz

What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system]

Checking if your kit is complete...
Looks good

Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.03
Makefile:94: *** missing separator.  Stop.
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible


是少装了什么模块?还是什么原因呀?我已经重新安装了POD2MAN了,但还是提示这个,在安装其他模块时都没问题
cpan>; install File::MMagic
cpan>; install Config::IniFiles
cpan>; install Convert::TNEF
cpan>; install Convert::UUlib
cpan>; install Compress::Zlib
cpan>; install Archive::Tar
cpan>; install Archive::Zip
cpan>; install Unix::Syslog
cpan>; install MIME::Base64
cpan>; install Net::Server
cpan>; install Net::SMTP
Should all FTP connections be passive (y|n) ? [no] no
cpan>; install Digest::MD5
cpan>; install Time::HiRes

有没有老大给帮忙指点指点呀.

论坛徽章:
0
3 [报告]
发表于 2006-09-01 16:05 |只看该作者

我也是刚刚遇到此问题.不知道楼主解决没有,使用以下命令pass

帖子很常时间了,相信楼主早已经解决了,为了方便其他人,现将解决方法贴出:善始善终.^_^.

Use this line to generate the Makefile before running "make":

  LANG=C perl Makefile.PL
or alternatively,

  unset LANG
  perl Makefile.PL
or alternatively,

Edit your /etc/sysconfig/i18n file and change the "LANG" value from "en_US.UTF-8" to "en_US"

This will work around this bug in the RH9 perl package.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP