Bill Holt wrote:
Aleksander Podsiadły wrote:
-----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-----
Why does it need postgresql-devel to compile?
--
Bill Holt
bh...@net-axs.com
"Remember, the government cannot give anything to anyone --
that they have not first taken from someone else."
--------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today!

It shouldn't. Which config parameters are you using?

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to