Installing cyrus-imapd-2.2 on AMD64 (was: no subject)

Sven Mueller sven at incase.de
Tue Apr 25 16:08:03 UTC 2006


Dieter Verforst wrote on 25/04/2006 14:29:
> I would like to install  cyrus-imap on my computer from the sources
> cyrus-imapd-2.2_2.2.12.orig.tar.gz. or cyrus-imapd-2.2_2.2.12-4.dsc
> <http://ftp.debian.org/debian/pool/main/c/cyrus-imapd-2.2/cyrus-imapd-2.2_2.2.12-4.dsc>
> It is an amd64 with Linux (Debian). 
> With the call of  ./configure I receive the following error message: 
>  
> checking build system type... Invalid configuration
> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
> configure: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed
>  
> All other software could be installed without problems.  How can I solve
> the problem? 

The problem is that you try to install from the original sources, which
include outdated config.sub and config.guess files (which the debian
build scripts replace at build time with the more up-to-date versions
available in Debian). Those outdated files don't know about the AMD64
architecture and thus the build fails on such machines.

The way to go is:

- become a normal user (non-root)
- fetch .dsc, .diff.gz and .orig.tar.gz from Debian's archive. Easiest
way to do that is to add: "deb-src http://ftp.de.debian.org/debian sid
main" to your /etc/apt/sources.list, run "apt-get update" and "apt-get
source cyrus-imapd-2.2".
- If you fetched the files individually, rather than by apt-get source,
unpack the source with "dpkg-source -x cyrus-imapd-2.2_.....dsc"
- chdir to cyrus-imapd-2.2.* directory
- run dpkg-buildpackage -uc -us -rfakeroot
- chdir ..
Then you should have the AMD64 packages in the current directory.

Easier way of course would be to use the pre-built AMD64 packages
available (via apt-get) at
deb http://mail.incase.de/cyrus22 sarge main

regards,
Sven



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list