From owner-freebsd-questions@FreeBSD.ORG Mon May 3 18:59:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90D0A106566C for ; Mon, 3 May 2010 18:59:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4B32E8FC0A for ; Mon, 3 May 2010 18:59:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O90rS-0001j9-IJ for freebsd-questions@freebsd.org; Mon, 03 May 2010 20:59:22 +0200 Received: from pool-68-239-64-166.res.east.verizon.net ([68.239.64.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 May 2010 20:59:22 +0200 Received: from nightrecon by pool-68-239-64-166.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 May 2010 20:59:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 03 May 2010 15:03:56 -0400 Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-64-166.res.east.verizon.net Subject: Re: FreeBSD 8: gdbm.h: No such file or directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 18:59:24 -0000 perikillo wrote: > Hi. > > I want to install http://www.csamuel.org/software/vacation/ > > Version vacation-1.2.7.0, the INSTALL say: > > "under FreeBSD type 'gmake' to compile > the program. To install it you will need to do (as root) 'make install' > or, for FreeBSD, 'gmake install'." > This version is very old. [snip] > > "In file included from vacation.c:92:" ===> static GDBM_FILE db; in > vacation.h > > Now, I copy /usr/local/include/gdbm.h to /usr/include > > But now I got: > > gcc -g -Wall -DMAIN -Xlinker -warn-common > -D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c strlcpy.c > strlcat.c rfc822.c -lgdbm > /usr/bin/ld: cannot find -lgdbm > gmake: *** [vacation] Error 1 > > Perl is install with gdbm, what could cause the error? > Why not try using the one in the ports system? So much easier. -Mike