hashlink icon indicating copy to clipboard operation
hashlink copied to clipboard

OSX Install - Error: No Brewfile found

Open hasen6 opened this issue 4 years ago • 6 comments

hasen$ brew bundle ==> Tapping homebrew/bundle Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'... remote: Enumerating objects: 92, done. remote: Counting objects: 100% (92/92), done. remote: Compressing objects: 100% (82/82), done. remote: Total 92 (delta 5), reused 29 (delta 4), pack-reused 0 Unpacking objects: 100% (92/92), done. Checking connectivity... done. Tapped 1 command (188 files, 264.4KB). Error: No Brewfile found hasen$ make make: *** No targets specified and no makefile found. Stop.

hasen6 avatar Feb 15 '20 11:02 hasen6

Are you running brew bundle in the correct directory? The Brewfile is in the root of the hashlink repository.

Aurel300 avatar Feb 15 '20 14:02 Aurel300

I just followed the instructions here: https://github.com/HaxeFoundation/hashlink#building-on-linuxosx

It just says run brew bundle nothing about which directory to run it in.

hasen6 avatar Feb 15 '20 15:02 hasen6

I'd say it is implicit. We can add it to the instructions, but please confirm it works if you run in the correct directory (cd into the cloned repository before running the commands).

Aurel300 avatar Feb 15 '20 15:02 Aurel300

Where is it implied? Not sure we're looking at the same page. I've used brew many times in the past and the commands were always executed from the home directory.

Literally all it says is "brew bundle to install the dependencies listed in Brewfile." I would say the word 'execute this command in terminal' is implied is all. Yes, please add it to the instructions.

Please let me know which directory I need to run brew bundle from. The only brewfile I found in usr/local is in usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/

hasen6 avatar Feb 15 '20 15:02 hasen6

Yes, when you install dependencies by name with brew install <xyz>, it does not matter where it is run from. But, when using brew bundle (from the README):

brew bundle will look for Brewfile in the current directory.

The directory you need to run brew bundle in is the cloned repository hashlink. If you did something like git clone [email protected]:HaxeFoundation/hashlink.git, then this creates a hashlink directory. cd into it, then run the commands.

Aurel300 avatar Feb 15 '20 15:02 Aurel300

Yes, when you install dependencies by name with brew install , it does not matter where it is run from. But, when using brew bundle (from the README):

Ok if you know brew bundle is very different but I'm used to running brew something and it's always been from anywhere.

I've been following this https://heaps.io/documentation/installation.html to install everything required for heaps.io. I installed Haxe already from the installer, then I already had vscode...then all it says is for OSX go to your install page and that tells me to do brew bundle.

So those are the only steps I've taken so far.

hasen6 avatar Feb 15 '20 16:02 hasen6