Wednesday, February 28, 2007

Patching PSI 0.11......

We installed PSI 0.11 according to the WIKI at psi.

In order to make PSI 0.11 compile with the libjingle functionality, we had to patch it a bit.


hunk ./third-party/libjingle/talk/base/base64.h 25
- static const string Base64::Base64Table;
- static const string::size_type Base64::DecodeTable[];
+ static const string Base64Table;
+ static const string::size_type DecodeTable[];
hunk ./third-party/libjingle/talk/base/socketadapters.cc 339
- sprintf(buffer, "%d", time(0));
+ sprintf(buffer, "%d", (int)time(0));
hunk ./third-party/libjingle/talk/base/stringutils.h 258
- inline static const char* Traits::empty_str() { return ""; }
+ inline static const char* empty_str() { return ""; }
hunk ./third-party/libjingle/talk/xmpp/xmppclient.h 136
- std::string XmppClient::GetStateName(int state) const {
+ std::string GetStateName(int state) const {
}

1/3-07 We are now stuck with a runtime-error when compiling PSI 0.11beta-jingle. It seems that it can not find the ortp library though we have it installed properly. But as the developers says in the PSI forum:
"You need the right library versios the correct compiler some small code hacks and a bit of LUCK to make it work!" It is very experimental...
Yesterday I compiled PSI 0.11 without jingle support. It connected fine to my own jabber server, but I could not make it connect to Google's GTalk server. This might be an authentication problem, which might be object for furter analisys.

0 Comments:

Post a Comment

<< Home