Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yahoo Messenger and File Transfers [Resolved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Sun Jan 09, 2005 7:42 am    Post subject: Yahoo Messenger and File Transfers [Resolved] Reply with quote

Hey y'all. I'm having a little trouble with ymessenger (I know, GAIM is really cool, but doesn't support file transfers). I can send files to my buddys just fine, but if I click the option to download a file they send, ymessenger crashes with the message
Code:
/opt/ymessenger/bin/ymessenger.bin: relocation error: /opt/ymessenger/bin/ymessenger.bin: symbol MTaNYB7P1, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
at the console. Anyone have this problem and a fix?

Regards,

JoeG
_________________
Linux User#226477


Last edited by JoeG on Mon Jan 10, 2005 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Mon Jan 10, 2005 6:06 am    Post subject: What version? Reply with quote

I think that's a Known Issue (tm) with 1.0.4, which is the latest in portage. Try grabbing 1.0.6 from here. It seems to work better.
(if this is the same problem, incidentally, you should be fine clicking on a download from another Linux client; it's only cross-platform downloads that die horribly).
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Mon Jan 10, 2005 2:08 pm    Post subject: Reply with quote

Thanks so much for the response. This issue is really bugging me (no pun intented). So, should I download the latest rpm to /usr/portage/distfiles and emerge -u ymessenger, or would I have to modify/create an ebuild to handle it that way?
_________________
Linux User#226477
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Mon Jan 10, 2005 3:16 pm    Post subject: I did it the Wrong Way Reply with quote

Honestly I just dropped the rpm in /, ran rpm2targz, and tar -xzvf 'ed it. It will overwrite your current ymessenger install, so be prepared to re-emerge if it breaks something.
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Mon Jan 10, 2005 5:19 pm    Post subject: Reply with quote

Figured out a way to do it the "Gentoo Way" ;)

    1. Get into the /usr/portage/net-im/ymessenger directory and create the file /usr/portage/net-im/ymessenger/ymessenger-1.0.6.1.ebuild with the following content (I simply modified the ymessenger-1.0.4.1.ebuild file... no sense reinventing the wheel.):

    Code:
    # Copyright 1999-2005 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $

    inherit kde-functions rpm

    IUSE="kde gnome"

    MY_P=${PN}-${PV%.*}-${PV#*.*.*.*}
    S=${WORKDIR}
    DESCRIPTION="Yahoo's instant messenger client"
    HOMEPAGE="http://public.yahoo.com/~mmk/index.html"
    SRC_URI="http://public.yahoo.com/~mmk/rh9.${MY_P}.i386.rpm"

    DEPEND="media-libs/gdk-pixbuf
       dev-libs/openssl"

    RDEPEND="virtual/x11"

    SLOT="0"
    LICENSE="yahoo"
    KEYWORDS="-* ~x86"

    pkg_setup() {
       if [ ${ARCH} != "x86" ] ; then
          einfo "This is an x86 only package, sorry"
          die "Not supported on your ARCH"
       fi
    }

    src_compile() {
       einfo "Nothing to compile -- this is a binary package"
    }

    src_install () {
       cd ${S}/opt/ymessenger/bin

       exeinto /opt/ymessenger/bin
       doexe ymessenger.bin ymessenger

       insinto /opt/ymessenger/bin
       doins yahoo_kde.xpm yahoo_gnome.png

       insinto /opt/ymessenger/bin
       doins ymessenger.desktop

       if use gnome
       then
          insinto /usr/share/gnome/apps/Internet
          doins ymessenger.desktop
          insinto /opt/ymessenger/bin
          doins ymessenger.desktop
       fi

       if use kde
       then
          insinto ${KDEDIR}/share/applnk/Internet
          doins ymessenger.kdelnk

          insinto /opt/ymessenger/bin
          doins ymessenger.kdelnk
       fi

       into /opt/ymessenger
       dolib ${S}/opt/ymessenger/lib/libgtkhtml.so.0

       echo "#!/bin/sh" > ymessenger.gentoo
       echo "LD_LIBRARY_PATH=/opt/ymessenger/lib:$LD_LIBRARY_PATH" >> ymessenger.gentoo
       echo "export LD_LIBRARY_PATH" >> ymessenger.gentoo
       echo "exec /opt/ymessenger/bin/ymessenger.bin $@" >> ymessenger.gentoo
       exeinto /usr/bin
       newexe ymessenger.gentoo ymessenger

    }

    pkg_postinst() {
       einfo ""
       einfo "If you are upgrading from an older version of ymessenger,"
       einfo "please unmerge the previous version."
       einfo "-=AND=-"
       einfo "mv ~/.ymessenger/preferences ~/.ymessenger/preferences.old"
       einfo ""
    }



    2. Create the digest file
    Code:
    ebuild ymessenger-1.0.6.1.ebuild digest

    3. Install the messenger (bear in mind that this is a beta release, so it's ~x86).
    Code:
    emerge ymessenger




Happy YM!ing

JoeG

UPDATE: I've posted this info at bugzilla so others can benefit from my confusion. ;)

UPDATE #2: I've updated the ebuild script to remove the dependency on libgtkhtml, as libgtkhtml.so.0 was already packaged in the rpm. Also, there is no need to create a symlink in /usr/lib, as libgtkhtml.so.0 is placed into /opt/ymessenger/lib during the emerge. 8)

UPDATE #3: I finally RTFM'd and posted the ebuild to bugzilla here. Ya gotta love Gentoo Docs! :D
_________________
Linux User#226477
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Tue Jan 25, 2005 10:36 pm    Post subject: Reply with quote

Sweet! It's in portage! New ebuild accepted.
:D
_________________
Linux User#226477
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum