Homebrew make: Command not found/Error 127

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 3,424
  • Replies Replies 11
D

Deleted User

Guest
.
ed5acfcc9e.jpg
 
Last edited by ,
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.
 
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.
 
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.
 
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?
 
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
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