lawik
Nerves Core Team
Homex from hex not building on Nerves due to Quicer
The quicer library in homex fails to build under a freshly generated project and the rpi3:
install ./include/openssl/opensslconf.h -> /home/lawik/projects/radio/najs/deps/quicer/c_build/_deps/opensslquic-build/openssl/include/openssl/opensslconf.h
install libcrypto.a -> /home/lawik/projects/radio/najs/deps/quicer/c_build/_deps/opensslquic-build/openssl/lib/libcrypto.a
/bin/sh: 5: -ranlib: not found
make[1]: *** [Makefile:308: install_dev] Error 127
make[1]: Leaving directory '/home/lawik/projects/radio/najs/deps/quicer/c_build/_deps/opensslquic-build/submodules/openssl'
ninja: build stopped: subcommand failed.
make: *** [Makefile:15: build-nif] Error 1
===> Hook for compile failed!
It seems to want ranlib? I’m guessing it would need ranlib in the artifact or toolchain?
I don’t need quicer. The Homex docs offer a hack that does not work for me..
{:quicer, "~> 0.2.15", compile: false, app: false, runtime: false, override: true},
That instead offer this error:
===> Compiling src/emqtt_quic_connection.erl failed
src/emqtt_quic_connection.erl:{23,14}: can't find include lib "quicer/include/quicer.hrl"; Make sure quicer is in your app file's 'applications' list
** (Mix) Could not compile dependency :emqtt, "/home/lawik/.asdf/installs/elixir/1.18.4-otp-28/.mix/elixir/1-18-otp-28/rebar3 bare compile --paths /home/lawik/projects/radio/najs/_build/rpi3_dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile emqtt --force", update it with "mix deps.update emqtt" or clean it with "mix deps.clean emqtt"
First Post!
lawik
Nerves Core Team
Prior to the hex version of emqtt everything works:
{:homex, github: "kevinschweikert/homex", ref: "72a11c0949b1a6804909f0595de548db989310b4"}
0
Popular in Questions
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
How to bind a phoenix app to a specific ip address?
could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
Hello, I get Persian date from my client and convert it to normal calendar like this:
def jalali_string_to_miladi_english_number(persi...
New
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
I have VueJS GUIs with the project generated using Webpack.
I have Elixir modules that will need to be used by the VueJS GUIs.
I forese...
New
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Lets say I have map like this fetching from my database
%{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Other popular topics
Hi All,
I set a environment variables in dev.exs , like below code.
when i start server, how can i set the ${enable} value?
thanks.
d...
New
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
Hello, how can I check the Phoenix version ?
Thanks !
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
Hi,
I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









