[GAP Forum] Having trouble installing GAP 4.7.8

Alexander Konovalov alexander.konovalov at st-andrews.ac.uk
Sat Aug 15 21:20:05 BST 2015


Thank you for reporting this. Could you please tell which compiler 
are you using to build GAP by sending me the output of gcc -v ? 
On OS X, after XCode installation gcc actually calls clang, and my 
guess is that this may be may be a version of clang which is not 
compatible with GMP, so building GMP fails. There are several 
ways to fix this:


1) the fastest way is to build GAP without GMP support

make clean
./configure --with-gmp=no
make

at the cost of a slightly slower integer arithmetic.


2) Install gcc compiler using, for example, homebrew (http://brew.sh), 
and then call

make clean
export CC=/usr/local/bin/gcc-4.9
./configure --with-gmp=no
make

(adjust the part in export=... as required).


Unfortunately, the BOB installer does not work at the moment.


Hope this helps
Alexander









> On 15 Aug 2015, at 18:44, Will Chen <oxeimon at gmail.com> wrote:
> 
> I'm running OS X Yosemite on a 2013 Macbook Pro, and I've tried installing
> gap 4.7.8 in two ways:
> 
> 1. I downloaded the gap4r7p8_2015_06_09-20_27.tar file from here:
> http://www.gap-system.org/Releases/index.html
> Then I unpacked it, and in the resulting gap4r7 directory I entered
> "./configure; make"
> 
> The configure seemed to go through without trouble. Make however ended
> in...:
> 
> ...
> 
> 
> x gmp-5.0.5/tune/x86_64.asm
> 
> x gmp-5.0.5/version.c
> 
> x gmp-5.0.5/ylwrap
> 
> 
> Configuring GMP. Logging to
> bin/x86_64-apple-darwin14.1.0-gcc-default64/extern/gmp-5.0.5/build_log.
> Please wait...
> 
> 
> 
> Building GMP. Logging to
> bin/x86_64-apple-darwin14.1.0-gcc-default64/extern/gmp-5.0.5/build_log.
> Please wait...
> 
> 
> 
> Checking GMP. Logging to
> bin/x86_64-apple-darwin14.1.0-gcc-default64/extern/gmp-5.0.5/build_log.
> Please wait...
> 
> 
> 
> ***Error: GMP self-check has failed. See
> bin/x86_64-apple-darwin14.1.0-gcc-default64/extern/gmp-5.0.5/build_log for
> details.***
> 
> 
> make[1]: *** [gmp_build] Error 1
> 
> make: *** [extern] Error 2
> 
> 
> I don't understand the error. I've installed XCode, which seems to already
> be packaged with the apple command line tools.
> 
> 
> 2. I tried using BOB, following the directions here:
> http://gap-system.github.io/bob/#downloadtab
> 
> including installing MacPorts and entering "sudo port install readline
> +universal ncurses +universal gawk wget xorg-libX11 xorg-libXaw" in the
> terminal.
> 
> That seemed to go through fine, until I actually open Bob, at which point I
> get the error message in the terminal:
> 
> Working on component GAP ...
> 
> Getting component GAP
> 
> Getting link file...
> 
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
> 
>                                 Dload  Upload   Total   Spent    Left
> Speed
> 
> 100  9116  100  9116    0     0   102k      0 --:--:-- --:--:-- --:--:--
> 103k
> 
> Error:Link file /Users/wchen/gap_installation/bobdownloads/GAP.link corrupt.
> 
> Error:Could not download GAP archive.
> 
> Error:Stopping.
> 
> Summary:
> 
> 
> Components with errors:
> 
>  GAP
> 
> I've tried redownloading Bob to no avail.
> 
> Any ideas?
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum


--
Dr. Alexander Konovalov               School of Computer Science
& Centre for Interdisciplinary Research in Computational Algebra
University of St Andrews                 Tel +44/0 (1334) 461633
http://blogs.cs.st-andrews.ac.uk/alexk/  Fax +44/0 (1334) 463278
The University of St Andrews is a charity registered in Scotland:No.SC013532







More information about the Forum mailing list