htdig: compilation error


Matt Cheselka (cheselka@noao.edu)
Fri, 21 Aug 1998 13:31:03 -0700


Hi there,

I'm trying to install ht://dig on my Solaris 2.5 machine. The version
of ht://Dig is htdig-3.0.8b2.

I've modified my CONFIG file as required, and then I did a 'make'. Here
is a copy of what happened (this is a little long):

cc -c -I. -I. -O dbminit.c
cc -c -I. -I. -O delete.c
cc -c -I. -I. -O fetch.c
cc -c -I. -I. -O store.c
cc -c -I. -I. -O seq.c
cc -c -I. -I. -O close.c
cc -c -I. -I. -O dbmopen.c
cc -c -I. -I. -O dbmdelete.c
cc -c -I. -I. -O dbmfetch.c
cc -c -I. -I. -O dbmstore.c
cc -c -I. -I. -O dbmseq.c
cc -c -I. -I. -O dbmclose.c
cc -c -I. -I. -O dbmdirfno.c
cc -c -I. -I. -O dbmpagfno.c
cc -c -I. -I. -O dbmrdonly.c
cc -c -I. -I. -O gdbmopen.c
cc -c -I. -I. -O gdbmdelete.c
cc -c -I. -I. -O gdbmfetch.c
cc -c -I. -I. -O gdbmstore.c
cc -c -I. -I. -O gdbmclose.c
cc -c -I. -I. -O gdbmreorg.c
cc -c -I. -I. -O gdbmseq.c
cc -c -I. -I. -O gdbmsync.c
cc -c -I. -I. -O gdbmerrno.c
cc -c -I. -I. -O gdbmexists.c
cc -c -I. -I. -O gdbmsetopt.c
cc -c -I. -I. -O bucket.c
cc -c -I. -I. -O falloc.c
cc -c -I. -I. -O findkey.c
cc -c -I. -I. -O global.c
cc -c -I. -I. -O hash.c
cc -c -I. -I. -O update.c
cc -c -I. -I. -O version.c
rm -f libgdbm.a
ar q libgdbm.a dbminit.o delete.o fetch.o store.o seq.o close.o
dbmopen.o dbmdel
ete.o dbmfetch.o dbmstore.o dbmseq.o dbmclose.o dbmdirfno.o dbmpagfno.o
dbmrdon
ly.o gdbmopen.o gdbmdelete.o gdbmfetch.o gdbmstore.o gdbmclose.o
gdbmreorg.o g
dbmseq.o gdbmsync.o gdbmerrno.o gdbmexists.o gdbmsetopt.o bucket.o
falloc.o fin
dkey.o global.o hash.o update.o version.o
ar: creating libgdbm.a
echo ranlib libgdbm.a
ranlib libgdbm.a
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. hashrexp.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rx.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxanal.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxbasic.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxbitset.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxcset.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxdbug.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxgnucomp.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxhash.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxnfa.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxnode.c
"rxnode.c", line 48: warning: assignment type mismatch:
        pointer to uchar "=" pointer to char
"rxnode.c", line 91: warning: assignment type mismatch:
        pointer to uchar "=" pointer to char
"rxnode.c", line 123: warning: assignment type mismatch: pointer
to uchar "=" pointer to char
"rxnode.c", line 167: warning: assignment type mismatch:
        pointer to char "=" pointer to uchar
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxposix.c
"rxposix.c", line 239: warning: argument #7 is incompatible with
prototype:
        prototype: pointer to const uchar : "./rxbasic.h", line 43
        argument : pointer to const char
"rxposix.c", line 326: warning: argument #2 is incompatible with
prototype:
        prototype: pointer to const uchar : "./rxanal.h", line 60
        argument : pointer to const char
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxsimp.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxspencer.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxstr.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxsuper.c
cc -c -I. -I. -I./../libsystas -g -DSTDC_HEADERS=1 -I. rxunfa.c
rm -f librx.a
ar rc librx.a hashrexp.o rx.o rxanal.o rxbasic.o rxbitset.o rxcset.o
rxdbug.o rx
gnucomp.o rxhash.o rxnfa.o rxnode.o rxposix.o rxsimp.o rxspencer.o
rxstr.o rxsup
er.o rxunfa.o
echo ranlib librx.a
ranlib librx.a
c++ -c -g -O
-DDEFAULT_CONFIG_FILE=\"/home/cheselka/progs/c/htdig/htdig-3.0.8b2
/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../gdbm-1.7.3
-I../rx
-1.5/rx Configuration.cc
In file included from /usr/local/lib/g++-include/streambuf.h:36,
                 from /usr/local/lib/g++-include/iostream.h:31,
                 from /usr/local/lib/g++-include/fstream.h:30,
                 from Configuration.cc:21:
/usr/local/lib/g++-include/libio.h:55: sys/cdefs.h: No such file or
directory
*** Error code 1
make: Fatal error: Command failed for target `Configuration.o'
Current working directory
/home/cheselka/progs/c/htdig/htdig-3.0.8b2/htlib
*** Error code 1
make: Fatal error: Command failed for target `all'

Any ideas????

Thanks,

Matt Cheselka

+------------------------------------------------+
Matthew Cheselka,
Philomat
IRAF Group
internet: cheselka@noao.edu National Optical Astronomy
Observatories
wk: (520) 318-8402

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:16 PST