настроить проблему медузы не может запустить скомпилированные программы C с MinGW g ++ - PullRequest
0 голосов
/ 12 октября 2019

Я пытаюсь установить медузу, используя GNU bash, версия 4.4.23 (1) -релиз (x86_64-pc-msys). У меня gcc и g ++ with версия 6.3.0 (MinGW.org GCC-6.3.0-1) `. Когда я запускаю файл конфигурации, я получаю сообщение об ошибке ниже:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... configure: error: in `/c/Users/bjwil/Downloads/jellyfish-2.2.10':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
./configure: line 38: sort: No such file or directory
./configure: line 35: sed: No such file or directory

Затем внутри файла config.log я начинаю с первой ошибки после COLLECT_GCC=C:\MinGW\bin\gcc.exe:

configure:3778: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3789: $? = 1
configure:3778: gcc -qversion >&5
gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc.exe: fatal error: no input files
compilation terminated.
configure:3789: $? = 1
configure:3809: checking whether the C compiler works
configure:3831: gcc    conftest.c  >&5
configure:3835: $? = 0
configure:3883: result: yes
configure:3886: checking for C compiler default output file name
configure:3888: result: a.exe
configure:3894: checking for suffix of executables
configure:3901: gcc -o conftest.exe    conftest.c  >&5
configure:3905: $? = 0
configure:3927: result: .exe
configure:3949: checking whether we are cross compiling
configure:3957: gcc -o conftest.exe    conftest.c  >&5
configure:3961: $? = 0
configure:3968: ./conftest.exe
./configure: line 3970: ./conftest.exe: Permission denied
configure:3972: $? = 126
configure:3979: error: in `/c/Users/bjwil/Downloads/jellyfish-2.2.10':
configure:3981: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Работает нормальнов Ubuntu 64-bit.

...