[vchkpw] vpopmail 5.4.2 - make error `DOMAINS_DIR' undeclared (first use in this function)
Hi List Members, I tried upgrading from vpopmail-5.3.30 to vpopmail-5.4.2 on RedHat-7.3 with following configure options: ./configure \ --enable-roaming-users=n \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql \ --enable-libdir=/usr/lib/mysql \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-mysql-limits=n Got Configured Okay, but on make I got the following errors (even I upgraded the autoconf version): [EMAIL PROTECTED] vpopmail-5.4.2]# make cd . /bin/sh /usr/local/src/vpopmail-5.4.2/missing --run autoheader FATAL ERROR: Autoconf version 2.52 or higher is required for this script touch ./config.h.in cd . /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.4.2' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.4.2/cdb' ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh systype ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo 'rm -f $main'; \ echo 'ar cr $main ${1+$@}'; \ case `cat systype` in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib $main' ;; \ esac \ ) makelib chmod 755 makelib ( cat warn-auto.sh; \ echo exec `head -1 conf-cc` '-c ${1+$@}' \ ) compile chmod 755 compile ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo exec `head -1 conf-ld` \ '-o $main $main.o ${1+$@}' \ ) load chmod 755 load ( ( ./compile tryulong32.c ./load tryulong32 \ ./tryulong32 ) /dev/null 21 \ cat uint32.h2 || cat uint32.h1 ) uint32.h rm -f tryulong32.o tryulong32 ./compile cdb_hash.c ./compile cdb_unpack.c ./compile cdb_seek.c ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./compile cdbmake_pack.c ./compile cdbmake_hash.c ./compile cdbmake_add.c ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o make[2]: Leaving directory `/usr/local/src/vpopmail-5.4.2/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.4.2' gcc -I. -I/usr/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c vpopmail.c: In function `vadddomain': vpopmail.c:134: `DOMAINS_DIR' undeclared (first use in this function) vpopmail.c:134: (Each undeclared identifier is reported only once vpopmail.c:134: for each function it appears in.) vpopmail.c:213: `VPOPMAILDIR' undeclared (first use in this function) vpopmail.c: In function `vadduser': vpopmail.c:442: `VPOPMAILUID' undeclared (first use in this function) vpopmail.c:443: `VPOPMAILGID' undeclared (first use in this function) vpopmail.c: In function `add_domain_assign': vpopmail.c:774: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `del_control': vpopmail.c:869: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `del_domain_assign': vpopmail.c:962: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `signal_process': vpopmail.c:1191: `PS_COMMAND' undeclared (first use in this function) vpopmail.c: In function `update_newu': vpopmail.c:1241: `QMAILNEWU' undeclared (first use in this function) vpopmail.c: In function `count_rcpthosts': vpopmail.c:1592: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `compile_morercpthosts': vpopmail.c:1615: `QMAILNEWMRH' undeclared (first use in this function) vpopmail.c: In function `default_domain': vpopmail.c:1866: `VPOPMAILDIR' undeclared (first use in this function) vpopmail.c: In function `verror': vpopmail.c:2020: parse error before `DOMAINS_DIR' vpopmail.c:2022: parse error before `DOMAINS_DIR' vpopmail.c:2042: parse error before `DOMAINS_DIR' vpopmail.c: In function `vget_assign': vpopmail.c:2225: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `maildir_to_email': vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3110: warning: control reaches end of non-void function vpopmail.c: At top level: vpopmail.c:3114: warning: type defaults to `int' in declaration of `pnt' vpopmail.c:3114: `last' undeclared here (not in a function) vpopmail.c:3114: `DOMAINS_DIR' undeclared here (not in a function) vpopmail.c:3114: warning: data definition has no type or storage class vpopmail.c:3115: parse error before
Re: [vchkpw] vpopmail 5.4.2 - make error `DOMAINS_DIR' undeclared (first use in this function)
On Mar 8, 2004, at 3:06 AM, Devendra Singh wrote: Got Configured Okay, but on make I got the following errors (even I upgraded the autoconf version): You may need to upgrade to the autoconf from RH8.0. It will work fine with RH7.3, and shouldn't have any other dependencies to resolve. Or, try running `touch *` in the source directory before running make. That might keep it from trying to rebuild any of the build files. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] vpopmail 5.4.2 - make error `DOMAINS_DIR' undeclared (first use in this function)
Hi List Members, I tried upgrading from vpopmail-5.3.30 to vpopmail-5.4.2 on RedHat-7.3 with following configure options: ./configure \ --enable-roaming-users=n \ [EMAIL PROTECTED] \ --enable-logging=p \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql \ --enable-libdir=/usr/lib/mysql \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-mysql-limits=n Got Configured Okay, but on make I got the following errors (even I upgraded the autoconf version): [EMAIL PROTECTED] vpopmail-5.4.2]# make cd . /bin/sh /usr/local/src/vpopmail-5.4.2/missing --run autoheader FATAL ERROR: Autoconf version 2.52 or higher is required for this script touch ./config.h.in cd . /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.4.2' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.4.2/cdb' ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh systype ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo 'rm -f $main'; \ echo 'ar cr $main ${1+$@}'; \ case `cat systype` in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib $main' ;; \ esac \ ) makelib chmod 755 makelib ( cat warn-auto.sh; \ echo exec `head -1 conf-cc` '-c ${1+$@}' \ ) compile chmod 755 compile ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo exec `head -1 conf-ld` \ '-o $main $main.o ${1+$@}' \ ) load chmod 755 load ( ( ./compile tryulong32.c ./load tryulong32 \ ./tryulong32 ) /dev/null 21 \ cat uint32.h2 || cat uint32.h1 ) uint32.h rm -f tryulong32.o tryulong32 ./compile cdb_hash.c ./compile cdb_unpack.c ./compile cdb_seek.c ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./compile cdbmake_pack.c ./compile cdbmake_hash.c ./compile cdbmake_add.c ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o make[2]: Leaving directory `/usr/local/src/vpopmail-5.4.2/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.4.2' gcc -I. -I/usr/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo './'`vpopmail.c vpopmail.c: In function `vadddomain': vpopmail.c:134: `DOMAINS_DIR' undeclared (first use in this function) vpopmail.c:134: (Each undeclared identifier is reported only once vpopmail.c:134: for each function it appears in.) vpopmail.c:213: `VPOPMAILDIR' undeclared (first use in this function) vpopmail.c: In function `vadduser': vpopmail.c:442: `VPOPMAILUID' undeclared (first use in this function) vpopmail.c:443: `VPOPMAILGID' undeclared (first use in this function) vpopmail.c: In function `add_domain_assign': vpopmail.c:774: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `del_control': vpopmail.c:869: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `del_domain_assign': vpopmail.c:962: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `signal_process': vpopmail.c:1191: `PS_COMMAND' undeclared (first use in this function) vpopmail.c: In function `update_newu': vpopmail.c:1241: `QMAILNEWU' undeclared (first use in this function) vpopmail.c: In function `count_rcpthosts': vpopmail.c:1592: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `compile_morercpthosts': vpopmail.c:1615: `QMAILNEWMRH' undeclared (first use in this function) vpopmail.c: In function `default_domain': vpopmail.c:1866: `VPOPMAILDIR' undeclared (first use in this function) vpopmail.c: In function `verror': vpopmail.c:2020: parse error before `DOMAINS_DIR' vpopmail.c:2022: parse error before `DOMAINS_DIR' vpopmail.c:2042: parse error before `DOMAINS_DIR' vpopmail.c: In function `vget_assign': vpopmail.c:2225: `QMAILDIR' undeclared (first use in this function) vpopmail.c: In function `maildir_to_email': vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3108: parse error before `DOMAINS_DIR' vpopmail.c:3110: warning: control reaches end of non-void function vpopmail.c: At top level: vpopmail.c:3114: warning: type defaults to `int' in declaration of `pnt' vpopmail.c:3114: `last' undeclared here (not in a function) vpopmail.c:3114: `DOMAINS_DIR' undeclared here (not in a function) vpopmail.c:3114: warning: data definition has no type or storage class vpopmail.c:3115: parse error before
Re: [vchkpw] vpopmail 5.4.2 - make error `DOMAINS_DIR' undeclared (first use in this function)
On Mar 5, 2004, at 8:11 AM, Devendra Singh wrote: FATAL ERROR: Autoconf version 2.52 or higher is required for this script On a fresh install, before running configure or make, try typing `touch *` in the vpopmail source directory. If you continue to have problems, you may need to update your autoconf/automake and maybe even libtool. I found that the packages from RH8.0 install just fine in RH7.x, and don't depend on any other packages. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/