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

create-binary-docker not working in macOS Catalina #51

Open
juliopovedacs opened this issue May 13, 2020 · 1 comment
Open

create-binary-docker not working in macOS Catalina #51

juliopovedacs opened this issue May 13, 2020 · 1 comment

Comments

@juliopovedacs
Copy link

Hello,

create-binary-docker image is not working in macOS Catalina. When I try to execute $ ./create-binary-docker gateway inside the OpenMTC directory, the following appears:

error_macOS

I also tried specifying the architecture ($ ./create-binary-docker -a amd64 gateway) but it did not work:

error_macOS_2

Can someone help me please?

Thank you.

@juliopovedacs
Copy link
Author

juliopovedacs commented May 13, 2020

I found a suggested way to solve this issue (described below), but a best way to solve it might require the OpenMTC authors to change something in the create-binary-docker file code.

(1) Install Hombrew

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


(2) Install gnu-getopt

$ brew install gnu-getopt

Check the version that is installed.


(3) Execute the following command for gnu-getopt to be ahead of /

Replace VERSION with your installed gnu-getopt version

$ PATH=/usr/local/Cellar/gnu-getopt/VERSION/bin:$PATH


(4) Try creating an image again

$ ./create-binary-docker gateway

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

1 participant