Hi guys, I have what I'm sure is a stupid question. I'm trying to install Dovecot 1.1.2 from source and my command sequence is this: cd dovecot-1.1.2 ./configure --prefix=/usr --exec-prefix=/usr --with-mysql --with-storagesmaildir --sysconfdir=/etc/dovecot make make install cd ../dovecot-sieve-1.1.5 ./configure --with-dovecot=../dovecot-1.1.2 make make install I don't get any errors during either install I've done the odd config on dovecot to try and keep it as close to the install dirs used by the Dovecot package included with Ubuntu. Once it's done, dovecot -n still looks in /usr/local/etc and when I try and start dovecot it looks for the libexec dir in /usr/local instead of /usr. Is there something I'm missing on the configure? I've very, very little experience (rather obviously) installing directly from source so any advice would be greatly appreciated. Thanks Guy -- Don't just do something...sit there!
On 8/9/2008, Guy (wyldfury at gmail.com) wrote:> I've done the odd config on dovecot to try and keep it as close to the > install dirs used by the Dovecot package included with Ubuntu. > Once it's done, dovecot -n still looks in /usr/local/etc and when I > try and start dovecot it looks for the libexec dir in /usr/local > instead of /usr. > Is there something I'm missing on the configure?First guess is you have another version installed through your package manager... Did you check this? -- Best regards, Charles
John and Catherine Allen
2008-Aug-10 16:50 UTC
[Dovecot] Install from source of dovecot 1.1.2
Guy wrote:> I have what I'm sure is a stupid question. I'm trying to install > Dovecot 1.1.2 from source and my command sequence is this: > cd dovecot-1.1.2 > ./configure --prefix=/usr --exec-prefix=/usr --with-mysql > --with-storagesmaildir --sysconfdir=/etc/dovecot > make > make install > cd ../dovecot-sieve-1.1.5 > ./configure --with-dovecot=../dovecot-1.1.2 > make > make install >> I've done the odd config on dovecot to try and keep it as close to the > install dirs used by the Dovecot package included with Ubuntu. > Once it's done, dovecot -n still looks in /usr/local/etc and when I > try and start dovecot it looks for the libexec dir in /usr/local > instead of /usr. > Is there something I'm missing on the configure? >I also install from source on my Debian system and I keep the configure options in a little script which currently looks like this: #!/bin/bash #configure flags for compilation compatible with gentoo emerge #john allen #9.5.2005 #modified 19.11.2006 #modified 26.1.2008 for kirtley ./configure \ --with-pam \ --without-deliver \ --with-storages=maildir \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --datadir=/usr/share \ --sysconfdir=/etc/dovecot \ --localstatedir=/var I can't see any problem with your configure options, so as Charles says maybe there's another dovecot somewhere on your system. Have you tried the command "which dovecot"? John -- John Allen Bofferdange, Luxembourg allen at vo.lu http://allenlux.dyndns.org
Hello Guy, Guy, 10.08.2008 (d.m.y):> I have what I'm sure is a stupid question. I'm trying to install > Dovecot 1.1.2 from source and my command sequence is this: > cd dovecot-1.1.2 > ./configure --prefix=/usr --exec-prefix=/usr --with-mysql > --with-storagesmaildir --sysconfdir=/etc/dovecot > make > make install > cd ../dovecot-sieve-1.1.5 > ./configure --with-dovecot=../dovecot-1.1.2 > make > make install > > I don't get any errors during either installOK, but you do "make install" as root, don't you?> I've done the odd config on dovecot to try and keep it as close to the > install dirs used by the Dovecot package included with Ubuntu. > Once it's done, dovecot -n still looks in /usr/local/etc and when I > try and start dovecot it looks for the libexec dir in /usr/local > instead of /usr. > Is there something I'm missing on the configure?Please check what you $PATH variable looks like and if there exists another dovecot in /usr/local/sbin (which maybe is mentioned in your $PATH before /usr/sbin). Or just call /usr/sbin dovecot -n. Gruss/Regards, Christian Schmidt -- You are a bundle of energy, always on the go.