Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

astilectron-bundler: command not found #8

Open
furiousteam opened this issue Oct 22, 2018 · 5 comments
Open

astilectron-bundler: command not found #8

furiousteam opened this issue Oct 22, 2018 · 5 comments

Comments

@furiousteam
Copy link

This is what i get when i try to compile with linux or MacOS.
Any help please ?

I have installed the dependencies and that what happen when running make command:

make: scripts/get_app_name.py: Command not found
cd src/; astilectron-bundler -v
/bin/sh: astilectron-bundler: command not found
make: *** [build] Error 127

thank you.

@donovansolms
Copy link
Member

I suspect $GOPATH/bin is not in your path. You should be able to run $GOPATH/bin/astilectron-bundler after installing the bundler with go get -u github.com/asticode/go-astilectron-bundler/....

If that works, you need to add $GOPATH/bin to your path, then you should be able to execute the bundler easily.

@donovansolms
Copy link
Member

You might need to run go install github.com/asticode/go-astilectron-bundler/astilectron-bundler as well if it did not happen automatically.

@furiousteam
Copy link
Author

Thank you for your response.

This command works: go get -u github.com/asticode/go-astilectron-bundler/....

But i'm not able to build.

This is my .profile:

I'm new to GO.

Is there something wrong here ?

set PATH so it includes user's private bin directories

PATH="$HOME/bin:$HOME/.local/bin:$PATH:/usr/local/go/bin"

export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
export GOROOT=/usr/local/go

thx a lot !

@furiousteam
Copy link
Author

I followed this tutorial for GO install: https://www.youtube.com/watch?v=h7RILbHoLBA

Everything works fine for all the commands until i launch the make command at the end.

And i get this:

make: scripts/get_app_name.py: Command not found
cd src/; astilectron-bundler -v
/bin/sh: 1: astilectron-bundler: not found
Makefile:13: recipe for target 'build' failed
make: *** [build] Error 127

Than you.

@bright-light-in-the-night
Copy link

bright-light-in-the-night commented Oct 23, 2018

These steps have been tested:

  1. make sure you have installed golang properly by running go version.
  2. you need make and gcc installed on your system
  3. for make: scripts/get_app_name.py: Command not found error, you need to install python
  4. when you install golang, you need to add all the binaries paths to ~/.bashrc file, like this:
    nano ~/.bashrc
    and paste the following
    export PATH=$PATH:/usr/local/go/bin
    export PATH=$PATH:/home/user/go/bin

where /home/user is your home folder

then,

source ~/.bashrc

  1. you need to install additional packages:
    go get -u github.com/stellitecoin/gui-miner/src/gui
    go get -u github.com/konsorten/go-windows-terminal-sequences
    go get -u github.com/mattn/go-colorable

  2. now you can make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants