After i run autobot , i encounter error when i run ./configure at the top
sqwebmail source tree.... 

I'm running FreeBSD 4.6.2 , installed sysconftool .
1.Run autobloat
[hzqbbc@mail sqwebmail]$ ./autobloat
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail:
Checking for sysconftool: /usr/local/share/sysconftool/sysconftool
Checking Makefile.am: Ok
Don't forget to add AC_PROG_SYSCONFTOOL to configure.in
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/authlib:
Checking for sysconftool: ../sysconftool
Checking Makefile.am: Ok
Don't forget to add AC_PROG_SYSCONFTOOL to configure.in
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/bdbobj:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/cgi:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/gdbmobj:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/gpglib:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/http11:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/ldapaddressbook:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/libhmac:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/liblock:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/maildir:
automake: configure.in: installing `../config.guess'
automake: configure.in: installing `../config.sub'
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/makedat:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/md5:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/numlib:
/home/hzqbbc/src/mymailer/sqwebmail-20021011/sqwebmail/pcp:
aclocal: configure.in: 26: macro `AM_GNU_GETTEXT' not found in library 

2.run configure
i write a shell to configure sqwebmail:
#!/bin/sh
# Config script - 0.04
# This script designed for building sqwebmail and imap/pop3d, in
# the future we will change a lot to courier and intergrate all
# package in courier except SMTP using Postfix. 

# FreeBSD specification
LOCALBASE=/usr/local
unset CPPFLAGS
unset LDFLAGS
export CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
export LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" 

# package version
prefix=/home/sqwebmail 

# configure the webmail
WEBMAIL_CFG="--with-trashquota --enable-webpass 
--enable-unicode=ISO-8859-1,US-ASCII,GB2312,UTF-8 --with-htmllibdir=${prefix} 
--enable-imecharset=gb2312 --with-maxargsize=5000000 --with-maxformargsize=5000000 
--with-maxmsgsize=5000000 --disable-autorenamesent --enable-softtimeout=3600 
--enable-mimetypes=/usr/local/etc/apache/mime.types --prefix=${prefix} 
--enable-cgibindir=${prefix}/cgi-bin --enable-imagedir=${prefix}/html/sqwebmail/images 
--enable-imageurl=/sqwebmail/images --with-cachedir=${prefix}/share --without-authpam 
--without-authuserdb --without-authpwd --without-authshadow --without-authmysql 
--without-authvchkpw --without-authcram --with-authldap --with-authdaemon 
--with--authldaprc=${prefix} --with-formdata --disable-utf7-folder-encoding 
--with-authchangepwdir=${prefix}/libexec/authlib 
--with-authdaemonvar=${prefix}/var/authdaemon --sysconfdir=${prefix}" 

echo "======================================================"
echo "=  !!! The following is the configure directives !!! ="
echo "======================================================" 

echo $WEBMAIL_CFG 

sleep 3
./configure $WEBMAIL_CFG
cd sqwebmail
make htmllibdir.h
cd .. 

When configureing in sha1 ,error happened:
==========================================
configuring in sha1
running /bin/sh ./configure  --with-trashquota --enable-webpass 
--enable-unicode=ISO-8859-1,US-ASCII,GB2312,UTF-8 --with-htmllibdir=/home/sqwebmail 
--enable-mimecharset=gb2312 --with-maxargsize=5000000 --with-maxformargsize=5000000 
--with-maxmsgsize=5000000 --disable-autorenamesent --enable-softtimeout=3600 
--enable-mimetypes=/usr/local/etc/apache/mime.types --prefix=/home/sqwebmail 
--enable-cgibindir=/home/sqwebmail/cgi-bin 
--enable-imagedir=/home/sqwebmail/html/sqwebmail/images 
--enable-imageurl=/sqwebmail/images --with-cachedir=/home/sqwebmail/share 
--without-authpam --without-authuserdb --without-authpwd --without-authshadow 
--without-authmysql --without-authvchkpw --without-authcram --with-authldap 
--with-authdaemon --with--authldaprc=/home/sqwebmail --with-formdata 
--disable-utf7-folder-encoding --with-authchangepwdir=/home/sqwebmail/libexec/authlib 
--with-authdaemonvar=/home/sqwebmail/var/authdaemon --sysconfdir=/home/sqwebmail 
--with-db=gdbm --with-userdb=/etc/userdb 
 --with-makedatprog=${prefix}/libexec/sqwebmail/makedatprog --with-package=sqwebmail 
--with-version=3.3.7.20021007 --without-socks --cache-file=.././config.cache --srcdir=.
./configure: Can't open ./configure: No such file or directory
configure: error: ./configure failed for sha1 

i chdir into sha1 , no configure generate, so i run autoconf and generated
a configure but when i ./configure , error happened again:
==============================================================
./configure: 537: Syntax error: word unexpected (expecting ")") 

How to fix this error ? ????????? 

if i use sqwebmail CVS early version , no error produce... 

Reply via email to