Error compiling on Debian Etch

Hi!

What is wrong? What should I do? What information should I provide to be helped?

$ make
gcc -g -O2 -Wall \
expat_erl.c \
-lexpat \
-L/usr/lib/erlang/lib/erl_interface-3.5.5.2/lib -lerl_interface -lei -I/usr/lib/erlang/lib/erl_interface-3.5.5.2/include -I/usr/lib/erlang/usr/include \
-o expat_erl.so -fpic -shared
expat_erl.c: In function 'ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of function 'x_fix_buff'
/usr/bin/erlc -bber_bin +der +compact_bit_string +optimize +noobj XmppAddr.asn1
Compiler function asn1ct:compile_asn1/3 failed:
{undef,[{asn1ct,compile_asn1,
["/mnt/geral/ejabberd/ejabberd-2.0.2/src/XmppAddr",
"/mnt/geral/ejabberd/ejabberd-2.0.2/src/XmppAddr",
{options,[],
"/mnt/geral/ejabberd/ejabberd-2.0.2/src",
ber_bin,
[],
1,
false,
999,
[noobj,optimize,compact_bit_string,der],
[],
"/mnt/geral/ejabberd/ejabberd-2.0.2/src"}]},
{erl_compile,compile_file,4},
{erl_compile,compile3,3},
{erl_compile,compiler_runner,1}]}
make: ** [XmppAddr.hrl] Erro 1

I have Debian 4 Etch
$ uname -a
Linux srv2 2.4.27-3-k7 #1 Wed Dec 6 00:10:25 UTC 2006 i686 GNU/Linux

Re: Error compiling on Debian Etch

It looks like you didn't install development packets of Erlang in your distro.

Hi zinid! Yes, it is

Hi zinid!

Yes, it is installed:

erlang-base 1:11.b.2-4
erlang-dev 1:11.b.2-4

don't installed:
erlang
erlang-base-hipe
erlang-doc-html
erlang-examples
erlang-manpages
erlang-mode
erlang-nox
erlang-src maybe I need install this package!!!!
erlang-x11

[]s

Re: Error compiling on Debian Etch

geesdorf wrote:

erlang-src maybe I need install this package!!!!

I can't say since I'm not using Debian. But you can install this packet and try :)

Install erlang-nox

geesdorf wrote:

/usr/bin/erlc -bber_bin +der +compact_bit_string +optimize +noobj XmppAddr.asn1
Compiler function asn1ct:compile_asn1/3 failed:
{undef,[{asn1ct,compile_asn1,

This probably means that the file asn1ct.beam was not found by Erlang compiler.

Searching in Debian package contents:
File: /usr/lib/erlang/lib/asn1-1.4.4.11/ebin/asn1ct.beam
Packages: erlang-nox

So, you need erlang-nox. You told zinid that you didn't have that package installed.

Syndicate content