Need Some Help..

Mohan mohan at utusan.com.my
Thu Jan 13 05:00:15 UTC 2000



Appreciate the feedback ( Mark & Roderick ),

I have downloaded 8.2.2 P5 & still get errors when compiling it, mind you
I'm not a programmer, 70% of the errors look like garbage to me...

I followed the instructions on the INSTALL readme, and copied the sun's (ie
#cp Makefile.set.sun Makefile.set) Makefile.set.

What am i doing wrong..??? I have attached the make results.

Finally if the compilation gets done where will the executables be..?? From
what i can see the stdlink directory is created and it has all the files in
it, so does the /usr/local/bind but they are all with ".h" & ".c" 's.....



-- Attached file included as plaintext by Listar --
-- File: BIND8.txt

# more BIND8.txt
HANGES      LICENSE      OLD          TODO         conf         port
DNSSEC       LICENSE_RSA  README       Version      include      tests
INSTALL      Makefile     SUPPORT      bin          lib
# make stdlinks
if [ ! -d /var/obj ]; then \
        mkdir /var/obj; \
fi
make  SRC=`pwd` DST=/var/obj/bind links
make[1]: Entering directory `/ftp/src'
/var/obj/bind
/var/obj/bind/include
make[2]: Entering directory `/var/obj/bind/include'
/var/obj/bind/include/arpa
make[3]: Entering directory `/var/obj/bind/include/arpa'
make[3]: Leaving directory `/var/obj/bind/include/arpa'
/var/obj/bind/include/isc
.
.
.

# make clean
Making /ftp/src/.systype
.
.
rm -f .systype .settings
#
# make depend
Making /ftp/src/.systype
Making .settings
/ftp/src/include
make[1]: Entering directory `/ftp/src/include'
/ftp/src/include/arpa
make[2]: Entering directory `/ftp/src/include/arpa'
make[2]: Nothing to be done for `depend'.
make[2]: Leaving directory `/ftp/src/include/arpa'
/ftp/src/include/isc
make[2]: Entering directory `/ftp/src/include/isc'
make[2]: Nothing to be done for `depend'.
make[2]: Leaving directory `/ftp/src/include/isc'
make[1]: Leaving directory `/ftp/src/include'
/ftp/src/port
make[1]: Entering directory `/ftp/src/port'
/ftp/src/port/solaris
make[2]: Entering directory `/ftp/src/port/solaris'
/ftp/src/port/solaris/include
make[3]: Entering directory `/ftp/src/port/solaris/include'
/ftp/src/port/solaris/include/sys
make[4]: Entering directory `/ftp/src/port/solaris/include/sys'
choose_bitypes
make[4]: Leaving directory `/ftp/src/port/solaris/include/sys'
make_os_version
probe_ipv6
make[3]: Leaving directory `/ftp/src/port/solaris/include'
mkdep -I../../include -I../../port/solaris/include  noop.c
make[2]: Leaving directory `/ftp/src/port/solaris'
make[1]: Leaving directory `/ftp/src/port'
/ftp/src/lib
make[1]: Entering directory `/ftp/src/lib'
/ftp/src/lib/resolv
make[2]: Entering directory `/ftp/src/lib/resolv'
mkdep -I../../include -I../../port/solaris/include  herror.c res_debug.c res_dat
a.c res_comp.c res_init.c res_mkquery.c res_query.c res_send.c res_sendsigned.c
res_mkupdate.c res_update.c res_findzonecut.c
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"/usr/ucbinclude/unistd.h", line 89: macro _PC_LAST redefines previous macro at
"/usr/include/sys/unistd.h", line 197
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
"../../include/resolv.h", line 60:  (in preprocessor if): syntax error
"../../port/solaris/include/port_after.h", line 31:  (in preprocessor if): synta
x error
"res_send.c", line 870: sigmask: argument mismatch
"res_send.c", line 881: sigmask: argument mismatch
"res_send.c", line 882: sigmask: argument mismatch
"res_send.c", line 884: sigmask: argument mismatch
.
.
.
"/usr/ucbinclude/unistd.h", line 109: macro _POSIX_VERSION redefines previous ma
cro at "/usr/include/sys/unistd.h", line 200
^Cmake[2]: *** [depend] Error 1 ( **** I INTERUPTTED THE PROCESS **** )
make[1]: *** [depend] Error 130
make: *** [depend] Error 130
#
# make install ( **** I RAN make all again before installaing **** )
Using .systype
Using .settings
/ftp/src/include
make[1]: Entering directory `/ftp/src/include'
/ftp/src/include/arpa
make[2]: Entering directory `/ftp/src/include/arpa'
mkdir -p /usr/local/bind/include/arpa
set -x; for x in inet.h nameser.h nameser_compat.h; do \
        /usr/ucb/install -c  -m 444 $x /usr/local/bind/include/arpa/$x; \
done
+ /usr/ucb/install -c -m 444 inet.h /usr/local/bind/include/arpa/inet.h
+ /usr/ucb/install -c -m 444 nameser.h /usr/local/bind/include/arpa/nameser.h
+ /usr/ucb/install -c -m 444 nameser_compat.h /usr/local/bind/include/arpa/names
er_compat.h
make[2]: Leaving directory `/ftp/src/include/arpa'
/ftp/src/include/isc
make[2]: Entering directory `/ftp/src/include/isc'
mkdir -p /usr/local/bind/include/isc
set -x; for x in eventlib.h misc.h tree.h logging.h heap.h memcluster.h assertio
ns.h list.h dst.h irpmarshall.h; do \
        /usr/ucb/install -c  -m 444 $x /usr/local/bind/include/isc/$x; \
done
+ /usr/ucb/install -c -m 444 eventlib.h /usr/local/bind/include/isc/eventlib.h
+ /usr/ucb/install -c -m 444 misc.h /usr/local/bind/include/isc/misc.h
+ /usr/ucb/install -c -m 444 tree.h /usr/local/bind/include/isc/tree.h
+ /usr/ucb/install -c -m 444 logging.h /usr/local/bind/include/isc/logging.h
+ /usr/ucb/install -c -m 444 heap.h /usr/local/bind/include/isc/heap.h
+ /usr/ucb/install -c -m 444 memcluster.h /usr/local/bind/include/isc/memcluster
.h
+ /usr/ucb/install -c -m 444 assertions.h /usr/local/bind/include/isc/assertions
.h
+ /usr/ucb/install -c -m 444 list.h /usr/local/bind/include/isc/list.h
+ /usr/ucb/install -c -m 444 dst.h /usr/local/bind/include/isc/dst.h
+ /usr/ucb/install -c -m 444 irpmarshall.h /usr/local/bind/include/isc/irpmarsha
ll.h
make[2]: Leaving directory `/ftp/src/include/isc'
+ /usr/ucb/install -c -m 444 netdb.h /usr/local/bind/include/netdb.h
+ /usr/ucb/install -c -m 444 resolv.h /usr/local/bind/include/resolv.h
+ /usr/ucb/install -c -m 444 res_update.h /usr/local/bind/include/res_update.h
+ /usr/ucb/install -c -m 444 irs.h /usr/local/bind/include/irs.h
+ /usr/ucb/install -c -m 444 irp.h /usr/local/bind/include/irp.h
+ /usr/ucb/install -c -m 444 hesiod.h /usr/local/bind/include/hesiod.h
make[1]: Leaving directory `/ftp/src/include'
/ftp/src/port
make[1]: Entering directory `/ftp/src/port'
/ftp/src/port/solaris
make[2]: Entering directory `/ftp/src/port/solaris'
/ftp/src/port/solaris/include
make[3]: Entering directory `/ftp/src/port/solaris/include'
/ftp/src/port/solaris/include/sys
make[4]: Entering directory `/ftp/src/port/solaris/include/sys'
mkdir -p /usr/local/bind/include/sys
choose_bitypes
sys/bitypes.h is up-to-date.
for x in bitypes.h cdefs.h; do \
        if [ -f $x ]; then \
                /usr/ucb/install -c -m 444 $x /usr/local/bind/include/sys/$x;\
        fi; \
done
make[4]: Leaving directory `/ftp/src/port/solaris/include/sys'
for x in "" ; do \
    if [ -n "$x" ]; then \
        /usr/ucb/install -c -m 444 $x /usr/local/bind/include/$x; \
    fi; \
done
make[3]: Leaving directory `/ftp/src/port/solaris/include'
make[2]: Leaving directory `/ftp/src/port/solaris'
make[1]: Leaving directory `/ftp/src/port'
/ftp/src/lib
make[1]: Entering directory `/ftp/src/lib'
/ftp/src/lib/resolv
make[2]: Entering directory `/ftp/src/lib/resolv'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/resolv'
/ftp/src/lib/irs
make[2]: Entering directory `/ftp/src/lib/irs'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/irs'
/ftp/src/lib/isc
make[2]: Entering directory `/ftp/src/lib/isc'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/isc'
/ftp/src/lib/bsd
make[2]: Entering directory `/ftp/src/lib/bsd'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/bsd'
/ftp/src/lib/inet
make[2]: Entering directory `/ftp/src/lib/inet'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/inet'
/ftp/src/lib/nameser
make[2]: Entering directory `/ftp/src/lib/nameser'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/nameser'
/ftp/src/lib/dst
make[2]: Entering directory `/ftp/src/lib/dst'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/dst'
/ftp/src/lib/cylink
make[2]: Entering directory `/ftp/src/lib/cylink'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/cylink'
/ftp/src/lib/dnssafe
make[2]: Entering directory `/ftp/src/lib/dnssafe'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/ftp/src/lib/dnssafe'
mkdir -p /usr/local/bind/lib
make[1]: *** No rule to make target `../lib/libbind.a', needed by `/usr/local/bi
nd/lib/libbind.a'.  Stop.
make[1]: Leaving directory `/ftp/src/lib'
make: *** [install] Error 2
#
 



More information about the bind-users mailing list