--with-erlang configuration option.

I am attempting to install ejabberd on a Debian Linux system. I installed erlang with no problems, and can run "erl" and "erlc". Erlang is installed in a non-standard location, however. I tried to configure ejabberd without the --with-erlang option, and using ./configure --with-erlang=, ./configure --with-erlang=/bin, ./configure --with-erlang=/lib but every time I am told "checking for erlc... no, checking for erl... no, error: erlang not found" even though erlang is even in the system's path. Is there an easy way to fix this?

Thanks.

Work-around

Well, I think the problem is in the configure file, "test -f " is returning 0 for existence and 1 for failure instead of the other way around (I'm not really sure how it's supposed to work offhand). The work around I found is this:

ERLC= ERL= ./configure

Hope that helps anyone having the same problem.

another workaround

Yeah me too got the error. i created a symbolic link for erl and erlc in /usr/bin and now its working fine.

Creo que "configure" no anda muy fino

La cuestión es que a pesar de haber indicado en el configure las opciones (y sus directorios de instalación correspondientes)
with-erlang
with-libiconv (al final probé a instalar la última versión)
with-expat
with-openssl
Al compilar algunos de los subdirectorios tiene problemas para encontrar ciertos archivos de cabeceras, como erl_driver.h o ssl.h.
La opción --includedir parece ser ignorada por el programa configure ya que no incluye en ningún Makefile el camino que se le indique.
Al final, con toda la paciencia del mundo, he ido uno por uno modificando los Makefile de los subdirectorios que daban fallo en la compilación, añadiendo en la variable CFLAGS la opción -I con el camino a la cabecera que no encontraba en cada caso. Ya compila, con un montón de warnings, pero compila.
El problema es que ahora no consigo que funcione el "make install". Me da el error
install: ELDAPv3.beam was not found anywhere!
make: *** [install] Error 2

Y ese archivo, el ELDAPv3.beam, está en ejabberd/src. De verdad que esto va a terminar por volverme loca.

Por favor, si alguno habeis conseguido instalar ejabberd en Solaris 8, contadme cómo lo habeis hecho, porque esto parece una carrera de obstáculos.

Saludos.

Sorry: Ignore the previous mesagge I was sent

The previous message I sent it don´t must be addressed to this thread. I mistake the sent. You can ignore it.

My apologies

Syndicate content