2011-02-17 56 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