heh, i'm going crazy with transport installations

if I follow the so-called 'old' transport installation, I get stucked with the portion of compiling wherein the files from jabberd is needed when I'm using ejabberd.. ??? (where can I get these jabberd files and are there any other option to avoid installing jabberd just so to compile the 'old' transport versions??)

if I follow the python version, I have to figure spend time installing Twisted, PyCrypto and PyOpenSSL. I found Twisted by not the other two, and secondly, I have to learn how to add stuff to Python.. which is again - ??? (not counting the instructions didn't mention where to put the files to.. )

Sorry I'm new here but, are there any latest or updated instructions for ejabberd 1.0.0 for installing transports for linux?

Sigh, hope someone's willing to help, too tired for today, been trying to make this work for 6 hours already.

thanks..

Re: heh, i'm going crazy with transport installations

Laibcoms wrote:

if I follow the so-called 'old' transport installation, I get stucked with the portion of compiling wherein the files from jabberd is needed when I'm using ejabberd.. ??? (where can I get these jabberd files and are there any other option to avoid installing jabberd just so to compile the 'old' transport versions??)

Did you started with step one? That page contains the URL of the latest jabberd 1.4.x version that works (1.4.4 will not work to compile these transports!).

There are two alternatve solutions:

  1. Using JRC. However, this do not work with all transports and is a less stable solution!
  2. Not using these obsoleted transports (best!). Instead use the new Python based transports that are server independant.
Quote:

if I follow the python version, I have to figure spend time installing Twisted, PyCrypto and PyOpenSSL. I found Twisted by not the other two, and secondly, I have to learn how to add stuff to Python.. which is again - ??? (not counting the instructions didn't mention where to put the files to.. )

Depending on the distribution you use, you can just use your package manager to installed the necessary libraries (and sometimes even the transport).

Quote:

Sorry I'm new here but, are there any latest or updated instructions for ejabberd 1.0.0 for installing transports for linux?

Since the last time I updated the obsoleted transport tutorials there were no new versions of the transports. So nothing can be changed. The only tricky thing you might encounter is that these transports have outdated Makefile and configure scripts that depend on older versions of automake, autoconf,...

follow-up

1) can't install the old yahoo transport, the dist file from this site ( http://yahoo-transport.jabberstudio.org/ ) do not have a "make" file or something in it ( or a configure file ).

2) When starting the transports, I get this error
"/usr/local/sbin/jabberd-aim-transport: error while loading shared libraries: libpth.so.20: cannot open shared object file: No such file or directory"

(Same with msn-transport).

I have these installed as instructed (or ended up updating the current one).

libncurses - ncurses-5.5.tar.gz
GNU Make
GCC
libexpat - expat-2.0.0.tar.gz
Erlan/OTP - otp_src_R10B-10.tar.gz
OpenSSL - openssl-0.9.8a.tar.gz
GNU Pth - pth-2.0.6.tar.gz

tnx again.

Re: follow-up

Laibcoms wrote:

1) can't install the old yahoo transport, the dist file from this site ( http://yahoo-transport.jabberstudio.org/ ) do not have a "make" file or something in it ( or a configure file ).

There is no configure file, but there is a Makefile: see step 4 and 5.

Quote:

2) When starting the transports, I get this error
"/usr/local/sbin/jabberd-aim-transport: error while loading shared libraries: libpth.so.20: cannot open shared object file: No such file or directory"

(Same with msn-transport).

I have these installed as instructed (or ended up updating the current one).

libncurses - ncurses-5.5.tar.gz
GNU Make
GCC
libexpat - expat-2.0.0.tar.gz
Erlan/OTP - otp_src_R10B-10.tar.gz
OpenSSL - openssl-0.9.8a.tar.gz
GNU Pth - pth-2.0.6.tar.gz

Do you also have the development version of GNU Pth installed? You also can try to install an older version of that library.

I switched back as far as

I switched back as far as GNU Pth 1.4.0, but same error appears.

For the yahoo-transport, which is weird, now it can see the makefile (after I uninstalled GNU Pth 2.6.0 and installed 1.4.0) and this error appears:
Makefile:4: ../platform-settings: No such file or directory
make: *** No rule to make target `../platform-settings'. Stop.

thanks again.

Re: I switched back as far as

Laibcoms wrote:

For the yahoo-transport, which is weird, now it can see the makefile (after I uninstalled GNU Pth 2.6.0 and installed 1.4.0) and this error appears:
Makefile:4: ../platform-settings: No such file or directory
make: *** No rule to make target `../platform-settings'. Stop.

I maybe found out what you did wrong: "Extract the source in the directory of the extracted jabberd 1.4:". If I do not put Yahoo-transport-2 in the jabberd directory, I get the same error as you got, if I put it in the jabberd directory, it compiles yahoo-transport.so.

(My system now is Kubuntu and GNU Pth 2.0.1,...)

hmm...

hmm...

thanks again.

though, now when running aim and msn, I get this error:

Quote:

/usr/local/sbin/jabberd-aim-transport: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory

(after just sleeping, the error changed)

And for the yahoo transport (2.3.2):

Quote:

gcc -g -Wall -I. -I.. -I/usr/local/include -fPIC -I../jabberd `glib-config --cflags` -c -o yahoo-transport.o yahoo-transport.c
/bin/sh: glib-config: command not found
In file included from yahoo-transport.c:26:
yahoo-transport.h:37:18: glib.h: No such file or directory
In file included from yahoo-transport.c:26:
yahoo-transport.h:112: error: syntax error before "guchar"
yahoo-transport.h:112: warning: no semicolon at end of struct or union
yahoo-transport.h:116: error: syntax error before "logged_in"
yahoo-transport.h:116: warning: type defaults to `int' in declaration of `logged_in'
yahoo-transport.h:116: warning: data definition has no type or storage class
yahoo-transport.h:128: error: syntax error before '}' token
make: *** [yahoo-transport.o] Error 1

I did a reboot of a server and recompiled and reinstalled:
libexpat - expat-2.0.0.tar.gz
GNU Pth - pth-1.4.0.tar.gz

with those errors above showing.

Thanks again.. ^^
(sorry, haven't touched server installations since college (1999), I'm way behind...)

Re: hmm...

Laibcoms wrote:

though, now when running aim and msn, I get this error:

Quote:

/usr/local/sbin/jabberd-aim-transport: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory

(after just sleeping, the error changed)

Did you installed libexpat? If so can you verify if you have the file libexpat.so.1? "find /usr | grep libexpat"

Quote:

And for the yahoo transport (2.3.2):

gcc -g -Wall -I. -I.. -I/usr/local/include -fPIC -I../jabberd  `glib-config --cflags`   -c -o yahoo-transport.o yahoo-transport.c
/bin/sh: glib-config: command not found
In file included from yahoo-transport.c:26:
yahoo-transport.h:37:18: glib.h: No such file or directory

I guess that is during compilation? Did you installed the development files for libglib1.2 (they will also be installed if you compile it from source)?

Quote:

Quote:

Did you installed libexpat? If so can you verify if you have the file libexpat.so.1? "find /usr | grep libexpat"

Yup, I did, I used the source files from the official sites, compiled and installed.

UPDATE:
Ok, I forgot to run ldconfig..
that fix the path (ld.so.conf)

Quote:

I guess that is during compilation? Did you installed the development files for libglib1.2 (they will also be installed if you compile it from source)?

Hmm.. I didn't install it, since it came with the server package. Sadly, don't know where to get the dev source.

---

So far so good, just need to make the yahoo transport working.
And trying to find some notes on how to install JIT.

Btw,
I have two host for the ejab installation.. but how can I make it so that the transports recognize the 2nd host?

Thanks again for all the help!

Greatly appreciated.

Re: Quote:

Laibcoms wrote:
Quote:

I guess that is during compilation? Did you installed the development files for libglib1.2 (they will also be installed if you compile it from source)?

Hmm.. I didn't install it, since it came with the server package. Sadly, don't know where to get the dev source.

What distribution do you use? It maybe can be called something like "glib" on your distribution? You also can try to use the source code: http://archive.ubuntu.com/ubuntu/pool/main/g/glib1.2/glib1.2_1.2.10.orig... (I can't find the official site; it seems down)

Quote:

And trying to find some notes on how to install JIT.

  • There also is an example script and config accompanied with the ejabberd source.
  • Note that JIT is also obsolete and unmaintained! Better use PyICQ-t and/or PyAIM-t.
  • There is a tutorial in Russian.
  • There is a version online here. It may be the latest version that was released and it may evil backdoors as the code was not verified AFAIK after the JabberStudio crack last year.
  • In short: you need to do just the same as for the other obsolete transports, the only difference is, that because JITs xdb module is not compatible with that of jabberd, you need to compile and install the one that is included in the JIT package (see /xdb_file/README or something like that).
  • If you like to contribute a tutorial for JIT, you may do that.
Quote:

I have two host for the ejab installation.. but how can I make it so that the transports recognize the 2nd host?

Maybe you can use the second example in the mod_disco section of the guide?

sigh, no luck with Yahoo..

sigh, no luck with Yahoo.. I'll try to contact my dedi-server host and see. will reply back here..

thanks again ^^

Syndicate content