运行莫扎特盎司的配置脚本给我这个:
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
如何在我最新的ubuntu 64机器上获得gethostbyaddr?
答案 0 :(得分:2)
做一个
sudo apt-get install tk-dev tcl-dev build-essential libc6-dev g ++ - multilib ia32-libs lib32z1-dev lib32gmp3-dev
这解决了它。
答案 1 :(得分:0)
gethostbyaddr
位于C库中,必须为正常运行的Ubuntu系统安装。 configure
脚本中可能存在错误。
我不知道configure
脚本失败的原因,但您可能希望从gethostbyaddr
删除引用mozart/platform/emulator/configure.in
的所有行,然后删除autoreconf
。