Giter Site home page Giter Site logo

Can't compile xmpp about xmpp HOT 3 CLOSED

processone avatar processone commented on May 23, 2024
Can't compile xmpp

from xmpp.

Comments (3)

badlop avatar badlop commented on May 23, 2024

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.

bswstudiosgit avatar bswstudiosgit commented on May 23, 2024

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.

mremond avatar mremond commented on May 23, 2024

I updated the README to mention about the minimal Erlang version: 7776a08

from xmpp.

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.