[hypermail] problems with make, round two

From: Ron Pero <rpero_at_magnadev.com_at_hypermail-project.org>
Date: Tue, 05 Mar 2002 13:03:30 -0500
Message-Id: <3.0.3.32.20020305130330.032f29c0_at_magnadev.com>


Dear Daniel Stenberg (and the rest of the list)

In yesterday's email to this list, I described how I was unable to make hypermail, because it does not find -lgdbm

You recommended that I remove the line in src/Makefile that mentions -lgdbm. I did that by simply commenting out this line: #OPT_LIBS= -lgdbm

Unfortunately, when I run make now, it generates several protests and then stops.

www12% make
gcc -o hypermail -g -O2 -I/usr/local/include -Ipcre -Lpcre base64.o date.o domains.o file.o hypermail.o lang.o lock.o mem.o parse.o print.o printfile.o string.o struct.o uudecode.o dmatch.o setup.o threadprint.o getdate.o getname.o finelink.o txt2html.o search.o quotes.o trio.o strio.o trionan.o -lm -lpcre
file.o: In function `matches_existing':
/usr/home/safire12/usr/local/etc/httpd/vhosts/cpaai/members_only/email_archi
ves/cpabbd/hypermail-2.1.4/src/file.c(.text+0xcb1): undefined reference to `gdbm_open'
/usr/home/safire12/usr/local/etc/httpd/vhosts/cpaai/members_only/email_archi
ves/cpabbd/hypermail-2.1.4/src/file.c(.text+0xcd9): undefined reference to `gdbm_fetch'
/usr/home/safire12/usr/local/etc/httpd/vhosts/cpaai/members_only/email_archi
ves/cpabbd/hypermail-2.1.4/src/file.c(.text+0xd1c): undefined reference to `gdbm_fetch'

... And several more like the above

And then finally ends with this:
*** Error code 1
Stop in
/usr/home/safire12/usr/local/etc/httpd/vhosts/cpaai/members_only/email_archi
ves/cpabbd/hypermail-2.1.4/src.
*** Error code 1
Stop in
/usr/home/safire12/usr/local/etc/httpd/vhosts/cpaai/members_only/email_archi
ves/cpabbd/hypermail-2.1.4.


Is gdbm necessary after all? Or is there a way to install hypermail without it? Is gdbm only used for cgi scripts or mail scripts, or some such thing? I do not need those. Is there an argument I can use with make to avoid compiling things that use gdbm?

The problem seems to be here:
file.o: In function `matches_existing':
Is there a way around that?
Is function "matches_existing" necessary?

Thanks again,

Ron Received on Tue 05 Mar 2002 08:08:41 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT