Can't compile 8.2.3 or 9.1.0 with SCO OpenServer 5.0.6

VT Agr. Sys Admin - Bob Troester root at agr.state.vt.us
Tue Feb 20 21:19:36 UTC 2001



Had no problem compiling installing 8.2.2p5 with either SCO OpenServer 5.0.4 or
5.0.6 (after updating ports/sco50/probe to include the new release), but I
cannot compile either Bind 8.2.3 or 9.1.x using the SCO development system. I
can't find any mention of these exact problems in the sco or bind newsgroups: it
seems no-one has got 9.1 ported to SCO (??).

The 8.2.3 problem seems simpler in that it appears that there is a SCO-specific
patch to protocol.h that hasn't been updated although protocol.h has been
changed:

root> make depend
Making /var/obj/bind-8.2.3/.systype
Making .settings
/var/obj/bind-8.2.3/include
/var/obj/bind-8.2.3/include/arpa
/var/obj/bind-8.2.3/include/isc
/var/obj/bind-8.2.3/port
/var/obj/bind-8.2.3/port/sco50
/var/obj/bind-8.2.3/port/sco50/include
        rm -f resolv.h
        cp -p ../../../include/resolv.h resolv.h
        /usr/bin/patch -p0 -c -i resolv.h.diffs
Hmm...Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** ../../../include/resolv.h  Sun Sep 13 00:16:19 1998
|--- resolv.h   Wed Sep 16 09:51:37 1998
--------------------------
Patching file resolv.h using Plan A...
Hunk #1 succeeded at 148 with fuzz 1 (offset 16 lines)
Hunk #2 succeeded at 165 (offset 16 lines)
Hunk #3 failed at 176.
1 out of 3 hunks failed--saving rejects to resolv.h.rej
done
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
12:17 - [p17] vtagr02:/var/obj/bind-8.2.3 (237)

It seemed to fail because a structure has been modified and no longer was what
patch was looking for. Eventually I might figure out how to patch the patch
myself - but does anyone know the fix already?

Actually I'd rather use Release 9, but the problem with 9.1.x is harder, since
so much has been changed. 'configure' runs with no complaints, but the make
fails:

checking host system type... i686-pc-sco3.2v5.0.6
...
10:04 - [p17] vtagr02:/local/ftp/www.isc.org/bind-9.1.0 (151)
root> make
making all in /local/ftp/www.isc.org/bind-9.1.0/make
making all in /local/ftp/www.isc.org/bind-9.1.0/lib
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc/include
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc/include/isc
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc/unix
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc/unix/include
making all in /local/ftp/www.isc.org/bind-9.1.0/lib/isc/unix/include/isc
         cc  -g  -I/local/ftp/www.isc.org/bind-9.1.0 -I./include  -I./../nothreads/include  -I../include  -I./../include  -I./..   -D_REENTRANT       -c ipv6.c
"./include/isc/int.h", line 29: error: invalid type combination
"./include/isc/int.h", line 30: error: invalid type combination
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
10:05 - [p17] vtagr02:/local/ftp/www.isc.org/bind-9.1.0 (152)

The lines that it complains about are:
typedef long long			isc_int64_t;
typedef unsigned long long		isc_uint64_t;

I'm so out of it these days, I can't figure out why 'long long' is a invalid
type - maybe the SCO compiler is too primitive for fancier data types, in which
case maybe the best choice is to switch to Linux and gcc...

Any assistance is gratefully appreciated, &c.

-------------------------------------------------------------------------
Bob Troester - System Administrator          | bus.: root at agr.state.vt.us
Vermont Dept. of Agriculture, Food & Markets |pers.:  bob at agr.state.vt.us
116 State St. / Drawer 20                    |        Phone: 802-828-3485
Montpelier, VT 05620-2901, USA               |        Fax:   802-828-2361
.....Any opinions expressed are always correct and totally original......




More information about the bind-users mailing list