[hypermail] Problems compiling 2.1.7 on FreeBSD

From: Todd Van Hoosear <tvanhoosear_at_topazpartners.com_at_hypermail-project.org>
Date: Tue, 4 Mar 2003 12:44:16 -0500
Message-ID: <9619502B0674C94B83C313511B7C5EAB0EC522_at_max.topazpartners.com>


I checked online to see if this issue had been addressed, and it looks like it hasn't, so...

First, I altered the hypermail source minimally to add the <PRE> tag so text still lines up the way it was intended in my e-mails. That was a minor change to a couple strings in printfile.c, shouldn't be a problem.

Next, I ran ./configure. Some relevant output...

+--------------------------------------------------------------------+
checking host system type... i386-unknown-freebsd4.7 checking for strcasestr... yes
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... no
+--------------------------------------------------------------------+

Okay. Next, I ran make. It chunks along for a short while, then I get these errors...

+--------------------------------------------------------------------+
gcc -c -g -O2 -I/usr/local/include -Ipcre -DTRIO_MINIMAL base64.c In file included from hypermail.h:100,

                 from base64.c:15:

trio.h:190: warning: `vfscanf' redefined
/usr/include/stdio.h:330: warning: this is the location of the previous definition
In file included from hypermail.h:373,
                 from base64.c:15:

proto.h:100: conflicting types for `strcasestr' /usr/include/string.h:86: previous declaration of `strcasestr' *** Error code 1  

Stop in /usr/home/vanhoose/src/hypermail-2.1.7/src. *** Error code 1  

Stop in /usr/home/vanhoose/src/hypermail-2.1.7.
+--------------------------------------------------------------------+

Hmm... I'm a total hack, and couldn't program my way out of much more than a paper bag (or a Bourne shell cgi script), but I go in and comment out the re-define on line 100 of proto.h. I do a make clean (like I said, I'm a hack, I don't know if I need to do that or not!), and another make. Chunks along a LOT further now (but still with a TON of "vfscanf redefined" warnings). Then it fails, this time because it can't find -lgdbm (see below for the last few lines)

+--------------------------------------------------------------------+
In file included from hypermail.h:100,

                 from quotes.c:19:

trio.h:190: warning: `vfscanf' redefined /usr/include/stdio.h:330: warning: this is the location of the previous definition gcc -c -g -O2 -I/usr/local/include -Ipcre -DTRIO_MINIMAL trio.c trio.c:79: warning: `isblank' redefined
/usr/include/ctype.h:117: warning: this is the location of the previous definition
gcc -c -g -O2  -I/usr/local/include -Ipcre -DTRIO_MINIMAL  triostr.c
gcc -c -g -O2  -I/usr/local/include -Ipcre -DTRIO_MINIMAL  trionan.c
gcc -o hypermail -g -O2  -I/usr/local/include -Ipcre -DTRIO_MINIMAL  -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 triostr.o  trionan.o -lgdbm -lm -lpcre
/usr/libexec/elf/ld: cannot find -lgdbm
*** Error code 1  

Stop in /usr/home/vanhoose/src/hypermail-2.1.7/src.
+--------------------------------------------------------------------+

Hmm... Well, I've been over my head for a while, but I'm starting to drown now. Any recommendations?

Thanks,

Received on Wed 05 Mar 2003 05:41:37 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:54 PM GMT GMT