Hi Aleksander,

I just executed command "rpmbuild --rebuild --with vpopmail
dovecot-*.src.rpm".

Will this also work. The above comand has built 3 RPMS mention below:
1) dovecot-1.2.8-0_103.i386.rpm
2) dovecot-debuginfo-1.2.8-0_103.i386.rpm
3) dovecot-devel-1.2.8-0_103.i386.rpm

So do I install this all rpm or I had done some mistake.

Thanks and regards,

Amit


2009/11/24 Aleksander Podsiadły <a...@westside.kielce.pl>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dnia 2009-11-24, o godz. 20:08:27
> amit IKF <a...@ikf.co.in> napisał(a):
>
> > Thanks Aleksander.
> >
> > Now second step is I download source rpm i.e.
> > wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm
> >
> > Now how do compile it with --with-vpopmail.
> >
> > Regards,
> >
> > Amit
>
> You have to compile dovecot as root, ordinary user have no permission
> to access vpopmail libraries.
> The simplest way is
> install source:
> rpm -i dovecot-1.2.8-0_103.src.rpm
>
> go to spec file end edit it by vi:
> cd /usr/src/redhat/SPECS
> vi dovecot.spec
>
> find line --disable-static (line 97) and after it add line:
>    --with-vpopmail  \
>
> save it and compile for 64 bits:
> rpmbuild -ba --target=i88_64 dovecot.spec
> or for 32 bits:
> rpmbuild -ba --target=i686 dovecot.spec
>
> Now you cen remove spec file and sources from /usr/src/redhat/SOURCES
> You successfully compiled dovecot. :)
>
> In /usr/src/redhat/SRPMS there is modified src.rpm
> In /usr/src/redhat/RPMS/x86_64 or /usr/src/redhat/RPMS/i686 there are 3
> rpm packages, you need only the one without devel or debuginfo in name.
>
> - --
> Pozdrawiam / Regards,
> Aleksander Podsiadły
> mail: a...@westside.kielce.pl
> jid: a...@jabber.westside.kielce.pl
> ICQ: 201121279
> gg: 9150578
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.13 (GNU/Linux)
>
> iEYEARECAAYFAksL+5EACgkQfgLJLO5aIX1aGwCgzPhAeAkXaQi95Zs+NMoWvHkU
> UdMAnifGEWWCwedxoZkLfup0nptOLYbz
> =QXY8
> -----END PGP SIGNATURE-----
>

Reply via email to