[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mac OS installation problem
From: |
Jean ABOU SAMRA |
Subject: |
Mac OS installation problem |
Date: |
Mon, 22 Jul 2019 21:13:09 +0200 |
Hi there,
I'm trying to install Guile 1.8 (_not_ the latest 2.2.6 version) on Mac OS
10.14 Mojave. I downloaded the guile-1.8.8.tar.gz file from
ftp://ftp.gnu.org/gnu/guile/ <ftp://ftp.gnu.org/gnu/guile/> . However, after
running ./configure, running 'make' stops with the following error:
gc-malloc.c:95:20: error: comparison of unsigned expression < 0 is always false
[-Werror,-Wtautological-compare]
if (scm_mtrigger < 0)
Then I realised that the `gcc` command was pointing to clang (as by default on
Mac OS) so I installed GCC 9.1.0 and forced the `gcc` command to point to this
GCC. When I extracted the archive again in a new folder and executed
./configure, I ran into another problem:
checking whether we are cross compiling... configure: error: in
`/Users/jean/Applications/guile-1.8.8-new':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
I attach the logs generated by the compilation commands:
iMac:guile-1.8.8 jean$ # This is with clang.
iMac:guile-1.8.8 jean$ ./configure
iMac:guile-1.8.8 jean$ make &> guile-make.log # attaching 'guile-make.log'
iMac-devoirs:guile-1.8.8-new jean$ # This is with GCC 9.1.0.
iMac-devoirs:guile-1.8.8-new jean$ ./configure # attaching 'config.log'
Any hints on how to get Guile to compile?
Thanks in advance,
Jean Abou Samra.
- Mac OS installation problem,
Jean ABOU SAMRA <=