Re: [vchkpw] Vpopmail (5.2.1 and 5.3.20) won't compile on debian sarge ?!
On Sunday, June 29, 2003, at 01:32 AM, Florian Schiessl wrote: diff -u vpopmail-5.3.20/vmysql.h vpopmail-5.3.20-tc/vmysql.h --- vpopmail-5.3.20/vmysql.h2003-03-18 17:27:18.0 -0700 +++ vpopmail-5.3.20-tc/vmysql.h 2003-06-27 22:35:09.0 -0700 @@ -48,11 +48,11 @@ primary key (pw_name, pw_domain ) " #else #define TABLE_LAYOUT "pw_name char(32) not null, \ -pw_domain char(64) not null, +pw_domain char(64) not null, \ pw_passwd char(40), \ pw_uid int, pw_gid int, \ pw_gecos char(48), \ -pw_dir char(160), +pw_dir char(160), \ pw_shell char(20), \ primary key (pw_name, pw_domain ) " #endif Could you please tell me, how to apply this?? I don't know anything about this... :-( It's a simple change, and you don't really need to use 'patch' to apply it. Open vmysql.h in an editor (vi, pico, emacs, etc.), go to line 48 and look for the "pw_domain" and "pw_dir" lines. Add the missing "\" to the end of those two lines. -- Tom Collins [EMAIL PROTECTED]
RE: [vchkpw] Vpopmail (5.2.1 and 5.3.20) won't compile on debian sarge ?!
Hi! > Apply this patch to vmysql.h: > > diff -u vpopmail-5.3.20/vmysql.h vpopmail-5.3.20-tc/vmysql.h > --- vpopmail-5.3.20/vmysql.h2003-03-18 17:27:18.0 -0700 > +++ vpopmail-5.3.20-tc/vmysql.h 2003-06-27 22:35:09.0 -0700 > @@ -48,11 +48,11 @@ > primary key (pw_name, pw_domain ) " > #else > #define TABLE_LAYOUT "pw_name char(32) not null, \ > -pw_domain char(64) not null, > +pw_domain char(64) not null, \ > pw_passwd char(40), \ > pw_uid int, pw_gid int, \ > pw_gecos char(48), \ > -pw_dir char(160), > +pw_dir char(160), \ > pw_shell char(20), \ > primary key (pw_name, pw_domain ) " > #endif Could you please tell me, how to apply this?? I don't know anything about this... :-( THX and greets, Florian
RE: [vchkpw] Vpopmail (5.2.1 and 5.3.20) won't compile on debian sarge ?!
Hi! > You are using an MySQL backend, correct? When you put the > appropriate into > into the vmysql.h file, you left something without quotation > marks. Go > back and check the file, make sure whatever you changed is correct. No, I don't. I just use > ./configure > --enable-tcprules-prog=/usr/bin/tcprules > --enable-tcpserver-file=/etc/tcp.smtp ;-) Greets Florian