benklop / pidgin-msn-xmpp

Automatically exported from code.google.com/p/pidgin-msn-xmpp
0 stars 0 forks source link

Makefile #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Would you be so kind as to upload a makefile for all of use Linux Users out 
there who might want to use this plug-in? Thanks!

Original issue reported on code.google.com by tpz0...@gmail.com on 7 Dec 2012 at 5:47

GoogleCodeExporter commented 9 years ago
I second this.

Original comment by Injigoof...@gmail.com on 11 Jan 2013 at 12:22

GoogleCodeExporter commented 9 years ago
On ubuntu 10.04.4, this makefile "close to work":
it compiles, generated the .so, yet not loading though.
Building against pidgin 2.10.6 ubuntu lucid souce package.

Error: undefined symbol: jabber_auth_add_mech

Does that means jabber_auth_add_mech is decleared, but not defined in pidgin 
source tree?

Original comment by jhy...@gmail.com on 3 Mar 2013 at 8:05

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the Makefile, after downloading and adding the path to Pidgin's 
source files, it compiles for me as well. Tested on Linux Mint 13, which uses 
the codebase of Ubuntu 12.04. Same thing, though: the plugin is grayed out and 
the same error appears.

I find that a bit odd. Is Pidgin a bit different on Windows? Are we missing 
something to compile it correctly?

Original comment by tailsze...@gmail.com on 3 Mar 2013 at 10:32

GoogleCodeExporter commented 9 years ago
I guess I'm not setting the correct linker option.
Trying anyway.

Original comment by jhy...@gmail.com on 3 Mar 2013 at 6:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Alright, got it working.
My new makefile

However, new issue is: XML Parse error
Same error happened when I use libmsnxmpp.dll athor compiled for windows.
Nowhere to start this time.

Original comment by jhy...@gmail.com on 3 Mar 2013 at 6:35

Attachments:

GoogleCodeExporter commented 9 years ago
The previous XML Parse error come from wierd string in the status of my 
contacts.
(Actually the sting give many not reconized chars (boxes) when I login with 
skype.
Maybe it can be worked around by ignoring the error?

Original comment by jhy...@gmail.com on 4 Mar 2013 at 3:14

GoogleCodeExporter commented 9 years ago
I'd like to give it a try, but unfortunately I end up with this error when 
compiling:
/usr/bin/ld: cannot find -ljabber

I searched for a library by that name in Pidgin's source code, but I can't seem 
to find it. Could you let me know where you got it? That way I'd be able to 
check if I have the same XML parse error.

Original comment by tailsze...@gmail.com on 5 Mar 2013 at 10:36

GoogleCodeExporter commented 9 years ago
Check the -L<path>
That is the location of INSTALLED pidgin's binary tree.
I compiled the pidgin binary myself to be safe.
If you are using distrobution package, I think it's in /usr/lib/purple-2
I'm pretty sure that abslute path linking option is BAD. However, that is the 
solution I can come out from my very little programming knowledge.

Original comment by jhy...@gmail.com on 5 Mar 2013 at 2:43

GoogleCodeExporter commented 9 years ago
Ah, good call, I kept using the source files instead of the actual compiled 
libraries. Anyway, I was able to compile it this time but I end up with a 
slightly different error in Pidgin on my side:

Erreur : undefined symbol: jabber_auth_remove_mech

Note that this time, it's "remove", and not "add". Maybe I need to compile 
Pidgin on my own as well, but it seems odd that it doesn't work out of the box 
with the default binary tree provided by Ubuntu, and throws a different, but 
related error. Though maybe it's entirely unrelated.

Original comment by tailsze...@gmail.com on 5 Mar 2013 at 4:13

GoogleCodeExporter commented 9 years ago
I used  "./configure --disable-screensaver" for pidgin, with minor lose of 
status update when screensavor is active (I never use that function anyway). 
Many distro use DE's screensavor instead orig x-screensaver. Or you can look 
for correct headers yourself.

Btw, I am using Ubuntu 10.04.4

Original comment by jhy...@gmail.com on 7 Mar 2013 at 9:56