For the quickest reply, please use our new Customer Helpdesk and Feedback platform
 
   
 
Problem with building exmpp
Posted: 18 August 2009 12:21 AM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2009-08-18

Hello,

I’m trying to build exmpp on Debian, and for some reason configure script doesn’t see neither Expat nor LibXml2, although both of them are installed.

The configuration output shows:

  XML parsers:
    . Expat:      no
    . LibXML2:      no
Consequently, exmpp_xml:start_parser() throws
{xml_parser,options,no_engine_registered,undefined}
exception.

What am I missing?

Thank you,

Boris

Profile
 
 
Posted: 18 August 2009 06:12 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  8
Joined  2009-08-18

Installed xml2-config and pkg-config, now output shows
    .LibXML2: yes,
but still no luck with starting parser, throws the same no_engine_registered exception.

Please advise,
Boris

Profile
 
 
Posted: 18 August 2009 06:42 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  8
Joined  2009-08-18

Eventually built everything from SVN rather than from distribution, and the issue was resolved. Looks like the distribution exmpp-0.9.1-r851 is broken, at least for Debian.

Profile
 
 
Posted: 08 December 2009 11:35 AM   [ Ignore ]   [ # 3 ]
Junior Member
Avatar
RankRank
Total Posts:  38
Joined  2009-11-19

Built sources from SVN, still no progress for me when initialising even the examples:

1> c(echo_client).
{ok,echo_client}
2> echo_client:start().
<0.57.0>
3>
=ERROR REPORT==== 8-Dec-2009::11:32:11 ===
Error in process <0.57.0> with exit value: {{nocatch,{xml_parser,options,no_engine_registered,undefined}},[{exmpp_session,connect_TCP,3},{echo_client,init,0}]}

Profile
 
 
Posted: 08 December 2009 02:07 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  8
Joined  2009-08-18

Try :

apt-get install libexpat-dev

and then:

./configure
make
make install

Profile
 
 
Posted: 09 December 2009 10:12 AM   [ Ignore ]   [ # 5 ]
Junior Member
Avatar
RankRank
Total Posts:  38
Joined  2009-11-19

Thanks for the reply:

Using Debian:
Linux version 2.6.26-bpo.1-xen-amd64 (Debian 2.6.26-13~bpo40+1) (.(JavaScript must be enabled to view this email address)) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21))

Installed expat from apt-get and also from sources on official website. Without any changes on the miss behavior.
Recompiled exmpp too. No effect.

I’m out of guesses now :)

Profile
 
 
Posted: 09 December 2009 10:20 AM   [ Ignore ]   [ # 6 ]
Junior Member
Avatar
RankRank
Total Posts:  38
Joined  2009-11-19

Worked now after cleaning UP the machine.
I guess exmpp must be built after expat2 is installed.

Profile
 
 
   
 
 
‹‹ exmpp improvements      Parsing the begining ››