gmp compilation error on amd64

Alain Spineux aspineux at gmail.com
Sun Oct 26 19:07:25 CET 2008


On Fri, Oct 24, 2008 at 9:03 PM, Rene Ouderling <m.ouderling at linxs.nl> wrote:
> Again no luck with the installation but now on debian etch. After about two
> hours the compilation process fails at gmp. See the log below. This problem
> is the same as issue 2928 and there is the mentioning of a patch which i
> believe is the same as in a mail from Thomas see the link
> http://kolab.org/pipermail/kolab-commits/2008q3/008490.KHTML
> But could someone tell me how to implement this patch. Can' t find it in the
> wiki

First install the sources

# openpkg rpm -i gmp-XXXXX.src.rpm

then edit the file gmp.spec that shoud be somewhere in /kolab/RPM/SRC/gmp
To match the one described in
http://kolab.org/pipermail/kolab-commits/2008q3/008490.html

then recompile the package

# openpkg rpm -bb  /kolab/RPM/SRC/gmp/gmp.spec

The last line of the log shoud give you the full path of the newly
compiled package.
Install it

# openpkg rpm -Uvh /kolab/RPM/PKG/gmpXXXXX.rpm

and try to continue the install process

OR OR OR OR OR

instead of creating a binary package, create a source package

# openpkg rpm -bs  /kolab/RPM/SRC/gmp/gmp.spec

and replace the source package by the new one that you will found
somewhere in /kolab/RPM/PKG/gmpXXXXX.src.rpm

Now you can try to restart the installation process from scratch on a
any 64bits OS.

Hope this help






>
> Kind regards
>
> Rene
> -------------------------------------------------------------------------------------------------------------------------------------
>  Preparing...
> ##################################################
>  pkgconfig
> ##################################################
>  :::: /tmp/install-kolab.27585.21778.20215.2505/pkgconfig-0.23-20080117.src.rpm
> = 0 ::::
>  :::: /tmp/install-kolab.27585.21778.20215.2505/gmp-4.2.2-20080101.src.rpm ::::
>
> Installing /tmp/install-kolab.27585.21778.20215.2505/gmp-4.2.2-20080101.src.rpm
>  Executing(%prep):
> env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.95270
>  + cd /kolab/RPM/TMP
>  + cd /kolab/RPM/TMP
>  + rm -rf gmp-4.2.2
>  + /kolab/lib/openpkg/gzip -dc /kolab/RPM/SRC/gmp/gmp-4.2.2.tar.gz
>  + /kolab/lib/openpkg/tar -xf -
>  + STATUS=0
>  + '[' 0 -ne 0 ']'
>  + cd gmp-4.2.2
>  + echo 'Patch #0 (gmp.patch):'
>  Patch #0 (gmp.patch):
>  + /kolab/lib/openpkg/patch -p0 -s -b
>  + rm -rf mpn/sparc32 mpn/sparc64
>  + exit 0
>  Executing(%build):
> env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.29339
>  + cd /kolab/RPM/TMP
>  + cd gmp-4.2.2
>  + export CC=/kolab/bin/cc
>  + CC=/kolab/bin/cc
>  + export CFLAGS=-fPIC
>  + CFLAGS=-fPIC
>  + case "amd64-debian4.0" in
>  + ./configure --prefix=/kolab --disable-shared
>  checking build system type... pentium2-unknown-linux-gnu
>  checking host system type... pentium2-unknown-linux-gnu
>  checking for a BSD-compatible install... /usr/bin/install -c
>  checking whether build environment is sane... yes
>  checking for gawk... no
>  checking for mawk... mawk
>  checking whether make sets $(MAKE)... yes
>  checking whether to enable maintainer-specific portions of Makefiles... no
>  checking ABI=32
>  checking whether /kolab/bin/cc is gcc... yes
>  checking compiler /kolab/bin/cc -fPIC ... yes
>  checking compiler /kolab/bin/cc -fPIC has sizeof(long)==4... no
>  configure: error: could not find a working compiler, see config.log for
> details
>  error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.29339 (%build)
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list