2012-05-16 73 views
2

好吧,我想安裝在Solaris 11錯誤的./configure在solaris 11

BIND在下載使用wget tar文件,然後我使用的提取出來。

後,當我輸入命令:

./configure 

我面對以下錯誤

checking <<some stuff>> 
.. 
.. 
.. 
checking <<some stuff>> 
checking whether we are cross compiling... configure: error: in '/home/user/user/downloads/bind9.8.2 
configure: error: cannot run C compiled programs. 
If you meant to cross compile, use '--host'. 

所以我在選擇使用--host,但我不能讓它的工作, 例如,我進入下面的命令:

./configure --host=ulinux-uclibc 

我接收到一個錯誤說

checking host system type... Invalid configuration 'ulinux-uclibc': machine 'ulinux' not recognized 

謝謝! :)

+0

你甚至可以運行_simple_程序嗎?試試這個:'echo「int main(int arch,char * argv []){return 0;}」> foo.c; cc foo.c; ./a.out' – sarnold

+0

cc劑量工作但gcc工作 – mister

+1

您可能沒有在此Solaris計算機上安裝C編譯器。另外,爲什麼你指定--host = ulinux-uclibc如果它是Solaris機器? –

回答

1

爲什麼不直接從您配置的solaris發行商安裝綁定包?

# pkg install network/dns/bind service/network/dns/bind 

應該準確得到你所需要的。如果您使用pkg.oracle.com/solaris/release發行商,那麼您將獲得ISC Bind v9.6.3。