c++ - Compiling PDCurses on Windows with MinGW -


i'm getting weirdest error when ./configure when building nmcurses-5.9

the issue when try run

cc="gcc -m32" ld="ld -m32" ./configure \ --prefix=/mingw \ --without-cxx-binding \ --without-ada \ --enable-warnings \ --enable-assertions \ --enable-reentrant \ --with-debug \ --with-normal \ --disable-home-terminfo \ --enable-sp-funcs \ --enable-term-driver \ --enable-interop \ --with-pthread 

and error is

./configure: line 21016: d:\program: no such file or directory 

on line is

${make:-make} preinstall 

i building in mingw using msys. apreciated.

in ${make:-make} preinstall, expression ${make:-make} expands value of shell variable make, if set, , otherwise make.

so make set , expands of form d:\program files\..., i.e. path embedded spaces, construed distinct tokens d:\program , files\... shell when attempting execute intended command:

\path\to\make preinstall 

instead attempts execute program d:\program arguments files\... preinstall , complains no such program exists.

with gnu autotools advisable install tools in paths free of embedded spaces.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -