Hello -

I'm still having problems compiling sqwebmail 2.1.1 (6/20/2001 version) on a 
FreeBSD box. The following is my ./configure 

./configure --enable-https \
 --enable-webpass=vpopmail \
 --enable-maxpurge=45 --enable-autopurge=7 \
 --with-cacheowner=vpopmail --with-cachedir=/var/sqwebmail \
 --without-authpam --without-authldap --without-authpwd \
 --without-authuserdb --without-authshadow \
 --with-authvchkpw \
 --enable-cgibindir=/var/sqwebmail/cgi-bin \
 --enable-imagedir=/var/sqwebmail/pub/images \
 --enable-mimetypes=/var/apache/etc/mime.types \
 --with-htmllibdir=/var/sqwebmail/libexec \
 --disable-utf7-folder-encoding -\
 -with-maxmsgsize=10485760 --with-maxformargsize=10485760 

This configure works without a glitch, but then when I do a "make" with 
either the vanilla freeBSD make or gmake, I get the following... 

[snip] 

gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/var/vpopmail/include -g -O2 -Wall 
 -I.. -I./.. -c ispell.c
gcc  -I/var/vpopmail/include -g -O2 -Wall -I.. -I./..  -o sqwebmail  
addressbook.o attachments.o auth.o  autoresponse.o buf.o filter.o folder.o 
html.o logincache.o  mailfilter.o mailinglist.o maildir.o newmsg.o  
newmsg_create.o newmsg_newdraft.o pref.o sqconfig.o  sqwebmail.o token.o 
ldaplist.o rfc2646html.o args.o gpg.o  sqispell.o ispell.o  
../maildir/libmaildir.a  ../rfc2045/librfc2045.a ../rfc822/librfc822.a   
../http11/libhttp11.a ../cgi/libcgi.a   ../authlib/libauth.a    
../ldapaddressbook/libaddressbook.a     ../gpglib/libgpg.a      
../unicode/libunicode.a         ../random128/librandom128.a ../md5/libmd5.a 
../numlib/libnumlib.a       ../bdbobj/libbdbobj.a `cat 
../authlib/libauth.dep` -lcrypt -L/var/vpopmail/lib -lvpopmail -lm -lcrypt
../gpglib/libgpg.a(libgpg.o): In function `has_gpg':
libgpg.o(.text+0x17c): multiple definition of `has_gpg'
sqwebmail.o(.text+0x2c98):/tmp/sqwebmail-2.1.1/sqwebmail/sqwebmail.c: first 
defined here
/usr/libexec/elf/ld: Warning: size of symbol `has_gpg' changed from 10 to 
122 in libgpg.o
folder.o: In function `folder_initnextprev':
/tmp/sqwebmail-2.1.1/sqwebmail/folder.c(.text+0xe71): undefined reference to 
`gpgdecode'
newmsg_create.o: In function `newmsg_createsentmsg':
/tmp/sqwebmail-2.1.1/sqwebmail/newmsg_create.c(.text+0x1594): undefined 
reference to `gpgbadarg'
/tmp/sqwebmail-2.1.1/sqwebmail/newmsg_create.c(.text+0x15b7): undefined 
reference to `gpgbadarg'
/tmp/sqwebmail-2.1.1/sqwebmail/newmsg_create.c(.text+0x1666): undefined 
reference to `gpgdomsg'
*** Error code 1 

Stop in /tmp/sqwebmail-2.1.1/sqwebmail.
*** Error code 1 

Stop in /tmp/sqwebmail-2.1.1/sqwebmail.
*** Error code 1 

Stop in /tmp/sqwebmail-2.1.1/sqwebmail.
*** Error code 1 

Stop in /tmp/sqwebmail-2.1.1. 

[/snip] 

Seems like it has to do with gpg, which by the way is 

gpg --version
gpg (GnuPG) 1.0.6
Copyright (C) 2001 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details. 


I've tried commenting out all of the GPG references in the top-level 
Makefile, but that doesn't work either. 

Any help would be appreciated!! 

Bill 

Reply via email to