[comp.soft-sys.andrew] Andrew without Internet?

n025fc@tamuts.tamu.edu (Kevin Weller) (03/11/91)

I apologize if this seems like an incredibly silly question, but I am
very much a beginner with X and Andrew.  Besides, I can't find
anything in the docs that states, in a nutshell, exactly what Andrew
is!  According to my interpretation, it is a set of X applications
with a common protocol for multimedia document storage and
transfer--that about right?  I'm mainly interested in the word
processing and graphics programs, not the mail stuff.

Now the real question: Does Andrew require a machine to be connected
to the internet?  See, I'm not on internet (though I have access to it
via campus computers), and in fact, I'm not currently on ANY network.
The only reason I can run X11R4 under XENIX SysV (for 386 PC's) is the
socket EMULATION driver Chain Lee wrote.  Since I'm not currently
interested in the networking aspects of X, I'd just like to compile
those parts of Andrew that do word processing, spreadsheets, etc.  I
thought I configured the installation accordingly, but it seems that
some source in the overhead library requires true networking support;
my compile is currently stuck on overhead/util/lib/getaddr.c since my
machine HAS NO INTERNET ADDRESS to get.  Is there something extra I
should be doing to disable network reliance in the Andrew system?

Any configuring/compiling tips at all would be greatly appreciated,
but if I can't make Andrew work without TCP/IP or something, then I'll
just have to give up for now.  I hope that won't be necessary, but
I've learned to take the "you can't do that on your puny little
system" response with some composure. :-(

Thanx in advance!  -- Kev
--
------------------------------------------------------------------------------
Kevin L. Weller                                 /-------+--------------------\
internet: n025fc@tamuts.tamu.edu                |  aTm  |  GIG 'EM, AGGIES!  |
CIS:      73327,1447  (but I rarely log on)     \-------+--------------------/
------------------------------------------------------------------------------
%SYS-E-BADOPSYS, Fatal system error, DEC VMS halting  / "And now for something
-SYS-I-GETUNIX, Replace with UNIX immediately!       /  completely different."
----------------------------------------------------------------- Monty Python

gk5g+@ANDREW.CMU.EDU (Gary Keim) (03/12/91)

Excerpts from misc: 10-Mar-91 Andrew without Internet? Kevin
Weller@tut.cis.ohi (2249)

> I
> thought I configured the installation accordingly, but it seems that
> some source in the overhead library requires true networking support;
> my compile is currently stuck on overhead/util/lib/getaddr.c since my
> machine HAS NO INTERNET ADDRESS to get.

Can you send the build errors?  If you have the proper include files
this module should compile regardless of you network situation.  Please
report which of the include file in that module are actually on your
system.

Gary Keim
ATK Group

n025fc@tamuts.tamu.edu (Kevin Weller) (03/15/91)

I wrote:
  >> I
  >> thought I configured the installation accordingly, but it seems that
  >> some source in the overhead library requires true networking support;
  >> my compile is currently stuck on overhead/util/lib/getaddr.c since my
  >> machine HAS NO INTERNET ADDRESS to get.

In article <IbqwGRG00VsWQAgUhj@andrew.cmu.edu> gk5g+@ANDREW.CMU.EDU (Gary Keim) writes:
   > Can you send the build errors?  If you have the proper include files
   > this module should compile regardless of you network situation.  Please
   > report which of the include file in that module are actually on your
   > system.
   >
   > Gary Keim
   > ATK Group

I have <sys/socket.h>, which defines the sockaddr and sockaddr_un data
structures, plus a few manifest constants.  I do NOT have any <net/*>
or <netinet/*> header files, which several of the sources in
overhead/util/lib need for other structures and constants, such as
sockaddr_in, ifreq, SIOCGIFCONF, SOCK_DGRAM, etc.  I am also missing
<sys/wait.h> and <sys/nlist.h> files (makedepend looks for them),
which I have always thought were available on only a few platforms;
there is no conditional compilation about them, though.

Here's a transcript of compile messages for getaddr.c:

        gcc -DNOSTDHDRS /lib/386/Slibgnu.a /lib/386/Slibsocket.a
/lib/386/Slibd\
ir.a /lib/386/Slibmalloc.a /lib/386/Slibx.a /usr/lib/libX11.a
/u/users/kevin/li\
b/c/klw.a -c -I.  -O -I/usr/local/lib/andrew/include/atk
-I/usr/local/lib/andre\
w/include -I//usr/local/lib/gcc-include -I//usr/include   getaddr.c
getaddr.c: In function getaddr:
getaddr.c:27: storage size of `ifc' isn't known
getaddr.c:28: storage size of `ifs' isn't known
getaddr.c:31: `SOCK_DGRAM' undeclared (first use this function)
getaddr.c:31: (Each undeclared identifier is reported only once
getaddr.c:31: for each function it appears in.)
getaddr.c:34: `ifc' undeclared (first use this function)
getaddr.c:34: `ifs' undeclared (first use this function)
getaddr.c:36: `SIOCGIFCONF' undeclared (first use this function)
getaddr.c:40: invalid use of undefined type `struct ifreq'
getaddr.c:45: invalid use of undefined type `struct sockaddr_in'
getaddr.c:46: invalid use of undefined type `struct sockaddr_in'


-- Kev
--
------------------------------------------------------------------------------
Kevin L. Weller                                 /-------+--------------------\
internet: n025fc@tamuts.tamu.edu                |  aTm  |  GIG 'EM, AGGIES!  |
CIS:      73327,1447  (but I rarely log on)     \-------+--------------------/
------------------------------------------------------------------------------
%SYS-E-BADOPSYS, Fatal system error, DEC VMS halting  / "And now for something
-SYS-I-GETUNIX, Replace with UNIX immediately!       /  completely different."
----------------------------------------------------------------- Monty Python

gk5g+@ANDREW.CMU.EDU (Gary Keim) (03/21/91)

Excerpts from misc: 14-Mar-91 Re: Andrew without Internet? Kevin
Weller@apple.com (2861)

> I do NOT have any <net/*>
> or <netinet/*> header files, which several of the sources in
> overhead/util/lib need for other structures and constants, such as
> sockaddr_in, ifreq, SIOCGIFCONF, SOCK_DGRAM, etc.  I am also missing
> <sys/wait.h> and <sys/nlist.h> files (makedepend looks for them),
> which I have always thought were available on only a few platforms;

What is the politically correct set of header files?  I'm of the opinion
that UNIX machines should have network support regardless of whether or
not they are actually hooked up to a wire.  Opinions?  On what machine
type are you trying to build Andrew?