From: chenym@dufu.math.ncu.edu.tw (Yen-Ming Chen)
Subject: Re: Compile of sendmail V8 on OSF1/alpha
Date: 1995/12/05 [thread overview]
Message-ID: <4a1a6g$p5@news.ncu.edu.tw> (raw)
In-Reply-To: 4a0hli$2mq@sulla.cyberstore.ca
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]
Dana Huggard (dana@tvinet.com) said:
: cc -Olimit 1000 -I. -O -I/usr/sww/include -DNDBM -DNEWDB -DNIS -c map.c
: /usr/lib/cmplrs/cc/cfe: Error: map.c: 45: Cannot open file db.h for #include
: *** Exit 1
: Stop.
: Can anyone enlighten me on "db.h"?
Okay! I guess you didn't really read the READ_ME in the src directory!
:-) Anyway, here is what it says in READ_ME:
The three options are NEWDB (the new Berkeley DB package), NDBM (the
older DBM implementation -- the very old V7 implementation is no
longer supported), and NIS (Network Information Services). Used alone
these just include the support they indicate. [If you are using NEWDB,
get the latest version from FTP.CS.Berkeley.EDU in /ucb/4bsd/db.tar.Z
(or db.tar.gz). DO NOT use the version from the Net2 distribution!
So go to get a copy of db.tar.gz, and after you compile it, put the
path of db.h into the src/Makefiles/Makefile.OSF1 like :
INCDIRS=-I/usr/sww/include -I/tmp/db.1.85/PORT/include
^^^^^^^^^^^^^^^^^^^^^^^^^^^
and
LIBDIRS=-L/usr/sww/lib -L/usr/shlib -L/usr/lib -L/tmp/db.1.85/PORT/osf.1.0.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Of course, your path will not be the same as mine. By the way, in your db.h
,you might need to change the following line into:
#include <sys/cdefs.h> to
#include <cdefs.h>
Then, I successfully made my sendmail last night. Hope you too! Good Luck!
8-)
--
Yen-Ming Chen / ���ۻ� @ Math. Department of National Central University
chenym@math.ncu.edu.tw & http://www.math.ncu.edu.tw/~chenym/
___________________________________________________________________________
I don't know if it's what you want, but it's what you get. :-)
--Larry Wall in <10502@jpl-devvax.JPL.NASA.GOV>
next prev parent reply other threads:[~1995-12-05 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-05 5:00 Compile of sendmail V8 on OSF1/alpha Dana Huggard
1995-12-05 5:00 ` Christophe Wolfhugel
1995-12-05 5:00 ` Yen-Ming Chen [this message]
1995-12-06 5:00 ` Neil Hoggarth
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox