Closed AckslD closed 4 years ago
We need to see the config.log
file to make a proper diagnostic. configure
says the compiler is not working and config.log
may tell us exactly what is the problem.
Hi @kiwifb! Thanks for your reply! Where can I find the configure.log
? If I try to access the folder /private/var/folders/_r/04lvqnvj5db5462z07vq_6rsb00kgf/T/pip-install-qji9bd90/cysignals
it seems it does not exist anymore.
Run pip3 install --no-clean ...
and it should keep all those files and directories.
Hi again @kiwifb, below is the core tests part from the config.log
, it seems as some arguments to gcc
are not recognized. I've before this update gcc by running brew upgrade gcc
:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2269: checking for gcc
configure:2285: found /usr/local/bin/gcc
configure:2296: result: gcc
configure:2525: checking for C compiler version
configure:2534: gcc --version >&5
gcc (Homebrew GCC 4.8.5) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2545: $? = 0
configure:2534: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc@4.8/4.8.5/libexec/gcc/x86_64-apple-darwin16.3.0/4.8.5/lto-wrapper
Target: x86_64-apple-darwin16.3.0
Configured with: ../configure --build=x86_64-apple-darwin16.3.0 --prefix=/usr/local/Cellar/gcc@4.8/4.8.5 --libdir=/usr/local/Cellar/gcc@4.8/4.8.5/lib/gcc/4.8 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-4.8 --with-gmp=/usr/local/opt/gmp@4 --with-mpfr=/usr/local/opt/mpfr@2 --with-mpc=/usr/local/opt/libmpc@0.8 --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl@0.12 --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --with-pkgversion='Homebrew GCC 4.8.5' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues MAKEINFO=missing --with-build-config=bootstrap-debug --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 4.8.5 (Homebrew GCC 4.8.5)
configure:2545: $? = 0
configure:2534: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2545: $? = 1
configure:2534: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2545: $? = 1
configure:2565: checking whether the C compiler works
configure:2587: gcc conftest.c >&5
configure:2591: $? = 0
configure:2639: result: yes
configure:2642: checking for C compiler default output file name
configure:2644: result: a.out
configure:2650: checking for suffix of executables
configure:2657: gcc -o conftest conftest.c >&5
configure:2661: $? = 0
configure:2683: result:
configure:2705: checking whether we are cross compiling
configure:2713: gcc -o conftest conftest.c >&5
conftest.c:9:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
configure:2717: $? = 1
configure:2724: ./conftest
configure: line 2726: ./conftest: No such file or directory
configure:2728: $? = 127
configure:2735: error: in `/private/var/folders/_r/04lvqnvj5db5462z07vq_6rsb00kgf/T/pip-install-96ba_zea/cysignals':
configure:2737: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Some standard headers weren't found. You are using an (old) gcc from homebrew and obviously it doesn't know where to find the header. I am guessing your homebrew installation is from before upgrading to Catalina.
When I do
pip3 install cysignals
, I get the following error:What could be wrong?