Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 30-05-2013 10:52, Arto Saraniva wrote: -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Burak GÜRER Sent: Thursday, May 30, 2013 10:34 AM To: Nikolaos Milas Cc: Dovecot Mailing List Subject: Re: [Dovecot] Dovecot 2.2 build rpm on Centos6 On 27-05-2013 16:56, Nikolaos Milas wrote: On 27/5/2013 1:07 μμ, Birta Levente wrote: I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 You may want to try: dovecot-2.2.2-2.noa.el6.src.rpm which produces: dovecot-2.2.2-2.noa.el6.x86_64.rpm dovecot-debuginfo-2.2.2-2.noa.el6.x86_64.rpm dovecot-devel-2.2.2-2.noa.el6.x86_64.rpm dovecot-mysql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pgsql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pigeonhole-2.2.2-2.noa.el6.x86_64.rpm available at: http://www.noa.gr/rpmfiles/ This package is using LTB Project's Openldap RPMs for LDAP linking: http://ltb-project.org/wiki/download#openldap The above Dovecot SRPM has evolved from fakessh's rpms: http://ns.fakessh.eu/rpms/ and I like it because it is clean and clear (to me, at least). Nick another question.. anybody built dovecot 2.2 on rhel/centos 5 there is any knowhow or any builded pack http://www.city-fan.org/ftp/contrib/mail/ -arto thanks arto
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 30/05/2013 10:34, Burak GÜRER wrote: On 27-05-2013 16:56, Nikolaos Milas wrote: On 27/5/2013 1:07 μμ, Birta Levente wrote: I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 You may want to try: dovecot-2.2.2-2.noa.el6.src.rpm which produces: dovecot-2.2.2-2.noa.el6.x86_64.rpm dovecot-debuginfo-2.2.2-2.noa.el6.x86_64.rpm dovecot-devel-2.2.2-2.noa.el6.x86_64.rpm dovecot-mysql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pgsql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pigeonhole-2.2.2-2.noa.el6.x86_64.rpm available at: http://www.noa.gr/rpmfiles/ This package is using LTB Project's Openldap RPMs for LDAP linking: http://ltb-project.org/wiki/download#openldap The above Dovecot SRPM has evolved from fakessh's rpms: http://ns.fakessh.eu/rpms/ and I like it because it is clean and clear (to me, at least). Nick another question.. anybody built dovecot 2.2 on rhel/centos 5 there is any knowhow or any builded pack I done yesterday with spec that I used on centos 6 without any modification src rpm from http://mstevens.fedorapeople.org/el6/dovecot/2.2/ Levi smime.p7s Description: S/MIME Cryptographic Signature
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
> -Original Message- > From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] > On Behalf Of Burak GÜRER > Sent: Thursday, May 30, 2013 10:34 AM > To: Nikolaos Milas > Cc: Dovecot Mailing List > Subject: Re: [Dovecot] Dovecot 2.2 build rpm on Centos6 > > On 27-05-2013 16:56, Nikolaos Milas wrote: > > On 27/5/2013 1:07 μμ, Birta Levente wrote: > > > >> I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos > >> 6.4 > > > > You may want to try: > > > > dovecot-2.2.2-2.noa.el6.src.rpm > > > > which produces: > > > > dovecot-2.2.2-2.noa.el6.x86_64.rpm > > dovecot-debuginfo-2.2.2-2.noa.el6.x86_64.rpm > > dovecot-devel-2.2.2-2.noa.el6.x86_64.rpm > > dovecot-mysql-2.2.2-2.noa.el6.x86_64.rpm > > dovecot-pgsql-2.2.2-2.noa.el6.x86_64.rpm > > dovecot-pigeonhole-2.2.2-2.noa.el6.x86_64.rpm > > > > available at: http://www.noa.gr/rpmfiles/ > > > > This package is using LTB Project's Openldap RPMs for LDAP linking: > > > > http://ltb-project.org/wiki/download#openldap > > > > The above Dovecot SRPM has evolved from fakessh's rpms: > > http://ns.fakessh.eu/rpms/ and I like it because it is clean and > clear > > (to me, at least). > > > > Nick > > another question.. anybody built dovecot 2.2 on rhel/centos 5 > > there is any knowhow or any builded pack http://www.city-fan.org/ftp/contrib/mail/ -arto
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27-05-2013 16:56, Nikolaos Milas wrote: On 27/5/2013 1:07 μμ, Birta Levente wrote: I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 You may want to try: dovecot-2.2.2-2.noa.el6.src.rpm which produces: dovecot-2.2.2-2.noa.el6.x86_64.rpm dovecot-debuginfo-2.2.2-2.noa.el6.x86_64.rpm dovecot-devel-2.2.2-2.noa.el6.x86_64.rpm dovecot-mysql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pgsql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pigeonhole-2.2.2-2.noa.el6.x86_64.rpm available at: http://www.noa.gr/rpmfiles/ This package is using LTB Project's Openldap RPMs for LDAP linking: http://ltb-project.org/wiki/download#openldap The above Dovecot SRPM has evolved from fakessh's rpms: http://ns.fakessh.eu/rpms/ and I like it because it is clean and clear (to me, at least). Nick another question.. anybody built dovecot 2.2 on rhel/centos 5 there is any knowhow or any builded pack
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 28/5/2013 10:42 πμ, Birta Levente wrote: Thank you Nick, but I can't reach this link ... You can access each file separately by using the whole link, like: http://www.noa.gr/rpmfiles/dovecot-2.2.2-2.noa.el6.src.rpm We don't allow directory listing, but if you know the file name, it works :-) Try it! Best regards, Nick
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27/05/2013 16:56, Nikolaos Milas wrote: On 27/5/2013 1:07 μμ, Birta Levente wrote: I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 You may want to try: dovecot-2.2.2-2.noa.el6.src.rpm available at: http://www.noa.gr/rpmfiles/ Thank you Nick, but I can't reach this link ... This package is using LTB Project's Openldap RPMs for LDAP linking: http://ltb-project.org/wiki/download#openldap The above Dovecot SRPM has evolved from fakessh's rpms: http://ns.fakessh.eu/rpms/ and I like it because it is clean and clear (to me, at least). Nick smime.p7s Description: S/MIME Cryptographic Signature
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27/5/2013 1:07 μμ, Birta Levente wrote: I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 You may want to try: dovecot-2.2.2-2.noa.el6.src.rpm which produces: dovecot-2.2.2-2.noa.el6.x86_64.rpm dovecot-debuginfo-2.2.2-2.noa.el6.x86_64.rpm dovecot-devel-2.2.2-2.noa.el6.x86_64.rpm dovecot-mysql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pgsql-2.2.2-2.noa.el6.x86_64.rpm dovecot-pigeonhole-2.2.2-2.noa.el6.x86_64.rpm available at: http://www.noa.gr/rpmfiles/ This package is using LTB Project's Openldap RPMs for LDAP linking: http://ltb-project.org/wiki/download#openldap The above Dovecot SRPM has evolved from fakessh's rpms: http://ns.fakessh.eu/rpms/ and I like it because it is clean and clear (to me, at least). Nick
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27/05/2013 15:40, Morten Stevens wrote: On 27.05.2013 14:10, Birta Levente wrote: Maybe someone who built dovecot 2.2 on rhel/centos 6 help me how do that? Yes: http://mstevens.fedorapeople.org/el6/dovecot/2.2/ Best regards, Morten Thank you!!! It's work Levi smime.p7s Description: S/MIME Cryptographic Signature
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27.05.2013 14:10, Birta Levente wrote: Maybe someone who built dovecot 2.2 on rhel/centos 6 help me how do that? Yes: http://mstevens.fedorapeople.org/el6/dovecot/2.2/ Best regards, Morten
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
On 27/05/2013 13:42, Christian Wiese wrote: Hi Birta, it looks like you are having an issue with your RPM spec file. I am not doing RPM builds at all, but it seems to me that %{__global_cflags} is somehow not expanded. %< configure:4237: checking for C compiler default output file name configure:4259: gcc %{__global_cflags} -fno-strict-aliasing -Wl,-z,now -Wl,-z,relro %{__global_ldflags} conftest.c >&5 gcc: %{__global_cflags}: No such file or directory gcc: %{__global_ldflags}: No such file or directory Am Mon, 27 May 2013 13:07:37 +0300 %< 'gcc %{__global_cflags} ...' as seen in the config.log is of course not valid, so you need to find the reason why it is not getting expanded. This is clearly not an issue with dovecot itself but an issue with your "build system". Cheers, Chris Thanks for the reply. You probably right, but I have no idea what is this {__global_??flags}. I tried to delete from the spec file ... before: export CFLAGS="%{__global_cflags} -fno-strictaliasing" export LDFLAGS="-Wl,-z,now -Wl,-z,relro %{__global_ldflags}" after: export CFLAGS="-fno-strictaliasing" export LDFLAGS="-Wl,-z,now -Wl,-z,relro" and get over the configure stage, but in the make stage I get many errors. So I think this is searching in the dark. Maybe someone who built dovecot 2.2 on rhel/centos 6 help me how do that? Thanks Levi schrieb Birta Levente : Hi list, I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 rpmbuild --define 'rhel 64' -ba dovecot-2.2.spec I get this error: checking for C compiler default output file name... configure: error: in `/home/builder/rpmbuild/BUILD/dovecot-2.2.2': configure: error: C compiler cannot create executables See `config.log' for more details. (config.log attached) What I missing? I'm not totally beginner, built dovecot 2.1 rpm-s many times same way like this, but not know mutch about building rpms and with this I just can get to work. Thank you! Levi smime.p7s Description: S/MIME Cryptographic Signature
Re: [Dovecot] Dovecot 2.2 build rpm on Centos6
Hi Birta, it looks like you are having an issue with your RPM spec file. I am not doing RPM builds at all, but it seems to me that %{__global_cflags} is somehow not expanded. %< configure:4237: checking for C compiler default output file name configure:4259: gcc %{__global_cflags} -fno-strict-aliasing -Wl,-z,now -Wl,-z,relro %{__global_ldflags} conftest.c >&5 gcc: %{__global_cflags}: No such file or directory gcc: %{__global_ldflags}: No such file or directory Am Mon, 27 May 2013 13:07:37 +0300 %< 'gcc %{__global_cflags} ...' as seen in the config.log is of course not valid, so you need to find the reason why it is not getting expanded. This is clearly not an issue with dovecot itself but an issue with your "build system". Cheers, Chris schrieb Birta Levente : > Hi list, > > I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos > 6.4 > > rpmbuild --define 'rhel 64' -ba dovecot-2.2.spec > > I get this error: > > checking for C compiler default output file name... > configure: error: in `/home/builder/rpmbuild/BUILD/dovecot-2.2.2': > configure: error: C compiler cannot create executables > See `config.log' for more details. > > > (config.log attached) > > > What I missing? > > I'm not totally beginner, built dovecot 2.1 rpm-s many times same way > like this, but not know mutch about building rpms and with this I > just can get to work. > > Thank you! > > Levi > >
[Dovecot] Dovecot 2.2 build rpm on Centos6
Hi list, I tried to build rpm based on dovecot-2.2.2-2.fc20.src.rpm on Centos 6.4 rpmbuild --define 'rhel 64' -ba dovecot-2.2.spec I get this error: checking for C compiler default output file name... configure: error: in `/home/builder/rpmbuild/BUILD/dovecot-2.2.2': configure: error: C compiler cannot create executables See `config.log' for more details. (config.log attached) What I missing? I'm not totally beginner, built dovecot 2.1 rpm-s many times same way like this, but not know mutch about building rpms and with this I just can get to work. Thank you! Levi This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Dovecot configure 2.2.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info INSTALL_DATA=install -c -p -m644 --docdir=/usr/share/doc/dovecot-2.2.2 --disable-static --disable-rpath --with-nss --with-shadow --with-pam --with-gssapi=plugin --with-ldap=plugin --with-sql=plugin --with-pgsql --with-mysql --with-sqlite --with-zlib --with-libcap --with-lucene --with-ssl=openssl --with-ssldir=/etc/pki/dovecot --with-solr --with-systemdsystemunitdir=%{_unitdir} --with-docs ## - ## ## Platform. ## ## - ## hostname = uname -m = x86_64 uname -r = 2.6.32-358.6.2.el6.x86_64 uname -s = Linux uname -v = #1 SMP Thu May 16 20:59:36 UTC 2013 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin ## --- ## ## Core tests. ## ## --- ## configure:2290: checking for a BSD-compatible install configure:2358: result: /usr/bin/install -c configure:2369: checking whether build environment is sane configure:2429: result: yes configure:2570: checking for a thread-safe mkdir -p configure:2609: result: /bin/mkdir -p configure:2622: checking for gawk configure:2638: found /bin/gawk configure:2649: result: gawk configure:2660: checking whether make sets $(MAKE) configure:2682: result: yes configure:2766: checking whether to enable maintainer-specific portions of Makefiles configure:2775: result: no configure:2794: checking for x86_64-redhat-linux-gnu-pkg-config configure:2827: result: no configure:2837: checking for pkg-config configure:2855: found /usr/bin/pkg-config configure:2867: result: /usr/bin/pkg-config configure:2892: checking pkg-config is at least version 0.9.0 configure:2895: result: yes configure:3823: checking for style of include used by make configure:3851: result: GNU configure:3881: checking for x86_64-redhat-linux-gnu-gcc configure:3911: result: no configure:3921: checking for gcc configure:3937: found /usr/bin/gcc configure:3948: result: gcc configure:4180: checking for C compiler version configure:4188: gcc --version >&5 gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4192: $? = 0 configure:4199: gcc -v >&5 Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) configure:4203: $? = 0 configure:4210: gcc -V >&5 gcc: '-V' option must have argument configure:4214: $? = 1 configure:4237: checking for C compiler default output file name configure:4259: gcc %{__global_cflags} -fno-strict-aliasing -Wl,-z,now -Wl,-z,relro %{__global_ldflags} conftest.c >&5 gcc: %{__global_cflags}: No such file or directory gcc: %{__global_ldflags}: No such file or directory configure: