Article:
  Building an Advanced Mail Server
Subject:   the make for vpopmail
Date:   2003-10-23 00:31:51
From:   anonymous2
I am using debian testing. :) having great success so far, except I am getting this error when trying to compile it.


In file included from vauth.c:32:
vmysql.h:25: error: syntax error before "MYSQL_UPDATE_SERVER"
In file included from vauth.c:32:
vmysql.h:53:22: missing terminating " character
vmysql.h:60:35: missing terminating " character



I know, syntax error, but I can find no fault with this file........


#ifndef VPOPMAIL_MYSQL_H
#define VPOPMAIL_MYSQL_H


/* Edit to match your set up */
define MYSQL_UPDATE_SERVER "localhost"
define MYSQL_UPDATE_USER "vpopmail"
define MYSQL_UPDATE_PASSWD "password"


define MYSQL_READ_SERVER "localhost"
define MYSQL_READ_USER "vpopmail"
define MYSQL_READ_PASSWD "password"
/* End of setup section*/


any idea's? I was thinking it was my myqsl setup.. but not sure.. :)


mail me at jurgenw@bluechipit.com.au thanks.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • the make for vpopmail
    2003-10-23 07:30:52  joestump [View]

    I had problems with that while installing recently as well. The way I fixed it (IIRC) was downgrading from gcc 3.3 to v3.0. Do do this go into /usr/bin and remove the links gcc and gccbug and relink them to gcc-3.0 and gccbug-3.0.

    That should fix it. Remember to "make clean".

    --Joe
  • the make for vpopmail
    2003-10-23 05:27:48  anonymous2 [View]

    ok, I worked out that first problem.. no worries. NOW, I get this.

    wardeb:~/vpopmail-5.2.1# make
    make all-recursive
    make[1]: Entering directory `/root/vpopmail-5.2.1'
    Making all in cdb
    make[2]: Entering directory `/root/vpopmail-5.2.1/cdb'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/vpopmail-5.2.1/cdb'
    make[2]: Entering directory `/root/vpopmail-5.2.1'
    gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vauth.c
    In file included from vauth.c:32:
    vmysql.h:53:22: missing terminating " character
    vmysql.h:60:35: missing terminating " character
    make[2]: *** [vauth.o] Error 1
    make[2]: Leaving directory `/root/vpopmail-5.2.1'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/vpopmail-5.2.1'
    make: *** [all-recursive-am] Error 2
    wardeb:~/vpopmail-5.2.1#

    any idea's... it say's it missing a terminating cahracter.. but, I ain't taht good at coding.. and I carn't see it. :\
    • the make for vpopmail
      2003-10-28 11:58:47  anonymous2 [View]

      In lines 54 and 58 of vmysql.h is the trailing \ missing

      #define TABLE_LAYOUT "pw_name char(32) not null, \
      pw_domain char(64) not null, <===== 54
      pw_passwd char(40), \
      pw_uid int, pw_gid int, \
      pw_gecos char(48), \
      pw_dir char(160), <===== 58
      pw_shell char(20), \
      primary key (pw_name, pw_domain ) "

      Have a look at http://www.debianhowto.de for more details