[ gaim-Support Requests-1384517 ] Gaim 2.0.0cvs on IRIX - needed tweaks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ gaim-Support Requests-1384517 ] Gaim 2.0.0cvs on IRIX - needed tweaks

SourceForge.net
Support Requests item #1384517, was opened at 2005-12-18 10:08
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1384517&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Lennert Van Alboom (alverino)
Assigned to: Mark Doliner (thekingant)
Summary: Gaim 2.0.0cvs on IRIX - needed tweaks

Initial Comment:
I compiled gaim 2.0.0cvs (16-12-2005, around 20:00
GMT+1, if that matters) on IRIX 6.5.27, with the
following tweaks:

1) All needed dependencies from nekoware (supplied by
the www.nekochan.net community).


2) Edited the "configure" script to replace all
instances of "-lnls" by "-lnls -lgnutls". If not, no
SSL support, for some obscure reason.


3) Following configure line:

LD_LIBRARY_PATH=/usr/nekoware ./configure
--enable-nss=no --enable-gnutls=yes
--with-tclconfig=/usr/nekoware/lib
--with-tkconfig=/usr/nekoware/lib --enable-debug

This got me tons of warnings of the type:

ld32: WARNING <number>: weak definition of XXX in
/usr/lib32/libnsl.so preempts that weak definition in
/usr/lib32/mips3/libc.so.

Some other warnings too - I attached config.log.


4) libgadu-config.h:

#include <stdint.h>
needs to be commented out.


5) getopts.c:

#include <string.h>
needs to be added.


6) dnssrv.c: IRIX has no arpa/nameser-compat.h, and no
decent arpa/nameser.h.

#include <arpa/nameser_compat.h>
needs to be commented out;

# define NS_GET16(src, dst)     __putshort((unsigned
short) src, dst)
needs to be added. I *hope* this has the exact same
behaviour, but so far it seems to work.


After that, gmake && gmake install, and all went smooth.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2006-12-29 19:20

Message:
Logged In: YES
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2006-12-14 21:28

Message:
Logged In: YES
user_id=28833
Originator: NO

This bug is fixed in the most recent version of Gaim.  If you are
not using the lastest version, please upgrade.  If you are using
the latest version, please indicate so and reopen this bug.

----------------------------------------------------------------------

Comment By: Lennert Van Alboom (alverino)
Date: 2006-02-11 09:45

Message:
Logged In: YES
user_id=885350

Oh - heh. I wasn't aware that the NS_GET16 was replaced;
forget all about the nameser_compat.h humping :)

Any idea about the gnutls related SIGBUS crash? I wish I
could get more info, but gdb itself dumps core all the
time... heh.

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2006-02-11 09:02

Message:
Logged In: YES
user_id=156487

NS_GET16 has been replaced by GETSHORT. IRIX have GETSHORT
either??

----------------------------------------------------------------------

Comment By: Lennert Van Alboom (alverino)
Date: 2006-02-11 06:06

Message:
Logged In: YES
user_id=885350

Update:

Thanks for the fixes - right now I only need the configure
hack and a way to get NS_GET16 working, to have a gaim build.

I've tried to add a jabber account, at which it crashed in
gnutls. Disabling TLS for the jabber account gives a working
(yet unable to connect) jabber account.Strange thing since
MSN works just fine with that same GnuTLS.

I've tried a different approach this time for the
arpe/nameser.h problem - I inserted the "custom" headers
Bind 9 ships with its source to handle this dns issue on
various platforms, which also builds fine after deleting an
include.

Here's a (dbx, since gdb won't work) backtrace of the core:

Core from signal SIGBUS: Bus error
(dbx) where
>  0 do_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d, 0x90,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1899,
0x4afe38c]
   1 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   2 do_cbc_encrypt(0x105f0958, 0x105fae9d, 0x105fae9d, 0x0,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":786,
0x4ae3fe0]
   3 cipher_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":1034,
0x4ae5040]
   4 gcry_cipher_encrypt(0x105f09a8, 0x105fae9d, 0x90, 0x90,
0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/cipher.c":1075,
0x4ae5230]
   5 _gnutls_cipher_encrypt(0x105f09a8, 0x105fae9d,
0x105fae9d, 0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher_int.c":72,
0x42671e4]
   6 _gnutls_compressed2ciphertext(0x105f1a40, 0x0, 0x0,
0x7fff1a50, 0x0, 0x0, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher.c":346,
0x4257424]
   7 _gnutls_encrypt(0x105f1a40, 0x0, 0x5, 0x7fff1a50, 0x10,
0x105fae98, 0x0, 0x0)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_cipher.c":90,
0x4256d1c]
   8 _gnutls_send_int(0x105f1a40, 0x16, 0x0, 0x0, 0x90,
0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_record.c":340,
0x425524c]
   9 _gnutls_handshake_io_send_int(0x0, 0x0, 0x105fae9d,
0x0, 0x10, 0x20, 0x4, 0x0)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_buffers.c":776,
0x4259bec]
   10 _gnutls_send_handshake(0x105f09a8, 0x105fae9d, 0x14,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":793,
0x425c204]
   11 _gnutls_send_finished(0x105f1a40, 0x105fae9d,
0x105fae9d, 0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":443,
0x425b334]
   12 _gnutls_send_handshake_final(0x0, 0x0, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":2109,
0x425f3f0]
   13 _gnutls_handshake_common(0x105f1a40, 0x105fae9d,
0x105fae9d, 0x90, 0x0, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":2300,
0x4260228]
   14 gnutls_handshake(0x105f1a40, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/gnutls-1.0.20/lib/gnutls_handshake.c":1920,
0x425e7e4]
   15 ssl_gnutls_handshake_cb(data = 0x104e9718, source =
274706077, cond = GAIM_INPUT_READ=1)
["/usr/people/alver/Build/gaim/plugins/ssl/ssl-gnutls.c":77,
0x5ffc35e4]
   16 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   17 gaim_gtk_io_invoke(source = 0x105f09a8, condition =
274706077, data = 0x105fae9d)
["/usr/people/alver/Build/gaim/src/gtkeventloop.c":46,
0x100c1c20]
   18 rijndael_encrypt(0x105f09a8, 0x105fae9d, 0x105fae9d,
0x90, 0x90, 0x20, 0x4, 0x105fae9d)
["/raids/strip2/MIPS/libgcrypt-1.2.0/cipher/rijndael.c":1976,
0x4afe920]
   19 <Unknown>() [< unknown >, 0x2fef918]
(dbx)

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2005-12-19 04:48

Message:
Logged In: YES
user_id=156487

I committed some stuff. All that should be left is dealing
with #2 and the NS_GET16 part of #6, which I'm not sure is
correct. My version of NS_GET16 increments dst. Does
__putshort?

----------------------------------------------------------------------

Comment By: Lennert Van Alboom (alverino)
Date: 2005-12-19 04:01

Message:
Logged In: YES
user_id=885350

Argh, retarded typo in 2): -lnsl of course, not -lnls.

----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2005-12-18 10:21

Message:
Logged In: YES
user_id=28833

Mark, can you look at these changes? will they break us
elsewhere?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1384517&group_id=235

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gaim-support
Loading...