Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!europa.chnt.gtegsc.com!howland.reston.ans.net!Germany.EU.net!nntp.gmd.de!nntp.darmstadt.gmd.de!news.th-darmstadt.de!hrz-ws11.hrz.uni-kassel.de!phase23!citylink.dinoex.sub.org!peter From: peter@citylink.dinoex.sub.org (Peter Much) Subject: Re: Where can I get a copy of INGRES for FreeBSD ? Organization: Buero fuer Sektenforschung und Qualitaetspruefung in der Esoterik Message-ID: <DBDru2.MF4@citylink.dinoex.sub.org> References: <3tgrea$gtk@darkstar.UCSC.EDU> Date: Sat, 8 Jul 1995 04:44:26 GMT Lines: 47 In article <3tgrea$gtk@darkstar.UCSC.EDU>, Chris Haidinyak <chrish@cats.ucsc.edu> wrote: > Does anybody know where to get a copy of INGRES for >FreeBSD? Rich Morin's book has one for Linux and others >but no FreeBSD... My version's Config shows: ### ### ### RELEASE 8.9 ### ### ### # # Config for Linux Jan 10, 1993 # 386BSD support Jan 10, 1993 # 386BSD was before FreeBSD and NetBSD, and source-Distributions with support for that should usually work on both with minor changes. This one is known to work on FreeBSD 1.x, as was stated in some docs. I found out it compiles on NetBSD1.0, too. Lots of warnings, but doesn't matter. Crashes when using float values, but does this on Linux too. Important: Find out if your lseek() uses 4byte (long) or 8byte (long long) offset values. In case it uses 8byte, change all occurencies of lseek() in the ingres source to something like ingreslseek(), and add something the following fuction to some ingres library: #include <unistd.h> long ingreslseek(int fd, long offs, int ndx) { off_t lseek(int, off_t, int); return((long)lseek(fd, (off_t)offs, ndx)); } (BTW: Is the optimizer good enough to put such overhead out?) Maybe the floating values problem is a similar type-cast problem - i don't need them yet. Peter -- Write to: Peter Much * Koelnische Str. 22 * D-34117 Kassel * +49-561-774961 peter@citylink.dinoex.sub.org much@hrz.uni-kassel.de p.much@asco.nev.sub.de