#17 Gaim exits when plugin activated (Solaris 9 sparc)

closed
Bill Tompkins
None
5
2004-01-16
2003-08-06
Benson
No

Hello,

when activating the plugin on solaris 9 sparc, gaim
closes. Here follows the debugging messages :

gaim-encryption: plugin_load called
gaim-encryption: Couldn't open file:/home/alec/.gaim/id
Error opening file: No such file or directory
gaim-encryption: Couldn't open
file:/home/alec/.gaim/id.priv
Error opening file: No such file or directory
gaim-encryption: Could not generate key. Out of memory?
Program exited normally.
(gdb) quit

Alec

Discussion

  • Bill Tompkins
    Bill Tompkins
    2003-08-10

    • assigned_to: nobody --> obobo
     
  • Bill Tompkins
    Bill Tompkins
    2003-08-10

    Logged In: YES
    user_id=21203

    The "Error opening file:" line is usual for the first time
    running the plugin, as there is no key file yet.

    The "Could not generate key" error is more troubling. I
    will add a line to print out the error code from the NSS
    libraries in the next release (2.03), that might indicate
    why the operation is failing.

     
  • Benson
    Benson
    2003-08-12

    Logged In: YES
    user_id=595305

    Hello,

    I tired 2.04 but i didn't get more information about the
    failure. It's exactly the same message.

    Cheers,
    Alec

     
  • Bill Tompkins
    Bill Tompkins
    2003-08-12

    Logged In: YES
    user_id=21203

    Hrm, the error message should now say:

    gaim-encryption: Could not generate key. NSS Error: 5

    (but probably with a different error number). If it
    doesn't, double check that you're loading the 2.04 plugin
    (Preferences->Plugins: click on Plugins, then on
    Gaim-Encryption in the checkbox list to the right, not the
    tree view in the lower left. The Title Text has the version
    number in it.)

    -Bill

     
  • Benson
    Benson
    2003-08-13

    Logged In: YES
    user_id=595305

    True!
    My bad, it was version 2.02 still. For some reason untaring
    the new version, applying the patch and doing a make clean
    in the gaim tree is not enough. I had to redo everything in
    a fresh source tree.
    Here's the message with the NSS error code :

    gaim-encryption: plugin_load called
    gaim-encryption: Couldn't open file:/home/alec/.gaim/id
    Error opening file: No such file or directory
    gaim-encryption: Couldn't open file:/home/alec/.gaim/id.priv
    Error opening file: No such file or directory
    gaim-encryption: Could not generate key. NSS Error: -8128

     
  • Bill Tompkins
    Bill Tompkins
    2003-10-02

    Logged In: YES
    user_id=21203

    I am hoping that the updated configure script in version
    2.14 fixes this problem. If you could check to see whether
    it works now, I'd appreciate it.

    -Bill

     
  • Logged In: NO

    Hello Bill,

    Well i fail to compile the nss libs on my usparc solaris 9
    (the thing is a mess...After spending 1 day to figure out
    out to get the thing to build, hack the sources to get it to
    find the needed headers, it finaly failed with an undefined
    symbol error) and the precompiled libs does not include the
    static lib t looking for. So i'm stuck, don;t know what to do...

    Alec

     
  • Bill Tompkins
    Bill Tompkins
    2003-10-11

    Logged In: YES
    user_id=21203

    See this thread from the help forum (about Solaris 8):

    https://sourceforge.net/forum/forum.php?
    thread_id=949073&forum_id=194059

    -Bill

     
  • Benson
    Benson
    2003-10-15

    Logged In: YES
    user_id=595305

    Ok, i succeded to compile the nss libs on solaris 9. But as
    shared libs not static ones. So i still don't have the
    libnss3.a that the plugin needs.
    As for the sugestion with pkgconfig path, it doesn't work as
    i don't have the needed files installed. I guess that they
    come with the source version of mozilla.
    Do you have to use the static version of the lib? Can't u
    use the shared one?

    Cheers,

    Benson

     
  • Bill Tompkins
    Bill Tompkins
    2003-10-15

    Logged In: YES
    user_id=21203

    You can use the shared one. It's just that the error only
    references the static lib (I'll go ahead and change that, as
    it seems to confuse many people). Some suggestions:

    1) It is _much_ easier to use pkg-config and the
    mozilla-nss.pc file (used by pkg-config to tell it where to
    find the libs and headers, and what linker flags to use),
    than it is to set all of those things manually. Different
    packaging systems seem to contain the mozilla .pc files in
    different places; I don't know where they'd come from on
    Solaris, or where they get installed. On most linux
    distros, they come in some sort of Mozilla-devel, or
    Mozilla-nss-devel pacakge. It is _hard_ to get the libs all
    compiled and set up right yourself; if Solaris has some sort
    of packaging mechanism, and there is a package that contains
    devel versions of NSS/NSPR, use them. Dirtbag (who posted
    before on the help forum) might be able to help you with that.

    2) If you're going to try to configure it without a .pc
    file, look at your config.log to see what errors you are
    getting. Most of the time, the problem is that it isn't
    finding the NSS or NSPR headers. I suspect that there are
    some dependencies in those libs on Solaris, though, that
    require external libs, and the only way to tell what's
    actually causing the error is to look at the config.log.

    -Bill

     
  • Logged In: NO

    I'm also having trouble with the Gaim-e plugin. I installed
    (for Windows) Gaim 0.75 and Gaim-e 2.19 (build 1-10-04).
    When I try to enable the plugin in preferences, Gaim crashes
    without explanation. (a screen with some status info
    flashes up for a second, but I can't get the info off of it).

     
  • Bill Tompkins
    Bill Tompkins
    2004-01-16

    • status: open --> closed