FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
floschi
Userprojekt
Posts: 3247 Joined: 2002-07-18 08:13
Location: München
Contact:
Post
by floschi » 2003-06-29 10:20
Hi!
Es gibt hier doch bestimmt jemanden, der mir erklären kann, was ich da jetzt machen muss:
On Saturday, June 28, 2003, at 12:52 PM, Florian Schie?l wrote:
> I get the followinbg errors while trying to compile vpopmail (5.2.1
> and
> 5.3.20) on my debian sarge (testing), using this config: ./configure
> --enable-tcprules-prog=/usr/bin/tcprules
> --enable-tcpserver-file=/etc/tcp.smtp:
Apply this patch to vmysql.h:
Code: Select all
diff -u vpopmail-5.3.20/vmysql.h vpopmail-5.3.20-tc/vmysql.h
--- vpopmail-5.3.20/vmysql.h 2003-03-18 17:27:18.000000000 -0700
+++ vpopmail-5.3.20-tc/vmysql.h 2003-06-27 22:35:09.000000000 -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
Ich steh grad wie der Ochs vorm Berg... :(
captaincrunch
Userprojekt
Posts: 7066 Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
Post
by captaincrunch » 2003-06-29 11:23
cat PATCH | patch
u.U. musst du (je nach Standoprt im Verzeichnisbaum noch ein -p1 hintendranhängen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
dea
Posts: 532 Joined: 2002-08-13 12:05
Post
by dea » 2003-06-29 14:31
cd <quellverzeichnis>; patch -p1 /pfad/zum/PATCH
das 'cat' ist nicht nötig ;) Aber vorher auf alle Fälle mal über 'man patch' drüberfliegen (ist eh' nicht so viel)!
floschi
Userprojekt
Posts: 3247 Joined: 2002-07-18 08:13
Location: München
Contact:
Post
by floschi » 2003-06-29 20:42
thx a lot... wobei ich mittlerweile weiss, dass ich nur zwei einfügen muss in der Originaldatei ;)
captaincrunch
Userprojekt
Posts: 7066 Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
Post
by captaincrunch » 2003-06-29 21:22
das 'cat' ist nicht nötig
Unter Unix führen halt glücklicherweise viele Wege nach Rom. Ich hab's mir einfach so angewöhnt ...
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc