在mac上编译a2ps

在mac上编译a2ps,c,configuration-files,C,Configuration Files,我正在mac机器上编译a2ps,运行时出错。/configure Checking host system type... configure: error: can not guess host type; you must specify one 尝试了不同的主机选项,但不起作用。您是否安装了Xcode命令行工具?i、 e.你有C编译器吗?否,我正在使用gcc“检查C编译器(gcc)是否工作……是的”你需要命令行工具来获得构建gcc的编译器。-

我正在mac机器上编译
a2ps
,运行时出错。/configure

Checking host system type... configure: error: 
                      can not guess host type; you must specify one

尝试了不同的主机选项,但不起作用。

您是否安装了Xcode命令行工具?i、 e.你有C编译器吗?否,我正在使用gcc“检查C编译器(gcc)是否工作……是的”你需要命令行工具来获得构建gcc的编译器。-away看起来你需要更新自动工具,以便它们具有正确的配置(使用包管理器,如macports、home brew或fink,使这更容易)