Courier IMAP debianhowto

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 13:40

versuchte gerade nach dem debianhowto
courier zu compilen nur irgendwie geht es nicht :(
server1:/usr/local/sourcendebs/courier-ssl-0.37.3# dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is courier-ssl
dpkg-buildpackage: source version is 0.37.3-3
dpkg-buildpackage: source maintainer is Stefan Hornburg (Racke) <racke@linuxia.de>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
make distclean
make[1]: Entering directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b courier-ssl-0.37.3
dpkg-source: building courier-ssl using existing courier-ssl_0.37.3.orig.tar.gz
dpkg-source: building courier-ssl in courier-ssl_0.37.3-3.diff.gz
dpkg-source: building courier-ssl in courier-ssl_0.37.3-3.dsc
debian/rules build
dh_testdir
if [ ! -x /usr/bin/openssl ]; then
echo "You need to install openssl first";
exit 1;
fi
./configure --prefix=/usr --mandir=${prefix}/share/man
--with-piddir=/var/run/courier
--sysconfdir=/etc/courier
--libexecdir=${prefix}/lib/courier
--datadir=${prefix}/lib/courier
--localstatedir=/var/lib/courier
--sbindir=${prefix}/sbin
--with-mailuser=daemon
--with-mailgroup=daemon
--without-socks
--enable-workarounds-for-imap-client-bugs
--without-authpam
--without-authpwd
--without-authmysql

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether make sets ${MAKE}... (cached) yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sysconftool...... ././sysconftool
configure: warning: === Do not compile Courier as root. Compile
configure: warning: === Courier as a non-root user then su to
configure: warning: === root before running make install. You must now
configure: warning: === remove this entire directory and then extract the
configure: warning: === source code from the tarball as a non-root user
configure: warning: === and rerun the configure script. If you have read
configure: warning: === the INSTALL file you should have known this. So
configure: warning: === you better read INSTALL again
configure: error: aborted.
make: *** [build-stamp] Error 1
hoffe ihr könnt mir helfen...
lg Sascha

dodolin
RSAC
Posts: 4009
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe

Re: Courier IMAP debianhowto

Post by dodolin » 2004-12-22 13:44

server1:/usr/local/sourcendebs/courier-ssl-0.37.3#
[...]
configure: warning: === Do not compile Courier as root.
Steht doch alles da, oder?

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 13:51

nicht als root:
darkviruz@server1:/usr/local/sourcendebs/courier-ssl-0.37.3$ dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is courier-ssl
dpkg-buildpackage: source version is 0.37.3-3
dpkg-buildpackage: source maintainer is Stefan Hornburg (Racke) <racke@linuxia.de>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
make distclean
make[1]: Entering directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b courier-ssl-0.37.3
dpkg-source: building courier-ssl using existing courier-ssl_0.37.3.orig.tar.gz
dpkg-source: failure: unable to create `courier-ssl_0.37.3.orig.tar.gz.tmp-nest': Permission denied

antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: Courier IMAP debianhowto

Post by antondollmaier » 2004-12-22 14:02

hmm ... ich hab hier auch courier am laufen ...


warum compilierst ned komplett selber?

gibt doch genug howtos ...


user courier erstellen (mit bash), dessen home auf /usr/lib/courier-imap setzen, sources rein, su courier, und dann configure+make, wieder als root dann make install ...

haut wunderbarst ...

audio07
Posts: 64
Joined: 2003-12-03 02:32
Location: Mainz

Re: Courier IMAP debianhowto

Post by audio07 » 2004-12-22 14:05

Muß ich mich anschließen: Das Kompilieren von den Teil und die anschließende Config ist wirklich denkbar einfach. Wer HowTos lesen will soll Cyrus nehmen :-)

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 14:13

habs nach dem qmail tut gemacht...

selber compilen? ui...

an was liegt es denn das es so nicht funkt und wie beseitige ich das problem?

ps: echt super forum und sehr schnelle antworten!! respect!

audio07
Posts: 64
Joined: 2003-12-03 02:32
Location: Mainz

Re: Courier IMAP debianhowto

Post by audio07 » 2004-12-22 14:18

Hmm... warte bis einer kommt, der sich mit DEBIAN auskennt. Ansonsten selbst kompilieren :-)

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 15:00

okay, hoffe es kann mir jemand helfen :((

dodolin
RSAC
Posts: 4009
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe

Re: Courier IMAP debianhowto

Post by dodolin » 2004-12-22 16:28

Hmm... warte bis einer kommt, der sich mit DEBIAN auskennt.
Das hat bisher nicht wirklich viel mit Debian speziell zu tun, IMHO.
make[1]: Entering directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
[...]
dpkg-source: failure: unable to create `courier-ssl_0.37.3.orig.tar.gz.tmp-nest': Permission denied
Wenn du es nicht als root machst, solltest du halt auch ein Verzeichnis nehmen, wo du genügend Rechte hast.

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 16:48

hm, funkt auch nicht :(

wie ging es dann unter debianhowto.de im qmail howto??

vielen dank

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Courier IMAP debianhowto

Post by captaincrunch » 2004-12-22 16:59

wie ging es dann unter debianhowto.de im qmail howto??
Ganz einrfach, indem du Datei- und Verzeichnisrechte beachtest. Aber das hatte dir schließlich auch schon dodolin geschrieben. Viel genauer geht's eigentlich schon gar nicht mehr.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 17:03

darkviruz@server1:/usr/local/sourcendebs/courier-ssl-0.37.3$ dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is courier-ssl
dpkg-buildpackage: source version is 0.37.3-3
dpkg-buildpackage: source maintainer is Stefan Hornburg (Racke) <racke@linuxia.de>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
make distclean
make[1]: Entering directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/usr/local/sourcendebs/courier-ssl-0.37.3'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b courier-ssl-0.37.3
dpkg-source: building courier-ssl using existing courier-ssl_0.37.3.orig.tar.gz
dpkg-source: building courier-ssl in courier-ssl_0.37.3-3.diff.gz
dpkg-source: failure: create file courier-ssl_0.37.3-3.diff.gz: Permission denied
als nicht root user...

user ist besitzer des ordners sourcendebs

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Courier IMAP debianhowto

Post by captaincrunch » 2004-12-22 18:52

user ist besitzer des ordners sourcendebs
Oh boy...dann bau's halt im $HOME des Users. Wie schwer kann sowas eigentlich sein?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

oxygen
RSAC
Posts: 2179
Joined: 2002-12-15 00:10
Location: Bergheim

Re: Courier IMAP debianhowto

Post by oxygen » 2004-12-22 19:02

darkviruz wrote:
darkviruz@server1:/usr/local/sourcendebs/courier-....
als nicht root user...

user ist besitzer des ordners sourcendebs
Hint: su -m sourcendeps oder chown sourcendeps /usr/local/sourcendebs -R

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-22 20:57

im $HOME des Users gleiche meldung:
darkviruz@server1:~/sourcendebs/courier-ssl-0.37.3$ dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package is courier-ssl
dpkg-buildpackage: source version is 0.37.3-3
dpkg-buildpackage: source maintainer is Stefan Hornburg (Racke) <racke@linuxia.de>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
make distclean
make[1]: Entering directory `/home/darkviruz/sourcendebs/courier-ssl-0.37.3'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/home/darkviruz/sourcendebs/courier-ssl-0.37.3'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b courier-ssl-0.37.3
dpkg-source: building courier-ssl using existing courier-ssl_0.37.3.orig.tar.gz
dpkg-source: failure: unable to create `courier-ssl_0.37.3.orig.tar.gz.tmp-nest': Permission denied
"su -m sourcendeps oder chown sourcendeps /usr/local/sourcendebs -R"
hat auch nichts geholfen, leider..

hoffe weiterhin auf ein wunder :)

darkviruz
Posts: 19
Joined: 2004-12-14 10:24
Location: Ã?sterreich - Wien

Re: Courier IMAP debianhowto

Post by darkviruz » 2004-12-23 23:18

weiß keiner mehr weiter??