[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] OSX build fails
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] OSX build fails |
Date: |
Thu, 19 May 2016 11:56:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Dragiša Durić <address@hidden> writes:
> Hi,
>
> I am following instructions on building a MacPorts gm2. But, it fails
> for me, failing step says:
>
> narsil:~ root# cd
> "/opt/local/var/macports/build/_Users_dragisha_MacPorts_ports_lang_gm2-latest/gm2-latest/work/build"
> && ../gcc-4.1.2/configure --prefix=/opt/local -
> -enable-languages=c,c++,gm2 --libdir=/opt/local/lib/gm2-latest -
> -includedir=/opt/local/include/gm2-latest -
> -infodir=/opt/local/share/info --mandir=/opt/local/share/man -
> -with-local-prefix=/opt/local --with-system-zlib --disable-multilib -
> -disable-nls --with-gxx-include-dir=/opt/local/include/gm2-latest/c++/
> --with-gmp=/opt/local --with-mpfr=/opt/local
> loading cache ./config.cache
> checking host system type... i386-apple-darwin15.4.0
> checking target system type... i386-apple-darwin15.4.0
> checking build system type... i386-apple-darwin15.4.0
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gnatbind... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp -
> -ignore-initial=16 $$f1 $$f2
> checking for correct version of gmp.h... yes
> checking for MPFR... yes
> configure: error:
> The following requested languages could not be built: gm2
> Recognised languages are: c,c++,obj-c++,treelang
>
> It looks like MacPorts recipe did not patch gcc-4.1.2 tree or
> something…
>
> Any1 experienced this?
>
> TIA,
> dd
>
Hi Dragisha,
thanks for the report - yes it looks as if the macports gm2 tarball is
not being generated correctly. Do you (and other subscribers) use
homebrew or macports?
I hear good reports of homebrew from work (I see homebrew supports
gcc-48x which would match the latest stable gm2 release). I wonder
whether it might be a good candidate from which to base a patch?
regards,
Gaius