Return to BSD News archive
Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!pipex!sunic!news.chalmers.se!me.chalmers.se!dana
From: dana@me.chalmers.se (Dan Andersson)
Subject: Re: Postgres / ingres
Message-ID: <CB98GG.1rr@news.chalmers.se>
Sender: news@news.chalmers.se
Nntp-Posting-Host: theta.me.chalmers.se
Organization: Chalmers University of Technology
References: <CB3yG4.AL2@usenet.ucs.indiana.edu>
Date: Wed, 4 Aug 1993 21:45:52 GMT
Lines: 194
I use the version of ingres04.lzh found at tsx-11.mit.edu with some fixes for
386bsd. The fixes are for 386bsd and not 'generic' with ifs...
diff -rc /usr/home/ingres/source/Config /usr/home/dana/tp/ingres/source/Config
*** /usr/home/ingres/source/Config Tue Aug 3 04:47:08 1993
--- /usr/home/dana/tp/ingres/source/Config Wed Jan 20 01:47:42 1993
***************
*** 33,39 ****
#
# You need an ANSI-C compilers
! CC = /usr/local/bin/gcc
# the cputype, VAX or SUN
# for i386 and i486 define VAX
--- 33,39 ----
#
# You need an ANSI-C compilers
! CC = gcc
# the cputype, VAX or SUN
# for i386 and i486 define VAX
diff -rc /usr/home/ingres/source/conf/Makefile /usr/home/dana/tp/ingres/source/c
onf/Makefile
*** /usr/home/ingres/source/conf/Makefile Tue Aug 3 14:14:10 1993
--- /usr/home/dana/tp/ingres/source/conf/Makefile Wed Jan 20 01:54:41 1993
***************
*** 131,136 ****
--- 131,137 ----
sysmodfunc: version.o sysmodfunc.o $(DBULIB) $(CTLMOD) $(ALLLIB)
$(CC) $(LDFLAGS) version.o $@.o $(DBULIB) $(OTHERS) $(ALLLIB) -o $@
$(INSTALL) -m $(SUMODE) $@ $(BIN)
+ rm $@
# Sysdump
***************
*** 137,142 ****
--- 138,144 ----
sysdump: version.o sysdump.o $(CTLMOD) $(ALLLIB)
$(CC) $(LDFLAGS) version.o $@.o $(OTHERS) $(ALLLIB) -o $@
$(INSTALL) -m $(SUMODE) $@ $(BIN)
+ rm $@
# Monitor
***************
*** 143,148 ****
--- 145,151 ----
monitor: version.o monitor.o $(MONITOR) $(CTLMOD) $(IUTIL) $(GUTIL)
$(CC) $(LDFLAGS) version.o $@.o $(OTHERS) $(MONITOR) $(CTLMOD) $(IUTIL)
$(GUTIL) -o $@
$(INSTALL) -m $(BINMODE) $@ $(BIN)
+ rm $@
# SysMonitor
***************
*** 149,154 ****
--- 152,158 ----
sysmonitor: version.o sysmonitor.o $(SYSMONITOR) $(DBULIB) $(IUTIL) $(GUTIL)
$(CC) $(LDFLAGS) version.o $@.o $(OTHERS) $(SYSMONITOR) $(CTLMOD) $(IUTI
L) $(GUTIL) -o $@
$(INSTALL) -m $(BINMODE) $@ $(BIN)
+ rm $@
# Full System
***************
*** 157,162 ****
--- 161,167 ----
univingres: version.o univingres.o $(ALLLIBS)
$(CC) $(LDFLAGS) version.o $@.o $(OTHERS) $(ALLLIBS) $(MATH) -o $@
$(INSTALL) -m $(SUMODE) $@ $(BIN)
+ rm $@
allinstall: version.o all1 all
Only in /usr/home/ingres/source/ctlmod: ctlmod
Only in /usr/home/ingres/source/dbu: dbulib
diff -rc /usr/home/ingres/source/dbu/save.c /usr/home/dana/tp/ingres/source/dbu/
save.c
*** /usr/home/ingres/source/dbu/save.c Tue Aug 3 13:18:31 1993
--- /usr/home/dana/tp/ingres/source/dbu/save.c Wed Jan 20 01:46:13 1993
***************
*** 46,51 ****
--- 46,52 ----
int DmSize[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
+ #ifdef linux
int dysize(int year)
{
if (year % 400 == 0)
***************
*** 54,59 ****
--- 55,61 ----
return 366;
return 365;
}
+ #endif
save(parmc, parmv)
int parmc
diff -rc /usr/home/ingres/source/gutil/Makefile /usr/home/dana/tp/ingres/source/
gutil/Makefile
*** /usr/home/ingres/source/gutil/Makefile Tue Aug 3 10:54:43 1993
--- /usr/home/dana/tp/ingres/source/gutil/Makefile Mon Jan 18 09:06:11 1993
***************
*** 11,17 ****
LIB= $(INGRES)/lib
OBJS= append.o atof.o bequal.o bitcnt.o bitpos.o cat.o \
! concat.o cvt.o freebuf.o ftoa.o fullwait.o \
getufield.o iocv.o itoa.o length.o \
xalloc.o need.o oatoi.o pad.o pmove.o \
prargs.o scompare.o sequal.o set_si_buf.o set_so_buf.o \
--- 11,17 ----
LIB= $(INGRES)/lib
OBJS= append.o atof.o bequal.o bitcnt.o bitpos.o cat.o \
! concat.o freebuf.o ftoa.o fullwait.o \
getufield.o iocv.o itoa.o length.o \
xalloc.o need.o oatoi.o pad.o pmove.o \
prargs.o scompare.o sequal.o set_si_buf.o set_so_buf.o \
***************
*** 20,26 ****
min.o xfree.o bmove.o perror.o locv.o capital.o
SRCS1= append.c atof.c bequal.c bitcnt.c bitpos.c cat.c \
! concat.c cvt.c freebuf.c ftoa.c fullwait.c \
getufield.c iocv.c itoa.c length.c \
xalloc.c need.c oatoi.c pad.c pmove.c capital.c
diff -rc /usr/home/ingres/source/monitor/config.c /usr/home/dana/tp/ingres/sourc
e/monitor/config.c
*** /usr/home/ingres/source/monitor/config.c Tue Aug 3 14:12:16 1993
--- /usr/home/dana/tp/ingres/source/monitor/config.c Thu Mar 29 03:11:58 1984
***************
*** 1,18 ****
- # include <func.h>
- # include <sccs.h>
-
- SCCSID(@(#)monitor.c 8.2 12/18/85)
-
-
-
- char Qbuf[1600];
- int QbufSize = sizeof Qbuf;
-
- extern struct fn_def TtyMonFn;
-
- struct fn_def *FuncVect[] =
- {
- &TtyMonFn,
- };
-
- int NumFunc = sizeof FuncVect / sizeof FuncVect[0];
--- 0 ----
diff -rc /usr/home/ingres/source/parser/tree.c /usr/home/dana/tp/ingres/source/p
arser/tree.c
*** /usr/home/ingres/source/parser/tree.c Tue Aug 3 05:07:43 1993
--- /usr/home/dana/tp/ingres/source/parser/tree.c Mon Jan 18 11:16:37 1993
***************
*** 5,11 ****
# include <pv.h>
# include "parser.h"
# include <symbol.h>
! # include <sys/malloc.h>
# include <errors.h>
/*
--- 5,11 ----
# include <pv.h>
# include "parser.h"
# include <symbol.h>
! # include <malloc.h>
# include <errors.h>
/*
-----------------------------------------
As you see, minor fixes. I also use gnu make 3.67 and gcc-2.4.5 on
386bsd patchlevel 0.2.4.
Regards
Dan Andersson
dana@theta.me.chalmers.se