Comments (7)
gen_coap needs the leex module in order to compile. Normally this module is installed with Erlang in a complete installation. But it was wrong on Raspberry pi. So I recommend you to compile and make install erlang/otp 20 yourself on your Raspberry pi and compile master branch of emq-relx . I'm not familiar with Raspberry pi. Maybe it could help you.
from emqx-rel.
It is the compile error. Which erlang/otp version do you use?
from emqx-rel.
Erlang/OTP 19 [erts-8.2.1] [source] [smp:4:4] [async-threads:10] [kernel-poll:false]
Eshell V8.2.1 (abort with ^G)
from emqx-rel.
@sushrut91, The build failure has been fixed after merging this PR https://github.com/emqx/emqx-coap/pull/83 Now,it should be ok. Please try again.
from emqx-rel.
Thanks for your help, with Erlang/OTP 20 the compilation error went away however I am getting this error when I try to run the /bin/emqttd
sudo ./emqttd console
Argument '-smp disable' not supported. Use "+S 1" instead.
Usage: erl [-version] [-sname NAME | -name NAME] [-noshell] [-noinput] [-env VAR VALUE] [-compile file ...] [-smp [auto|enable]] [-make] [-man [manopts] MANPAGE] [-x] [-emu_args] [-start_epmd BOOLEAN] [-args_file FILENAME] [+A THREADS] [+a SIZE] [+B[c|d|i]] [+c [BOOLEAN]] [+C MODE] [+h HEAP_SIZE_OPTION] [+K BOOLEAN] [+l] [+M<SUBSWITCH> <ARGUMENT>] [+P MAX_PROCS] [+Q MAX_PORTS] [+R COMPAT_REL] [+r] [+rg READER_GROUPS_LIMIT] [+s SCHEDULER_OPTION] [+S NO_SCHEDULERS:NO_SCHEDULERS_ONLINE] [+SP PERCENTAGE_SCHEDULERS:PERCENTAGE_SCHEDULERS_ONLINE] [+T LEVEL] [+V] [+v] [+W<i|w|e>] [+z MISC_OPTION] [args ...]
from emqx-rel.
Erlang/OTP 20 does not accept "-smp disable". Did you compile version 2.1.0 of emq-relx which only supported on Erlang/OTP 19 ?
If you use Erlang/OTP 20, please checkout v2.3.11 tag of emq-relx and rebuild it again.
from emqx-rel.
I switched to v2.3.11 with Erlang/OTP 20 and now things are working fine. Thanks for your help !
from emqx-rel.
Related Issues (20)
- Time does not match HOT 1
- ....
- problem setting auth.jwt.verify_claims using environment variables
- Start EMQX without start.sh in Dockerfile HOT 1
- Help using plugin HOT 1
- ERROR: Docker Build Instructions HOT 2
- Error in compiling Elixir plugin
- docker-compose.yaml configure dashboard is not valid. HOT 2
- imagePullSecrets per Container HOT 7
- Configuration changes don't restart Kubernetes pod HOT 4
- Configuration broke in 4.3 HOT 2
- Cannot find plugins: [emqx_auth_username] HOT 1
- How to update emqx enterprise license without restart pod HOT 3
- Plugin is not loaded automatically
- helm install emqx Custom EMQX_LOADED_PLUGINS HOT 15
- Persistence not work !!! HOT 4
- Error on networking api on Kube 1.19
- Support podAnnotations
- Failed to install on K8s 1.22
- emqx docker images run fail HOT 1
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 emqx-rel.