Homebrew make: Command not found/Error 127

  • Thread starter Deleted User
  • Start date
  • Views 2,924
  • Replies 11
D

Deleted User

Guest
OP
.
ed5acfcc9e.jpg
 
Last edited by ,

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,033
Country
United States
Well, its back again. I've reinstalled devkitPro 2 times, even rebooted my PC. Still getting the same result. I must have bad luck with dkp, everything was compiling before. Would be nice if someone could tell me why this keep occuring. Thanks :(
ed5acfcc9e.jpg
You are using the windows cmd prompt. You should be using msys. There is a link under devkitpro on the start menu.

Alternatively you can add the devkitpro/devkitarm locations to the environment path, but using msys is safest/easiest.

Edit: and don't put anything you care about in the devkitpro directory. It can be deleted during upgrades.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I never launched msys to compile.
running make from command prompt is perfectly fine.

he probably miss the environment variable pointing to the folder where make.exe is located? but installing devkitpro should place msys\bin\ in his %path%


I'm keeping a lot of different version of ppc and arm in devkitpro folder, it never deleted them.
when you update, it deletes the destination folders for the new version, but not the one you add. (or else, it would delete portlib after every update!)

/devkitpro/devkitPPC/ <-- will be deleted on next update
/devkitpro/libctru/ <-- will be deleted
/devkitpro/portlibs/ <-- never deleted
/devkitpro/devkitPPC_r27/ <-- never deleted

so, yes, don't add files you care inside official library folders (like libctru), but you can keep files inside devkitpro's root.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,033
Country
United States
I never launched msys to compile.
running make from command prompt is perfectly fine.

he probably miss the environment variable pointing to the folder where make.exe is located? but installing devkitpro should place msys\bin\ in his %path%


I'm keeping a lot of different version of ppc and arm in devkitpro folder, it never deleted them.
when you update, it deletes the destination folders for the new version, but not the one you add. (or else, it would delete portlib after every update!)

/devkitpro/devkitPPC/ <-- will be deleted on next update
/devkitpro/libctru/ <-- will be deleted
/devkitpro/portlibs/ <-- never deleted
/devkitpro/devkitPPC_r27/ <-- never deleted

so, yes, don't add files you care inside official library folders (like libctru), but you can keep files inside devkitpro's root.
msys was an easier answer - same with the devkitpro folder info. not using the devkitpro directory is safer though. If you uninstall (maybe as a troubleshooting step) then I want to say it will delete the entire devkitpro directory.
 
Joined
Feb 15, 2015
Messages
1,464
Trophies
0
XP
1,099
Country
United States
Well, I have been using cmd for compiling in the past, and its been working since.
b8870c29f9.png

Still not working with msys.

As for the $path$ and variables:
c434265dcc.png

Everything seems fine to me?

--------------------- MERGED ---------------------------


I tried out GNU's Make, same thing. :\
You did put GNU's make in the path before devkitPro's, right?
 

tj_cool

Site dev
Supervisor
Joined
Jan 7, 2009
Messages
10,064
Trophies
2
Location
This planet
XP
3,105
Country
Belgium
It appears that make runs fine, so it is correctly in your path. But there is a recursive call to make in the Makefile, which is the one that fails.

Try editing the makefile. Find the line that starts with make and change it with $(MAKE)
Code:
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
 
  • Like
Reactions: Abcdfv

Abcdfv

What comes around goes around.
Member
Joined
Dec 24, 2013
Messages
1,455
Trophies
0
XP
837
Country
United States
Looks like a problem with your makefile.
Msys is running make and make is reporting it can't find the command make.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: