|
我下了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/apache --enable-so
--enable-so 这些参数是什么意思呢?
真不好意思,我搜索了论坛好久,可还是没找到我这编译错误的原因,,GOOGLE也搜索了
高手别骂我哦... |
|