techmav n00b
Joined: 23 May 2005 Posts: 9 Location: Georgia
|
Posted: Thu Mar 22, 2007 1:23 pm Post subject: CenterICQ/MSN version fix |
|
|
I run CenterICQ due to my need for an all-encompassing text IM client. I know it was recently delisted from the portage tree.
Recently, MSN made a change that prevents CenterICQ from connecting. This is due to the version that CenterICQ reports itself as being. To work around this/fix this, you need to make a slight change to one file and compile it by hand.
This is what I did to fix the problem:
Code: | su -
mkdir tmp
cd tmp
cp /usr/portage/distfiles/centericq-4.21.0.tar.bz2 .
tar -xvjf centericq-4.21.0.tar.bz2
cd centericq-4.21.0/libmsn-0.1/msn/
|
Now, edit the notificationserver.cpp file and search for "6.0.0250"(without the quotes). This is the version that CenterICQ is reporting to MSN when it tries to connect. Change this to "7.5.0324" (without the quotes).
Code: | Original line:
buf_ << "CVR " << trid << " 0x0409 winnt 5.2 i386 MSNMSGR 6.0.0250 MSMSGS " << info->username << "\r\n";
Fixed line:
buf_ << "CVR " << trid << " 0x0409 winnt 5.2 i386 MSNMSGR 7.5.0324 MSMSGS " << info->username << "\r\n";
|
Save the file.
Code: | cd ../../
./configure --with-ssl --disable-aim --disable-irc --disable-jabber --disable-gg --disable-rss --disable-lj --prefix=/usr
make
make install (this must be done as root)
|
This will configure, compile, and install CenterICQ in the same place the original program runs from. Feel free to change the configure flags as needed, as I only use MSN and Yahoo for mine.
TechMav _________________ Tygr Labs |
|