2011-02-17 54 views
2

运行莫扎特盎司配置脚本,使我这个:gethostbyaddr在Ubuntu 64

checking for stdint.h... (cached) yes
checking for gethostbyaddr in -lnsl... no
checking for gethostbyaddr in -lc... no
checking for gethostbyaddr... no
configure: error: Function gethostbyaddr is not available.
The system cannot be built.

configure: error: /home/stewart/dev/mozart/mozart/platform/emulator/configure failed for emulator
configure: error: /home/stewart/dev/mozart/mozart/platform/configure failed for platform

我怎么gethostbyaddr我的最新的Ubuntu 64台机器上?

回答

2

命令和apt-get安装TK-dev的TCL-dev的建立必要的libc6-dev的G ++ - multilib的IA32-库lib32z1-dev的lib32gmp3-dev的

此修复它。

0

gethostbyaddr位于C库中,它必须安装用于工作的Ubuntu系统。在configure脚本中可能存在一个错误。

我不知道为什么configure脚本失败,但你可能需要删除引用从mozart/platform/emulator/configure.ingethostbyaddr所有行,接着是autoreconf

+0

什么是测试它是否存在的最佳方法? 我想它不会工作,否则 - 谢谢 – Setori 2011-02-17 16:46:44