From: Peter Chubb (peterc@suite.sw.oz.au)
Date: 10/06/92


From: peterc@suite.sw.oz.au (Peter Chubb)
Subject: Getting ingres going...
Date: 7 Oct 1992 04:41:10 GMT


It looks like others are having the same problems I had in
getting Ingres going... In order to save others some time,
here's what I did to get Ingres going on Linux 0.98 + TCP/IP 0.8.1:

1. Create an account called `ingres', password '*'
    su to ingres.
2. Unpack ingres.lzh into ~ingres.
3. Copy ingres.setup into ~ingres
4. Unpack update1.lzh into ~ingres, then run fix.
5. Go into source/iutil, edit the Makefile to delete references to
        -linet. If you don't do this, the concurrency control stuff
        won't work.
6. In ~ingres/source/support, edit destroydb.c to make it include
dirent.h instead of sys/dir.h, and to add the following lines:

#ifdef linux
#define direct dirent
#define rewinddir rewinddir
#endif

before main().
If you don't do this, destroydb will fail on an ext fileystem.

7. In ~ingres/source/dbu, edit sysmon.c, change exit() to exit(0) in
the last line of systm_init().
8. In ~ingres/conf, make allclean.
9. In each subdirectory, make depend. (This requires /bin/ed-- it's
probably not necessary, but I wanted to make sure!)
10. In ~ingres/conf, make allinstall.
11. As root, temporarily make /usr/local/bin and /usr/local/lib
writeable, then run INSTALL.ME.
12. As root, edit /etc/rc.local to run ingreslock, after initialising
all the network daemons.
12. As ingres, run bin/usersetup to fix the users file.
13. As ingres, run bin/demodb.

At this stage, it all seems to work.
        

                        Regards,

                                - Peter Chubb

Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
Phone: +61 2 698 2322; Fax: +61 2 699 9174; Telex: AA27987
Internet: peterc@softway.oz.au UUCP: ...!uunet!softway.oz!peterc