Re: [Dovecot] Error Building v2.2

2013-03-27 Thread Nikolaos Milas
On 26/3/2013 10:57 μμ, Nikolaos Milas wrote: So, how do we build Dovecot v2.2 on CentOS 5 ? I decided to use: ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/h/hp/hphp/CentOS%205%2064bit/RPM/autoconf-2.63-3.noarch.rpm which required me to build m4 with a version > 1.4.7 (beca

Re: [Dovecot] Error Building v2.2

2013-03-27 Thread Christian Wiese
Hi Nick, good to hear that you had some partial success at least! > > However, on CentOS 5, it didn't work. autoreconf did not output > > errors after I installed gettext-devel but it again threw: > > Hmm, I forgot; According to: > http://www.dovecot.org/list/dovecot/2011-April/058420.html, --

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
On 26/3/2013 9:40 μμ, Nikolaos Milas wrote: However, on CentOS 5, it didn't work. autoreconf did not output errors after I installed gettext-devel but it again threw: Hmm, I forgot; According to: http://www.dovecot.org/list/dovecot/2011-April/058420.html, --docdir option exists when autocon

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
On 26/3/2013 4:42 μμ, Christian Wiese wrote: most probably calling autogen.sh right after the "pushd dovecot-2.2-pigeonhole-0.3.4" might be a good idea I found I needed to add: %{_builddir}/%{name}-%{version}/dovecot-2.2-pigeonhole-%{pigeonholever}/autogen.sh at the suggested point (call

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Christian Wiese
Hi Nick, > > Tried with dovecot-2-2-pigeonhole-097764f6bbe3 which I renamed as > dovecot-2.2-pigeonhole-0.3.4 and at some point it failed as well: > > ... > + pushd dovecot-2.2-pigeonhole-0.3.4 > ~/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.2-pigeonhole-0.3.4 > ~/rpmbuild/BUILD/dovecot-2.2.0 > + C

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
On 26/3/2013 2:36 μμ, Christian Wiese wrote: Pigeonhole 2.1-0.3.3 is not compatible with dovecot 2.2, thus it is mandatory to update pigeonhole too. There seem to be no snapshot tarballs for it, so you most probably need to create your own from the correct mercurial branch. Tried with dovecot-

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Christian Wiese
Hi Nick, > > try to call 'autoreconf -vfi';) > > That's pure magic - autoreconf did the trick (on CentOS 6)! > > I, a poor man trying to build these rocket-science apps, could not do > it without your magic... Don't worry... that is no rocket science ;) I agree that dealing with "autofoo" can b

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
On 26/3/2013 1:35 μμ, Christian Wiese wrote: try to call 'autoreconf -vfi';) That's pure magic - autoreconf did the trick (on CentOS 6)! I, a poor man trying to build these rocket-science apps, could not do it without your magic... Yet, it did not work on CentOS 5: autoreconf: Entering di

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Christian Wiese
I made a little typo > I would suggest that you really try to tweak the spec file of that > package to regenerate the configure script. I have already seen that > there is no autogen.sh shipped within the nightly snapshots, so you > might want to try to call 'autorecon -vfi' _before_ calling > 'co

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Christian Wiese
Hi Nick, long time I haven't used RPMs or SRPMs, so I cannot really help about it. > I am using an SRPM το build RPMs. This SRPM was running fine with > earlier versions of dovecot - I don't see any reference of autogen > therein. > That there is no "reference of autogen" within the spec we shoul

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
On 26/3/2013 12:46 μμ, Christian Wiese wrote: just a quick guess, but maybe you need to run the supplied 'autogen.sh' script before running configure, so your configure scripts gets regenerated using_your_ installed version of autoconf. Thanks, I am using an SRPM το build RPMs. This SRPM was

Re: [Dovecot] Error Building v2.2

2013-03-26 Thread Christian Wiese
Hi, just a quick guess, but maybe you need to run the supplied 'autogen.sh' script before running configure, so your configure scripts gets regenerated using _your_ installed version of autoconf. Chris Am Tue, 26 Mar 2013 12:14:03 +0200 schrieb Nikolaos Milas : > Hello, > > I am trying to buil

[Dovecot] Error Building v2.2

2013-03-26 Thread Nikolaos Milas
Hello, I am trying to build Dovecot v2.2 (nightly version 20130326, which I have renamed and use as 2.2.0) on CentOS 6.4 x86_64 and I am having a problem: ... + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --pre