I am trying to Build and Install the Apache Thrift compiler and libraries
I had to type this command is shown in instructions
./configure && make
But I get this error:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/PATH/TO/thrift-0.9.3':
configure: error: no acceptable C compiler found in $PATH
When I type in my command prompt
gcc --version
I get this
gcc (GCC) 5.3.0
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.
It finds the gcc compiler. However, when I run it from my msys2
Shell
bash: gcc: command not found
The path in Environment variables is correct. C:\MinGW\bin
Yet it canno't find gcc
Thanks in advance!
./configure && make
in acygwin
environment or something similar such as window's linux subsystem? If yes, you need the gcc that comes withcygwin
or Window's Linux Subsystem. – Concentrationbash
is not native to Windows 10, so you must be running Window's subsystem for linux. Try installing gcc from withinbash
. – Concentrationpacman -S mingw-w64-x86_64-gcc
to install gcc packages, any other suggestions ? – Vivisectbash
, what's the value of$PATH
? Update the path to add the location of gcc and other binutils. You'll need them all in make. – Concentration$PATH
I get this/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/ProgramData/Oracle/Java/javapath:/c/ProgramData/Oracle/Java/javapath/bin:/c/Program: No such file or directory
And for some reason I can't find here gcc. Is that the problem ? or am I missing something ? Thanks in advance. – Vivisect