You are not logged in.

#1 2009-10-13 06:03:24

Superjoshi
Member
Registered: 2009-10-13
Posts: 15

Pan (USENET client) fails to run

Just installed Arch Linux today with XFCE on my laptop (Acer Aspire 5600, if it matters), but I can't seem to get Pan to work, throws this error:

[root@teddy ~]# pan
pan: error while loading shared libraries: libgmime-2.0.so.2: cannot open shared object file: No such file or directory

gmime is installed, so I don't know what's wrong, ideas?

Offline

#2 2009-10-13 08:08:47

eagleton
Member
Registered: 2009-08-15
Posts: 17

Re: Pan (USENET client) fails to run

Hi,
I'm having the same problem. Pan seems to need the older version of gmime which was used for Gnome 2.26. I tried to downgrade the gmime package, but important parts of Gnome 2.28 seem to need the new one. Looks like it needs to be fixed upstream.

https://bugzilla.gnome.org/show_bug.cgi?id=541676
https://bugzilla.redhat.com/show_bug.cgi?id=476250

Offline

#3 2009-10-13 10:24:32

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: Pan (USENET client) fails to run

Downgrading gmime solves the problem for me, however I have Openbox installed and no DE as such so am not dependant on many Gnome libs. As eagleton suggests downgrading gmime may cause problems for you Gnome guys.

Offline

#4 2009-10-13 16:42:14

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: Pan (USENET client) fails to run

Here is a PKGBUILD for building a gmime22 package alongside the official gmime one :

pkgname=gmime22
realname=gmime
pkgver=2.2.21
pkgrel=1
pkgdesc="Core mime parsing library"
arch=(i686 x86_64)
license=('GPL')
url="http://spruce.sourceforge.net/gmime/"
depends=('glib2>=2.16.3' 'zlib')
makedepends=('gtk-sharp-2>=2.12.0' 'pkgconfig')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${realname}/2.2/${realname}-${pkgver}.tar.bz2)
md5sums=('16acf7ed0287f4aae419ad71e737762f')

build() {
  # get rid of that .wapi errors in fakeroot
  export MONO_SHARED_DIR="${srcdir}/weird"
  mkdir -p "${MONO_SHARED_DIR}"

  cd ${srcdir}/${realname}-${pkgver}
  ./configure --prefix=/usr --disable-mono || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1

  # These are gmime alternatives for the same shareutils tools
  mv ${pkgdir}/usr/bin/uuencode ${pkgdir}/usr/bin/guuencode22 || return 1
  mv ${pkgdir}/usr/bin/uudecode ${pkgdir}/usr/bin/guudecode22 || return 1
}

I had to disable mono because I could not build the package with it on my machine.
And I renamed the guu??code to guu??code22 to prevent file conflicts, but these utilities should not be used if the newer gmime package is already installed.

So the needed libraries for pan are available without breaking the dependencies on the new gmime package.

The pan developper intends to release an upgraded version but it seems that it will be at least in weeks from now.

I think that the gmime22 package solution is the simplest one before that new release of pan.

Offline

#5 2009-10-13 17:38:10

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

awesome thanks berbae, i'll try to build that later today.  i reverted back to gmime-2.2 for now (i dont use ghome either).

[edit] had to add a provides=('gmime') line and removed the makedep on gtk-sharp-2 (is that needed?).  so far it's working

Last edited by toxygen (2009-10-13 17:53:40)


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#6 2009-10-13 19:40:22

Superjoshi
Member
Registered: 2009-10-13
Posts: 15

Re: Pan (USENET client) fails to run

Thanks for the info guys, albeit I just ended up installing nzbget. =P

Offline

#7 2009-10-13 21:41:57

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: Pan (USENET client) fails to run

toxygen wrote:

had to add a provides=('gmime') line and removed the makedep on gtk-sharp-2 (is that needed?).  so far it's working

Just to be sure and for clearness, I precise that I install the two packages together :

[berbae@arch64 ~]$ pacman -Q gmime gmime22
gmime 2.4.10-1
gmime22 2.2.21-1

The gmime22 package is intended to be installed alongside the official gmime package.
It is only there to provide the necessary libraries to pan which cannot be compiled against the new gmime, until an upgraded version is released.
It's a temporary solution which preserves the new dependencies with gnome 2.28 and gmime 2.4 upgrades (no need to revert to gnome 2.26 for those using this DE and pan).

Offline

#8 2009-10-13 22:53:10

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

oh it works without the provides line, but installing pan (i dont have gmime-2.4 installed) failed for lack of gmime, so i just changed it (for myself).  and i dont need extra packages like gtk-sharp so i took it out.  other people who need gmime-2.4 can do it with your original PKGBUILD.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#9 2009-10-14 10:15:39

sead
Member
Registered: 2009-06-30
Posts: 8

Re: Pan (USENET client) fails to run

Thanks berbae, it works for me. Do you have any idea when will this bug be fixed ?

Thanks again to the community!! big_smile

Last edited by sead (2009-10-14 10:16:09)

Offline

#10 2009-10-14 17:41:40

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: Pan (USENET client) fails to run

It's not a bug. Pan is quite an old application, I'm not sure it is still being developed. The current version is not compatible with the new gmime, it needs to be sorted upstream.

Offline

#11 2009-10-14 17:53:24

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

Raffles10 wrote:

It's not a bug. Pan is quite an old application, I'm not sure it is still being developed. The current version is not compatible with the new gmime, it needs to be sorted upstream.

the main developer is flaky, but it's still being developed (see pan buglist, not the mailing list, he posts every now and then).  he'll go on an update spur for a while, then nothing for months.  it's sad because it's such a good newsreader (i started using it as a replacement for forte agent from windows years ago, very similar features).


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#12 2009-10-14 20:43:51

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: Pan (USENET client) fails to run

It's sad, not just because it's a good news reader but because there are so few binary news readers for linux.

Offline

#13 2009-10-14 21:18:39

Andrew11
Member
Registered: 2009-10-14
Posts: 10

Re: Pan (USENET client) fails to run

Hey I am new to this site what coding language is this and where can I find more about it

Offline

#14 2009-10-14 21:28:31

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

Andrew11 wrote:

Hey I am new to this site what coding language is this and where can I find more about it

you might want to ask on the Forum & Wiki discussion on  your own thread


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#15 2009-10-16 06:31:38

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

according to the bug page http://bugs.archlinux.org/task/16608
this is now fixed. i just finished rebuilding it and so far it's working, with gmime 2.4 (remove the gmime22 package too).

thanks to Eric/snowman!  mark this one as solved


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#16 2009-10-16 10:51:04

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Pan (USENET client) fails to run

update sorted things for me smile


Arch i686 on Phenom X4 | GTX760

Offline

#17 2009-10-18 18:14:56

eagleton
Member
Registered: 2009-08-15
Posts: 17

Re: Pan (USENET client) fails to run

Does anyone else have problems with the new version?
Pan always marks read posts as unread again whenever I reopen Pan.

Offline

#18 2009-10-31 11:13:11

ernesto_
Member
From: Zagreb, Croatia
Registered: 2009-07-04
Posts: 7

Re: Pan (USENET client) fails to run

I'm also having the same problem. Seems like 'fix' introduced some new bugs.

Offline

#19 2009-10-31 11:37:46

eagleton
Member
Registered: 2009-08-15
Posts: 17

Re: Pan (USENET client) fails to run

Ok, I've done a bugreport now since I'm not the only one anymore.

Offline

#20 2009-11-01 11:34:48

ernesto_
Member
From: Zagreb, Croatia
Registered: 2009-07-04
Posts: 7

Re: Pan (USENET client) fails to run

Just realized I misread your post. My problem is actually that pan marks all posts read, not unread. Though it probably is related.
I tried creating new configuration for pan, but same thing happened (worked until first restart).

Offline

#21 2009-11-01 11:41:57

eagleton
Member
Registered: 2009-08-15
Posts: 17

Re: Pan (USENET client) fails to run

Hm, maybe our specific configurations led to different problems then. Another curious thing I've noticed is that in front of "read group" in the context menu, a slash has appeared, and the localization seems different in some aspects.

Offline

#22 2009-11-01 11:51:54

ernesto_
Member
From: Zagreb, Croatia
Registered: 2009-07-04
Posts: 7

Re: Pan (USENET client) fails to run

I'm really not sure (I though last update was only related with mime handling, not pan ui). Just realized that even though in group pane its shown that there are some unread posts, header pane doesn't show em (no bold or threads with underline).

Anyone else?

Last edited by ernesto_ (2009-11-01 11:53:58)

Offline

#23 2009-11-01 15:56:31

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: Pan (USENET client) fails to run

i've actually had similar problems since before this latest updated, such as seeing unread messages in group page and nothing on the header pane, pan marking as read or erasing new messages when i went into the group, etc.  i believe this is due to how pan cannot really handle a lot of messages (i think when you go past 500k messages it starts losing track on its internal db on what's read, what's expired, etc).
usually i resort to deleting all messages, and redownloading several days worth (but on huge groupd like multimedia it's a hassle so i've started moving away from newsgroups).  sad really, as this is the best binary/text newsgroup app in linux at the moment.


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#24 2009-11-21 17:50:38

eagleton
Member
Registered: 2009-08-15
Posts: 17

Re: Pan (USENET client) fails to run

Pan works fine again after the latest update. smile

Offline

Board footer

Powered by FluxBB