On Tue, Jul 03, 2007, Andy Harrison wrote: > Hi there. I'm new to openpkg but I'm trying to satisfy the > dependencies of the kolab project so that I can give it a try. > > When I get to the gmp package (required by the clamav package), I get > the following error during the configure portion of the process: > > - ------------------------- > configure: error: Oops, mp_limb_t is 32 bits, but the assembler code > in this configuration expects 64 bits. > You appear to have set , perhaps you also need to tell GMP the > intended ABI, see "ABI and ISA" in the manual. > error: Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.28097 (%build) > > RPM build errors: > Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.28097 (%build) > - ------------------------- > > I noticed a newer spec file in ftp://ftp.openpkg.org/sources/SRC/gmp > so I grabbed that, put it in my openpkg dir under RPM/SRC/gmp/ and > tried 'openpkg rpmbuild -ba gmp.spec' and it gets the same error. > > Any ideas? > > # openpkg --version > OpenPKG-CURRENT (20070630) > # openpkg rpm -qa gcc > gcc-4.2.0-20070611 > # uname -prs > Linux 2.6.15-1.2054_FC5smp athlon > > Running on a Sun v20z box.
The Sun V20z is an AMD64 architecture, so I guess there is a mismatch between the hardware detection of GMP and the OS support of the Linux distribution you are using. Can it be that this is a 32-bit Linux distribution *user-land* running with a 64-bit Linux *kernel* on a 64-bit *hardware*? Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org