tjhanley
I am trying to install elixir on our Centos 7 build agents.
I’ve installed erlang 19
$ erl
Erlang/OTP 19 [erts-8.1] [source-77fb4f8] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V8.1 (abort with ^G)
1>
I’ve pulled the tar for 1.4.2 from github. When I run
make clean test
This is the output I am getting.
1) test installs public keys (Mix.Tasks.Local.PublicKeysTest)
test/mix/tasks/local.public_keys_test.exs:31
** (Mix.Error) Could not decode public key: /home/tomha/elixir-1.4.2/lib/mix/tmp/sample.pub. The public key contents are shown below.
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmlRL//AgfszL2vkk7G3K
t+vrI2d3aG+fGD4BZ1k1Qd/mS0EoDNfDQCpqtLzdM7oOjtu0BNCBvG3HC0tlAU92
i3EFqEC7RSHNIGYrQ4g5WwGQMw8+Qp3D32esw7iRZKvtJu8IpS7l8x4KQq1QbfTh
s+3yFOQyytnY6of7w2Rv37WtdA3wKAIP6yPgvl8QzwxHRORX4zNcadsJOuZt3ncv
Bq7pyQN8g2ddF86Ycep/+cU4/onnGW3zHn5pGdvuiHqxGOq+s3+UzljLyLlTCwzz
ncYdESIw29EEIB5xTcT0Q4qRQEuDwcp8/fASTZ7c6lv8AfpRKb69tGWLoXcx/V9P
dQIDAQAB
-----END PUBLIC KEY-----
Public keys must be valid and be in the PEM format
stacktrace:
(mix) lib/mix.ex:276: Mix.raise/1
(mix) lib/mix/tasks/local.public_keys.ex:63: Mix.Tasks.Local.PublicKeys.install/2
test/mix/tasks/local.public_keys_test.exs:36: (test)
....................................................................................................................................................................................................................................
2) test select correct versions from csv (Mix.LocalTest)
test/mix/local_test.exs:80
** (Mix.Error) Could not decode public key: in-memory public key for Elixir v1.4.2. The public key contents are shown below.
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAslPz1mAfyAvRv8W8xOdv
HQMbDJkDKfRhsL4JBGwGH7qw0xh+TbaUlNaM3pF+i8VUjS/4FeXjT/OAUEAHu5Y2
rBVlx00QcH8Dpbyf+H73XiCs0MXnTSecqDgzx6i6NMi8knklHT7yHySHtuuPmPuN
Po8QTKolCKftwPE/iNDeyZfwufd+hTCoCQdoTVcB01SElfNtvKRtoKbx35q80IPr
rOcGsALmr58+bWqCTY/51kFeRxzrPJ5LdcLU/AebyWddD4IUfPDxk16jTiCagMWA
JPSwo8NUrWDIBbD+rEUp06y0ek276rG5Tzm/3Bma56RN/u6nAqBTBE8F2Hu2QBKj
lQIDAQAB
-----END PUBLIC KEY-----
Public keys must be valid and be in the PEM format
stacktrace:
(mix) lib/mix.ex:276: Mix.raise/1
(mix) lib/mix/public_key.ex:56: anonymous fn/4 in Mix.PublicKey.verify/3
(elixir) lib/enum.ex:2732: Enum.do_any?/2
(mix) lib/mix/local.ex:125: Mix.Local.find_matching_versions_from_signed_csv!/2
test/mix/local_test.exs:86: anonymous fn/0 in Mix.LocalTest.test select correct versions from csv/1
(elixir) lib/file.ex:1162: File.cd!/2
test/mix/local_test.exs:81: (test)
..................
Finished in 91.4 seconds (6.0s on load, 85.4s on tests)
405 tests, 2 failures
Randomized with seed 941253
make: *** [test_mix] Error 1
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 10 to 1- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
ChaseGilliam
It may be the Erlang version like @NobbZ is suggesting. Which Erlang and Elixir versions are you using?
NobbZ
This message
"init terminating in do_boot"occured very often to me, when the files were compiled with a newer erlang version than the one that is currently available.tjhanley
I am getting this now with the precompiled version:
ChaseGilliam
let me know how it goes
tjhanley
I’ll try the precompiled
ChaseGilliam
You should use the erlang solutions erlang install and build elixir from source on CentOS, imho. Try this set of instructions
tjhanley
Interesting… it seems like
yum install erlang-19.3*installs a bad package. If I doyum install esl-erlang-19.3things are happier.tjhanley
Yes
Corys
You have OpenSSL installed?
tjhanley
more specific
It looks like something may be broken with ssl or crypto?