编译bind9.1.0错误?

由 print 在 11-03-2003 20:53 发表:

编译bind9.1.0错误?

我下了bind9.1.0.tar.gz 解压了,并且 ./configure --prefix=/server/bind

./configgure 没出现错误,可make出错.提示如下

gcc -g -O2 -I/soft/bind-9.1.0 -I./unix/include -I./pthreads/include -I./include -I./include -D_REENTRANT -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -c unix/time.c

gcc -g -O2 -I/soft/bind-9.1.0 -I./unix/include -I./pthreads/include -I./include -I./include -D_REENTRANT -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -c unix/stdtime.c

unix/stdtime.c: In function `isc_stdtime_get':

unix/stdtime.c:36: `NULL' undeclared (first use in this function)

unix/stdtime.c:36: (Each undeclared identifier is reported only once

unix/stdtime.c:36: for each function it appears in.)

make[2]: *** [unix/stdtime.o] Error 1

make[2]: Leaving directory `/soft/bind-9.1.0/lib/isc'

make[1]: *** [install] Error 1

make[1]: Leaving directory `/soft/bind-9.1.0/lib'

make: *** [install] Error 1

请问如何解决,,

在linux下一般都是这么安装软件的吗?

比如*.tar.gz软件

步骤是先 ./configgure*****

然后是make

最后是make install吗?

我按照上面的方法成功安装好了apache

./configure --prefix=/server/apach

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus