Comments (3)
I am using erlang-18.0 .
In the README file I see no mention about what erlang version it requires. But, as you can see, it requires something newer than 18.0 to compile. This library should work with recent ejabberd, which requires Erlang/OTP 19.1.
In conclusion, try installing Erlang 19, or anything newer that you can find, and comment here if it compiles correctly or still fails.
from xmpp.
Hi @badlop, I switched to erlang-19.0 now. make
worked this time . But when I try make spec
now I get this error
`
make spec
erl -noinput +B -pa ebin -pa deps/*/ebin -eval \
'case fxml_gen:compile("specs/xmpp_codec.spec", [{add_type_specs, xmpp_element},
{erl_dir,
"src"}, {hrl_dir, "include"}]) of ok -> halt(0); _ -> halt(1) end.'
failed to compile "specs/xmpp_codec.spec": {'EXIT',
{{badrecord,dict},
[{dict,filter_dict,2,
[{file,"dict.erl"},{line,466}]},
{erl_types,
t_opaque_from_records,1,
[{file,"erl_types.erl"},
{line,750}]},
{fxml_gen,t_remote,2,
[{file,"src/fxml_gen.erl"},
{line,2749}]},
{fxml_gen,get_label_type,5,
[{file,"src/fxml_gen.erl"},
{line,2201}]},
{fxml_gen,
'-get_types/3-fun-0-',5,
[{file,"src/fxml_gen.erl"},
{line,2169}]},
{lists,map,2,
[{file,"lists.erl"},
{line,1239}]},
{fxml_gen,
'-get_types/3-fun-1-',5,
[{file,"src/fxml_gen.erl"},
{line,2167}]},
{lists,foldl,3,
[{file,"lists.erl"},
{line,1263}]}]}}
make: *** [spec] Error 1
`
EDIT
I switched again to erlang-20.0. Everything works fine now.
from xmpp.
I updated the README to mention about the minimal Erlang version: 7776a08
from xmpp.
Related Issues (20)
- Issue modifying subtags HOT 4
- Cannot find erl_nif.h on make command HOT 3
- error while encoding #muc_subscription record HOT 3
- Question - How to read custom Tag in Message. HOT 2
- How to use in Elixir client HOT 3
- Change presence unavailable status message HOT 3
- Improve codec generation from third-party specs
- Allow fxml.hrl to be found from system libs HOT 2
- [SCRAM] SCRAM-SHA-1-PLUS + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) supports HOT 4
- XEP-0009 ? HOT 3
- Xmpp_idna was removed - breaks ejabberd builds using hex.pm HOT 8
- 19.09.1 does not load custom module HOT 17
- RFCs and XEPs support page with VERSION HOT 2
- compiling error HOT 1
- logger doesn't work on my module HOT 1
- ejabberd source compile throws deps/xmpp/include/xmpp.hrl:28: can't find include file "fxml.hrl" HOT 6
- make spec fails with Erlang/OTP 24 HOT 1
- Recommend to commit automatic files separately
- RFC 9266: Channel Bindings for TLS 1.3 support 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 xmpp.