C Ubuntu 64上的gethostbyaddr

C Ubuntu 64上的gethostbyaddr,c,ubuntu,autotools,C,Ubuntu,Autotools,运行mozart oz的配置脚本可以提供以下信息: 正在检查stdint.h。。。(缓存)是 正在检查gethostbyaddr in-lnsl。。。否 正在-lc中检查gethostbyaddr。。。否 正在检查gethostbyaddr。。。否 配置:错误:函数gethostbyaddr不可用。 系统无法构建 配置:错误:/home/stewart/dev/mozart/mozart/platform/emulator/configure针对emulator的配置失败 配置:错误:/hom

运行mozart oz的配置脚本可以提供以下信息:


正在检查stdint.h。。。(缓存)是
正在检查gethostbyaddr in-lnsl。。。否
正在-lc中检查gethostbyaddr。。。否
正在检查gethostbyaddr。。。否
配置:错误:函数gethostbyaddr不可用。
系统无法构建

配置:错误:/home/stewart/dev/mozart/mozart/platform/emulator/configure针对emulator的配置失败
配置:错误:/home/stewart/dev/mozart/mozart/platform/configure平台失败


如何在最新的ubuntu 64机器上获取gethostbyaddr?

gethostbyaddr
位于C库中,必须为运行的ubuntu系统安装该库。
configure
脚本中可能存在错误

我不知道为什么
configure
脚本失败,但您可能希望从
mozart/platform/emulator/configure.in
中删除引用
gethostbyaddr
的所有行。在
中,后跟一个
autoreconf

,执行以下操作:

sudo apt get install tk dev tcl dev build essential libc6 dev g++-multilib ia32 libs lib32z1 dev lib32gmp3 dev


这就解决了问题。

测试它是否确实存在的最佳方法是什么?我想不然就不行了--thanks@Setori:用更简单的安装说明更新了我的帖子。不可能,因为我想在代码库上工作。此外,我不认为莫扎特是在64位软件包回购。我记得是这样的。@Setori:再次更新。你在SVN工作吗?显然,他们对它进行了更新,使Linux/x64的构建更加容易。有一种努力是,一旦名单上的人满意,这将是典型的莫扎特。谢谢你的小费,我会照你说的做。