MacdeMacBook-Pro:Desktop mac$ tar -xf manpages-zh-1.5.2.tar.bz2

MacdeMacBook-Pro:~ root# cd /Users/mac/Desktop/manpages-zh-1.5.2

注:出现的报错:

MacdeMacBook-Pro:manpages-zh-1.5.2 root# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for autob5... no
configure: error: cannot find autob5, you can install zh-autoconvert from http://ftp.debian.org/debian/pool/main/z/zh-autoconvert, or use --disable-zhtw

出现错误

MacdeMacBook-Pro:manpages-zh-1.5.2 root# echo $?
1

解决问题

MacdeMacBook-Pro:manpages-zh-1.5.2 root# ./configure --prefix=/usr/local/zhman --disable-zhtw
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating DOCS/Makefile
config.status: creating src/Makefile
config.status: creating src/man1/Makefile
config.status: creating src/man1/zh_CN/Makefile
config.status: creating src/man1/zh_TW/Makefile
config.status: creating src/man2/Makefile
config.status: creating src/man2/zh_CN/Makefile
config.status: creating src/man2/zh_TW/Makefile
config.status: creating src/man3/Makefile
config.status: creating src/man3/zh_CN/Makefile
config.status: creating src/man3/zh_TW/Makefile
config.status: creating src/man4/Makefile
config.status: creating src/man4/zh_CN/Makefile
config.status: creating src/man4/zh_TW/Makefile
config.status: creating src/man5/Makefile
config.status: creating src/man5/zh_CN/Makefile
config.status: creating src/man5/zh_TW/Makefile
config.status: creating src/man6/Makefile
config.status: creating src/man6/zh_CN/Makefile
config.status: creating src/man6/zh_TW/Makefile
config.status: creating src/man7/Makefile
config.status: creating src/man7/zh_CN/Makefile
config.status: creating src/man7/zh_TW/Makefile
config.status: creating src/man8/Makefile
config.status: creating src/man8/zh_CN/Makefile
config.status: creating src/man8/zh_TW/Makefile
config.status: creating src/mann/Makefile
config.status: creating src/mann/zh_CN/Makefile
config.status: creating src/mann/zh_TW/Makefile
config.status: creating utils/Makefile

manpages-zh configure summary

UTF-8 : true
zh_CN : true
zh_TW : false

成功了

MacdeMacBook-Pro:manpages-zh-1.5.2 root# echo $?
0

最新文章

  1. C++与C的关系
  2. Java 经典实例:自定义迭代器
  3. dede使用方法----如何转换时间戳
  4. mysql 允许远程登陆
  5. Power Network 分类: POJ 2015-07-29 13:55 3人阅读 评论(0) 收藏
  6. Intent官方教程(6)常见Intent示例,启动日历,时钟,镜头等。
  7. Android稳定性测试之Log分析
  8. linux_grep
  9. 【转】VPN服务器配置详解
  10. [PS相关]DAS,NAS,SAN三种存储技术比较
  11. Flash与EEPROM
  12. vue及Eelement使用过程中遇到的一些问题
  13. 关于Oracle重新启动
  14. Java IO--NIO(二)
  15. Pair Project —— Elevator Scheduler
  16. 套接字编程,建立连接connect,绑定套接字bind
  17. c# 子线程打开子窗体
  18. tar.xz文件的解压
  19. Jquery常用方法合集,超实用
  20. C++类中的访问权限问题

热门文章

  1. Java学习--使用 Math 类操作数据
  2. 述一个程序员的技能:系统安装(win7版)idea配置
  3. 撩课-Java每天5道面试题第15天
  4. Java代码生成图片验证码
  5. 用java访问Oracle数据库、取得记录并输出到界面
  6. Django—Form两种解决表单数据无法动态刷新的方法
  7. 使用Hugo搭建个人博客站点
  8. ArcGIS Pro 自定义坐标系地图矢量切片制作
  9. 专访探探DBA张文升:PG在互联网应用中同样也跑的很欢畅
  10. MUI框架-01-介绍-创建项目-简单页面