|
From: Eric K. <nav...@ya...> - 2002-04-14 15:52:01
|
Alright, Brent has been asking some other questions.
It seems that the email list doesn't auto reply to the
list. Which sucks, I'll have to see if I can change
that. But here is all he said to me in two emails,
then I'll try to answer after that
//*******************************************
Tried to install gaim-e had a few problems. Here is
what I did.
Notes:
1. unzip/untar archive in temp dir
2. cp * /gaim-0.56/plugins
3. ./compile
4. errors about there being too few arguments to the
function
serv_send_im().
5. Comment out all occurances of the function
serv_send_im()
aprox 6, then save gaim-e.c
6. ./compile again
7. gaim-e.so builds
8. copy gaim-e.so into gaim plugin directory
9. when try to load I get the error in gaim,
"/usr/lib/gaim/gaim-e.so: undefined symbol:
gpgme_set_passphrase_cb"
Just an FYI, before messing with your code I did not
have gpgme, I did
download the latest source tarball of gpgme and
compile/install it
using
the standard./configure, make, make install. I did
start a new shell
at
that point in case that library added environment
variables. Gaim was
restarted a couple of timesalso (just in case).
Short of wading into your code I can't think of
anything else to do
tonight ;). Girlfriend fell asleep so I decided I
would get up and play
with your code a little hehe.... to tired to look at C
code... I've
looked at 1000s of lines over the last couple of days
<ick>.
Anyways, peace. If you need further info, please
contact me. Thanks,
Brent
Hey sorry to bug ya yet again, but...
After playing with the plugin a little bit more... I
still
haven't found out how to fix the load error (when
trying to
load the plugin from within gaim) I did however get
gaim to
segfault a couple of times, damnit, sorry I did not
have the
whole thing open in gdb. I compiled gaim with
debuging
options and loaded it in gdb but I'll be damned if I
can
reproduce the segfault I played with it for about half
an hour.
Weird stuff.
Thanks,
Brent
BTW, if you are interested I can bring another guy in
on this,
he is also a CS student and pretty smart when in comes
to the
math side of things (and good with encryption
algorithms). His
name is Brent Woodruff (he goes to appstate too).
//****************************************
Damn, you ask a lot of questions. Alright, let's see.
First off. While I can't test if it works, I can load
and unload the plugin successfully. I did see on the
gnupg page that there is a newer version of gpgme out.
I have 0.3.4 and it works fine. So it might be the
way you installed the src. "gpgme_set_passphrase_cb"
is used by gpgme whenever it needs a passphrase but
doesn't know one. so it's expected that you can use
that function to get it. It might be taken out in the
latest gpgme, I'm not sure. I'll look into it. I'd
also go and try 0.3.4 and see if that works. If you
have debian, they are easy installs.
gaim segfaults with the gaim-e plugin whenever you are
trying to close gaim. I tried to write a memory clean
up function and it doesn't work so well. I think it
gets a little over zealous and starts freeing make
believe memory.
I wouldn't go and get rid of the serv_send_im function
calls. they are pretty much needed. How they look
depends on what version of gaim you have. If you are
running with something greater then 0.54 then you need
the code I put in cvs last night. basically the gaim
guys added another variable for us to pass to the
plugin. In our case "-1" needs to be added as the
third variable. So now we have four being passed.
that should work.
Like I said, I can load and unload the plugin but
can't log in and send messages. So that's as far as I
can test. I'll look into to seeing of the newest
version of gpgme dumped the passphrase_cb.
As for your friends. Yeah sure, I'm all about people
helping on the project. I'd like to start out with
you guys sending me some patches and working on in
that way. If I see that you are dedicated to it, I'll
add you to the developers list. I've found that
people loose heart with gaim-e in a couple of days.
But sure, I'm always game for more people. I know
what I would like to get done for me to be happy with
v1.0 Then from there, I expect v2.0 to have a lot
more bells and whistles. Plus I want to start to see
if it works with all of the other protocols.
peace
emk w0d3n
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
|