[ejabberd] xmlrpc compiled?

Liam ejabberd at networkimprov.net
Fri Jan 8 00:11:13 MSK 2010


Spoke too soon! This works:

$ cd ejabberd-2.1.1
$ bin/erlc -I includes/ejabberd/include some_path/ejabberd_xmlrpc.erl

Thank heavens. And thanks for your help!


On Thu, Jan 7, 2010 at 12:44 PM, Liam <ejabberd at networkimprov.net> wrote:

> Doesn't seem to work...
>
> $ cd ejabberd-2.1.1
> $ bin/erlc -I includes lib/xmlrpc/ejabberd_xmlrpc.erl
> lib/xmlrpc/ejabberd_xmlrpc.erl:25: can't find include file "ejabberd.hrl"
> lib/xmlrpc/ejabberd_xmlrpc.erl:26: can't find include file "mod_roster.hrl"
> lib/xmlrpc/ejabberd_xmlrpc.erl:27: can't find include file "jlib.hrl"
> lib/xmlrpc/ejabberd_xmlrpc.erl:325: undefined macro ''WARNING_MSG''
> lib/xmlrpc/ejabberd_xmlrpc.erl:241: function build_fault_response/3
> undefined
>
> Jeez, this has been frustrating...
>
> Could you email me the xmlrpc.beam you just compiled? :-)
>
>
>
> On Thu, Jan 7, 2010 at 12:16 PM, Liam <ejabberd at networkimprov.net> wrote:
>
>> Can I do something like this?
>>
>>   ejabberd-2*/bin/erlc  -I ejabberd-2*/includes  ejabberd_xmlrpc.erl
>>
>>
>>
>>
>> On Thu, Jan 7, 2010 at 11:52 AM, Liam <ejabberd at networkimprov.net> wrote:
>>
>>> Installed ejabberd on Linux in order to build ejabberd_xmlrpc...
>>>
>>> Its build.sh and Emakefile have refs to ejabberd-dev/trunk/..., which is
>>> not in my installation!
>>>
>>> Help. (I checked modules/README.txt but it doesn't clarify)
>>>
>>>
>>>
>>> On Mon, Jan 4, 2010 at 11:30 AM, Liam <ejabberd at networkimprov.net>wrote:
>>>
>>>> It's disappointing that the xmlrpc components aren't distributed in a
>>>> single, compiled package...
>>>>
>>>> Having installed the compiled erlang xmlrpc module, I see
>>>> ejabberd_xmlrpc isn't distributed as a .beam... Any pointers to one? Or can
>>>> I compile from WinXP command line?
>>>>
>>>> There's a bin (but no ebin) directory in my WinXP ejabberd directory...
>>>> Same as ebin?
>>>>
>>>> I want ANY XMLRPC client to be able to use ONLY the register command...
>>>> Is this the config for that:
>>>>
>>>>   {4560, ejabberd_xmlrpc, [{access_commands, [{all, [register], []}]}]},
>>>>
>>>>
>>>> Liam
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100107/2897c8e7/attachment-0001.html>


More information about the ejabberd mailing list