Page 1 of 1

Courier IMAP debianhowto

Posted: 2004-12-22 13:40
by darkviruz
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

Re: Courier IMAP debianhowto

Posted: 2004-12-22 13:44
by dodolin
server1:/usr/local/sourcendebs/courier-ssl-0.37.3#
[...]
configure: warning: === Do not compile Courier as root.
Steht doch alles da, oder?

Re: Courier IMAP debianhowto

Posted: 2004-12-22 13:51
by darkviruz
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

Re: Courier IMAP debianhowto

Posted: 2004-12-22 14:02
by antondollmaier
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 ...

Re: Courier IMAP debianhowto

Posted: 2004-12-22 14:05
by audio07
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 :-)

Re: Courier IMAP debianhowto

Posted: 2004-12-22 14:13
by darkviruz
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!

Re: Courier IMAP debianhowto

Posted: 2004-12-22 14:18
by audio07
Hmm... warte bis einer kommt, der sich mit DEBIAN auskennt. Ansonsten selbst kompilieren :-)

Re: Courier IMAP debianhowto

Posted: 2004-12-22 15:00
by darkviruz
okay, hoffe es kann mir jemand helfen :((

Re: Courier IMAP debianhowto

Posted: 2004-12-22 16:28
by dodolin
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.

Re: Courier IMAP debianhowto

Posted: 2004-12-22 16:48
by darkviruz
hm, funkt auch nicht :(

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

vielen dank

Re: Courier IMAP debianhowto

Posted: 2004-12-22 16:59
by captaincrunch
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.

Re: Courier IMAP debianhowto

Posted: 2004-12-22 17:03
by darkviruz
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

Re: Courier IMAP debianhowto

Posted: 2004-12-22 18:52
by captaincrunch
user ist besitzer des ordners sourcendebs
Oh boy...dann bau's halt im $HOME des Users. Wie schwer kann sowas eigentlich sein?

Re: Courier IMAP debianhowto

Posted: 2004-12-22 19:02
by oxygen
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

Re: Courier IMAP debianhowto

Posted: 2004-12-22 20:57
by darkviruz
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 :)

Re: Courier IMAP debianhowto

Posted: 2004-12-23 23:18
by darkviruz
weiß keiner mehr weiter??