🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.infosystems.wais
Article #320

Re: Trouble installing WAIS on Ultrix 4.2

#320
From: Marianne Boudot
Date: Tue, 08 Dec 1992 10:06
86 lines
3456 bytes
Problems with DECStation 5000/Ultrix 4.2 :

I had the same problem under the X directory, compiling with
make -f My-Makefile, even after having added to the line
declaring the paths for the includes, the path where Xaw can be found

More generally, I have problems to compile all the clients
(X and not X) :
I get with no problems waisserver and waissindex, but for
the others I get the following messages :

(I  compile with cc and have added the option -YBSD as without it I got
a lot of warnings about prototype)

5.1/ir -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG" TOP=/usr/wais/wais-8-b5.1
cc -YBSD -g -I/usr/wais/wais-8-b5.1/ir -DSECURE_SERVER -DRE
LEVANCE_FEEDBACK -DUSG -c shell-ui.c
ccom: Error: /usr/include/netdb.h, line 17: redeclaration of hostent
      struct    hostent {
      ------------------^
ccom: Error: /usr/include/netdb.h, line 30: redeclaration of netent
      struct    netent {
      -----------------^
ccom: Error: /usr/include/netdb.h, line 37: redeclaration of servent
      struct    servent {
      ------------------^
ccom: Error: /usr/include/netdb.h, line 44: redeclaration of protoent
      struct    protoent {
      -------------------^
ccom: Error: /usr/include/netdb.h, line 50: redeclaration of rpcent
      struct rpcent {
      --------------^
*** Error code 1
cc -YBSD -g -I/usr/wais/wais-8-b5.1/ir -DSECURE_SERVER -DRE
LEVANCE_FEEDBACK -DUSG -c waisq.c
...............

cc -YBSD -g -I/usr/wais/wais-8-b5.1/ir -DSECURE_SERVER -DRE
LEVANCE_FEEDBACK -DUSG -c source.c
ccom: Error: /usr/include/netdb.h, line 17: redeclaration of hostent
      struct    hostent {
      ------------------^
ccom: Error: /usr/include/netdb.h, line 30: redeclaration of netent
      struct    netent {
      -----------------^
ccom: Error: /usr/include/netdb.h, line 37: redeclaration of servent
      struct    servent {
      ------------------^
ccom: Error: /usr/include/netdb.h, line 44: redeclaration of protoent
      struct    protoent {
      -------------------^
ccom: Error: /usr/include/netdb.h, line 50: redeclaration of rpcent
      struct rpcent {
      --------------^
*** Error code 1
cc -YBSD -g -I/usr/wais/wais-8-b5.1/ir -DSECURE_SERVER -DRE
LEVANCE_FEEDBACK -DUSG -c screen-ui.c
ccom: Warning: screen-ui.c, line 1858: ambiguous assignment (=-); = - assumed
                  selection=-1;
      ----------------------^
./fix-gmacs.sh wais.el
Substituting /usr/wais/wais-8-b5.1 for /proj/wais/wais in w
ais.el
`default' not remade because of errors



and same messages for the compilation of X directory


Finally I get the object files : waisq.o, xwais.o, ...
but no more



Thanks for anyone who can help me

-- 
 Marianne Boudot
 				  
 Inria Centre de Sophia Antipolis | Tel: (33) 93 65 77 27
 2004, Route des Lucioles	  | Fax: (33) 93 65 76 02
 BP 93	 			  | Email:  Marianne.Boudot@sophia.inria.fr
 06902 Sophia Antipolis (France)  | X400 :  C=fr; A=atlas; P=inria; OU=sophia;
				  |	    S=Boudot; G=Marianne
 
Technical Details
Message-ID: <35694@sophia.inria.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!julienas!sophia!tlaloc.inria.fr!boudot
References: <1992Dec7.233749.19231@elroy.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!julienas!sophia!tlaloc.inria.fr!boudot
From: boudot@tlaloc.inria.fr (Marianne Boudot)
Newsgroups: comp.infosystems.wais
Subject: Re: Trouble installing WAIS on Ultrix 4.2
Message-ID: <35694@sophia.inria.fr>
Date: 8 Dec 92 10:06:28 GMT
References: <1992Dec7.233749.19231@elroy.jpl.nasa.gov>
Sender: news@sophia.inria.fr
Organization: INRIA, Sophia-Antipolis (Fr)
Lines: 86