Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 May 2010 15:03:56 -0400
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 8: gdbm.h: No such file or directory
Message-ID:  <hrn6dv$v8q$1@dough.gmane.org>
References:  <q2o51d7a5161005030244rdf833e55h69289eb768f373fc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hrn6dv$v8q$1>