Re: GDBM / Compile problems with 2.1.0 on FreeBSD

---------

From: Emre Bastuz (info@emre.de)
Date: Fri Apr 13 2001 - 18:16:16 CDT


Hi,

> After that "make" fails with the error messages
>
> parse.o: In function `loadoldheadersfromGDBMindex':
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x451f): undefined reference to `gdbm_open'

seems I´m great in answering my own questions today :)

Hope this helps somebody - doing an

export CPPFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib

before the "./configure" fixed things.

Please note that "export" should be used with bash, in case you´re
using some other shell you might wish to use "env" or "setenv" instead.

Regards,

Emre

Emre Bastuz schrieb:
>
> Hi,
>
> another problem when compiling the latest CVS snapshot of
> Hypermail on my FreeBSD box:
>
> when doing a "./configure" the script could not find gdbm.h.
> After copying this particular file from /usr/local/include to
> /usr/include, the file was found.
>
> After that "make" fails with the error messages
>
> parse.o: In function `loadoldheadersfromGDBMindex':
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x451f): undefined reference to `gdbm_open'
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x4555): undefined reference to `gdbm_fetch'
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x482f): undefined reference to `gdbm_fetch'
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x484f): undefined reference to `gdbm_close'
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x48bb): undefined reference to `gdbm_open'
> /tmp/news2mail/CVS/hypermail/src/parse.c(.text+0x4928): undefined reference to `gdbm_close'
> print.o: In function `togdbm':
> /tmp/news2mail/CVS/hypermail/src/print.c:121: undefined reference to `gdbm_store'
> print.o: In function `writearticles':
> /tmp/news2mail/CVS/hypermail/src/print.c(.text+0x22c3): undefined reference to `gdbm_open'
> /tmp/news2mail/CVS/hypermail/src/print.c(.text+0x3a8c): undefined reference to `gdbm_store'
> /tmp/news2mail/CVS/hypermail/src/print.c(.text+0x3a9d): undefined reference to `gdbm_close'
> make[1]: *** [hypermail] Error 1
> make[1]: Leaving directory `/tmp/news2mail/CVS/hypermail/src'
> make: *** [hypermail] Error 2
>
> How can this be fixed ?
>
> Regards,
>
> Emre
>
> --
> Emre Bastuz
> info@emre.de http://www.emre.de
> UIN: 561260 PGP Key ID: 0xAFAC77FD

-- 
Emre Bastuz
info@emre.de              http://www.emre.de        
UIN: 561260           PGP Key ID: 0xAFAC77FD

---------

This archive was generated by hypermail 2.1.5.