erlang pgsql driver

Hi,

I'm using ejabberd 2.1.6 on debian and I try to install a pgsql driver that I need to use pgsql.

I've got this error

C(<0.328.0>:ejabberd_check:63) : ejabberd is configured to use 'pgsql', but the following Erlang modules are not installed: '[pgsql,
                                                                                                                              pgsql_proto,
                                                                                                                              pgsql_tcp,
                                                                                                                              pgsql_util]'

How can I install these modules?

I tried to do the installation with these files (http://svn.process-one.net/ejabberd-modules/pgsql/trunk/) without success.
And with these files I don't unterstand what I have to do. (https://github.com/noss/pgsql/tree)

I've already created a pgsql database for ejabberd and I've done the configuration for ejabberd.

Thanks

nostalgija wrote: I tried to

nostalgija wrote:

I tried to do the installation with these files (http://svn.process-one.net/ejabberd-modules/pgsql/trunk/) without success.

Yes, those are what ejabberd wants. Compile them to obtain pgsql.beam..., and then copy those 4 *.beam files to the same directory that has all the other ejabberd beam files (search for a dir with acl.beam, adhoc.beam ... The path may be something like /usr/lib/ejabberd/ebin/

erl_crash.dump

badlop wrote:
nostalgija wrote:

I tried to do the installation with these files (http://svn.process-one.net/ejabberd-modules/pgsql/trunk/) without success.

Yes, those are what ejabberd wants. Compile them to obtain pgsql.beam..., and then copy those 4 *.beam files to the same directory that has all the other ejabberd beam files (search for a dir with acl.beam, adhoc.beam ... The path may be something like /usr/lib/ejabberd/ebin/

I tried to do that.

I receive this error:

xy@xy:/testing/trunk# ./build.sh
{"init terminating in do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

What I'm doing wrong?

See http://www.ejabberd.im/undef-make-all

nostalgija wrote:

I receive this error:

xy@xy:/testing/trunk# ./build.sh
{"init terminating in do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

What I'm doing wrong?

See http://www.ejabberd.im/undef-make-all

Syndicate content