2012-05-16 44 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。