From owner-freebsd-questions Wed Oct 18 13:20:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [208.12.11.174]) by hub.freebsd.org (Postfix) with ESMTP id 5514037B4CF for ; Wed, 18 Oct 2000 13:20:21 -0700 (PDT) Received: from jishin (dyn-dial3-181-sea.bazillion.com [64.92.50.181]) by akira.lanfear.com (8.9.3/8.9.3) with SMTP id NAA22774; Wed, 18 Oct 2000 13:20:19 -0700 (PDT) (envelope-from marcw@lanfear.com) Message-ID: <000b01c038f5$baa396c0$0800000a@lanfear.com> From: "Marc Wandschneider" To: "Marc Wandschneider" , Subject: Re: overriding db.h Date: Wed, 18 Oct 2000 13:20:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yep, i'm a moron. looks like the first thing i tried had one thing wrong in it, and i never tried it again ... argh! sorry for the wasted bandwidth. marc. ----- Original Message ----- From: "Marc Wandschneider" To: Sent: Wednesday, October 18, 2000 11:58 AM Subject: overriding db.h > > blaugh! > > i hope this isn't so ridiculously simple i'm looking like a moron here, > but i've run into something that i'm not sure of what the best solution is: > > i'm writing an application that uses the DB interfaces, and FreeBSD only > seems to have the old 1.85 ones. So, I've downloaded the new 3.x ones, and > have installed them in /usr/local/lib/db-3.1.17. So, the question is: how > do i have > > #include > > and > > -ldb > > use the new ones in /usr/local/lib/etc ... and not the ones in > /usr/include and /usr/lib without simply deleting the old ones .. ??? > > i've been looking at the -nostdinc flags and all that jazz, but am > hoping there is a more 'common' way of doing this. > > any suggestions appreciated. > > thanks! > > marc. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message