Make is not recognized as an internal or external command, operable program or batch file.

unread,

Feb 27, 2015, 5:54:50 AM2/27/15

to

calledproceserror:command mingw32-make build COMP=MINGW

unread,

Feb 27, 2015, 6:12:21 AM2/27/15

to

On Thursday, February 26, 2015 at 1:54:50 PM UTC-8, wrote:
> calledproceserror:command mingw32-make build COMP=MINGW

You have to install the mingw system and compiler.
After you install msys, start msys by running msys.bat
To make sure that your compiler is properly installed type the following version query:

dcorbit@dcorbit /f/project/dcorbit/Stockfish-Apex_V2/src
$ gcc --version
gcc.exe (GCC) 5.0.0 20150215 (experimental)
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.

I would recommend that you install the version Marco Costalba recommended.

unread,

Feb 27, 2015, 7:27:10 AM2/27/15

to ,

Am Donnerstag, 26. Februar 2015 23:12:21 UTC+1 schrieb :
> On Thursday, February 26, 2015 at 1:54:50 PM UTC-8, wrote:
> > calledproceserror:command mingw32-make build COMP=MINGW
>
> You have to install the mingw system and compiler.

Leszek meant something else: there is something wrong again that makes the workers stop, because i am getting the same error:

Worker version 55 connecting to http://tests.stockfishchess.org:80
Der Befehl "mingw32-make" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

Exception running games:
Traceback (most recent call last):
File "C:\fishtest-master\worker\worker.py", line 86, in worker
run_games(worker_info, password, remote, run, task_id)
File "C:\fishtest-master\worker\games.py", line 373, in run_games
setup_engine(new_engine, binaries_url, worker_dir, run['args']['resolved_new
'], repo_url, worker_info['concurrency'])
File "C:\fishtest-master\worker\games.py", line 149, in setup_engine
build(worker_dir, sha, repo_url, destination, concurrency)
File "C:\fishtest-master\worker\games.py", line 128, in build
subprocess.check_call(MAKE_CMD + ' -j %s' % (concurrency), shell=True)
File "C:\Python27\lib\subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'mingw32-make build COMP=mingw ARCH=x86-64-modern -j
5' returned non-zero exit status 1
Task exited

fastgm

unread,

Feb 27, 2015, 7:34:55 AM2/27/15

to

Same error on all Windows machines

Der Befehl "mingw32-make" ist entweder falsch geschrieben oder

konnte nicht gefunden werden.

Exception running games:

Traceback (most recent call last):

  File "worker.py", line 86, in worker

    run_games(worker_info, password, remote, run, task_id)

  File "D:\fishtest\worker\games.py", line 373, in run_games

    setup_engine(new_engine, binaries_url, worker_dir, run['args']['resolved_new

'], repo_url, worker_info['concurrency'])

  File "D:\fishtest\worker\games.py", line 149, in setup_engine

    build(worker_dir, sha, repo_url, destination, concurrency)

  File "D:\fishtest\worker\games.py", line 128, in build

    subprocess.check_call(MAKE_CMD + ' -j %s' % (concurrency), shell=True)

  File "d:\Python27\lib\subprocess.py", line 542, in check_call

    raise CalledProcessError(retcode, cmd)

CalledProcessError: Command 'mingw32-make build COMP=mingw ARCH=x86-64-modern -j

 3' returned non-zero exit status 1

Task exited

Gary Linscott

unread,

Feb 27, 2015, 12:28:16 PM2/27/15

to

The win32 binary builder has gone down. I'm not able to fix it right now, hopefully will have it back in a few hours.

unread,

Feb 28, 2015, 4:27:20 AM2/28/15

to

I have been trying to launch some workers but continue to get the reported error. I think this error is the reason why now only 19 machines are active, and among them all but 4 machines are Linux-based.

Gary Linscott

unread,

Mar 1, 2015, 12:47:15 AM3/1/15

to

It's back now.  The docker instance it's running on lost network connection, and it wouldn't come back...  Not quite sure what's going on.

unread,

Sep 3, 2016, 3:47:33 AM9/3/16

to FishCooking

Worker version 59 connecting to http://tests.stockfishchess.org:80
'mingw32-make' is not recognized as an internal or external command, operable program or batch file.

Exception running games:
Traceback (most recent call last):

File "D:\Inst2\CHESS\fishtest-master\worker\worker.py", line 88, in worker


run_games(worker_info, password, remote, run, task_id)

File "D:\Inst2\CHESS\fishtest-master\worker\games.py", line 383, in run_games


setup_engine(new_engine, binaries_url, worker_dir, run['args']['resolved_new'], repo_url, worker_info['concurrency'])

File "D:\Inst2\CHESS\fishtest-master\worker\games.py", line 152, in setup_engine


build(worker_dir, sha, repo_url, destination, concurrency)

File "D:\Inst2\CHESS\fishtest-master\worker\games.py", line 131, in build


subprocess.check_call(MAKE_CMD + ' -j %s' % (concurrency), shell=True)

File "C:\Program Files (x86)\Python\lib\subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'mingw32-make profile-build COMP=mingw ARCH=x86-64-modern -j 1' returned non-zero exit status 1
Task exited

marrco

unread,

Sep 3, 2016, 7:23:18 PM9/3/16

to FishCooking,

windows builder is down for a few days now. So the issue is not on your side

unread,

Sep 5, 2016, 8:30:20 AM9/5/16

to FishCooking,

How do you fix make is not recognized as an internal or external command operable program or batch file?

If you already have MinGW installed in Windows 7, just simply do the following: Make another copy of C:\MinGW\bin\mingw32-make.exe file in the same folder. Rename the file name from mingw32-make.exe to make.exe . Run make command again.

How do you fix next is not recognized as an internal or external command?

About the Unrecognized Command npm run dev > dev > next dev 'next' is not recognized as an internal or external command, operable program or batch file. Good news, the solution is actually just to install the Next. js npm package.

Is not recognized as an internal or external command operable program or batch file in CMD?

The “is not recognized as an internal command” error usually occurs because the computer can't find the executable that you're asking it to launch. However, you can provide it with the full path to your executable file and it should then be able to run it without any issues. Launch a Command Prompt window on your PC.

How do I run a Makefile in Windows?

First step: download mingw32-make.exe from mingw installer, or please check mingw/bin folder first whether mingw32-make.exe exists or not, else than install it, rename it to make.exe . After renaming it to make.exe , just go and run this command in the directory where makefile is located.