Coder Social home page Coder Social logo

Build failed raspbian stretch about emqx-rel HOT 7 CLOSED

emqx avatar emqx commented on July 18, 2024
Build failed raspbian stretch

from emqx-rel.

Comments (7)

gilbertwong96 avatar gilbertwong96 commented on July 18, 2024 1

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.

gilbertwong96 avatar gilbertwong96 commented on July 18, 2024

It is the compile error. Which erlang/otp version do you use?

from emqx-rel.

sushrut91 avatar sushrut91 commented on July 18, 2024

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.

gilbertwong96 avatar gilbertwong96 commented on July 18, 2024

@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.

sushrut91 avatar sushrut91 commented on July 18, 2024

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.

gilbertwong96 avatar gilbertwong96 commented on July 18, 2024

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.

sushrut91 avatar sushrut91 commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.