Comments (8)
Hello @ilovetogetspamed ,
I think it is related to some GNU tools used in the script. I will have a look to it.
Best,
Ronald
from openmtc.
from openmtc.
Well, "works for me" ™ on macOS Mojave, but I remember I had to do some changes, e.g. update bash to 4.4
from openmtc.
$ echo $BASH_VERSION
5.0.0(1)-release
$ ./create-binary-docker gateway
Error: Exactly one module name needs to be provided
Usage: create-binary-docker [OPTS] <module_name>
OPTS:
-a|--arch Choose architecture: amd64|arm
-p|--prefix Choose Docker image name prefix
-e|--export Export the Docker image to a file, after build
-h|--help Show this help
-v|--version Show version information
module_name:
gateway | backend
@dnehls any other ideas?
from openmtc.
Another issue I had was with the mac's getopt
See also stackoverflow
from openmtc.
@dnehls that didn't work. Don't have time to fool with it now. will look at it again sometime. I tried ksh and zsh and they didn't work either. Don't have time to waste now. I may put it in a ubuntu vm and play with it there in the future.
from openmtc.
FYI -- Got it going in a Ubuntu 18 VirtualBoxVM on macOS Mojave.
from openmtc.
Update -- to run on macOS Mojave:
- Install gnu-getopt
$ brew install gnu-getopt
- setup your PATH to use gnu-getopt ahead of /
$ PATH=/usr/local/Cellar/gnu-getopt/1.1.6/bin:$PATH
$ which getopt
/usr/local/Cellar/gnu-getopt/1.1.6/bin/getopt
- run the command.
$ ./create-binary-docker gateway
...
### Base gateway-amd64 container built successfully.
...
Put your path back if you like. It will go away when you close your terminal session. I don't recommend overriding the OS's getopt with gnu-getopt.
All is good... ;-)
from openmtc.
Related Issues (20)
- [SHOULD] Work towards fulfilling the requirements for a full GE HOT 1
- [MUST] Show versioned documentation HOT 1
- [MUST] Roadmap is missing HOT 1
- Installation HOT 1
- After delete specific subscription, How can i create subscription automatically without restarting OCB
- Why my gateway can't register with backend ? HOT 1
- get latest resource seems to be broken following docs HOT 4
- exception when installing gateway
- Cannot find ch = [ ] attribute when i run gateway HOT 3
- IoT-data-visualization.py: socketio import failures
- Gateway Notification problems: CSETargetNotReachable HOT 1
- Issue while trying to create an application resource HOT 7
- Semantic Discovery
- Error while running backend image HOT 1
- Dashboard
- Quick Start Guide Instructions are not working HOT 4
- create-binary-docker not working in macOS Catalina HOT 1
- start-app.sh not working in macOS Catalina HOT 9
- Dead project?
- OpenMTC without Docker?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmtc.