You are not logged in.

#1 2006-05-28 13:43:39

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

XnView --> can't make it run properly on Arch

i can't make it work on Arch (succeded in Frugalware and Slackware).
when i try to enter options/general or file/open xnview crashes...

i tried the RPM verison, then the tar.gz installer, then a made a PKGBUILD, the result was the same:

** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-o-normal-*-*-140-75-75-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-o-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  3800
  Current serial number in output stream:  3817

then I modified the /usr/lib/X11/application-default/XnView file. i replaced "helvetica" to "fixed", then there was no "cannot convert string..." errors, but xnview crashed again...

** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  447
  Current serial number in output stream:  600

the program worked fine with Frugalware (Helvetica font was avalible there also). what could be the problem?

i post my PKGBUILD anyway...i dont wanna post to AUR until it doesn't work fine...

pkgname=xnview
pkgver=1.70
pkgrel=4
pkgdesc="XnView is an efficient multimedia viewer, browser and converter."
url="http://www.xnview.com/"
depends=('lesstif' 'xorg')
source=(http://download.xnview.com/XnView-static-fc4.i386.rpm)
makedepends=('rpmunpack')
md5sums=('a38e5f562af20d27ff8cf90cdcd08e38')

build() {
        rpmunpack < $startdir/src/XnView-static-fc4.i386.rpm | gzip -d | cpio -idmuv
        chmod u+rwX -R $startdir/src/usr
        chmod a+rX -R $startdir/src/usr
        mv $startdir/src/usr/X11R6/lib $startdir/src/usr
        rm -R $startdir/src/usr/X11R6
        cp -R $startdir/src/usr $startdir/pkg
}

Offline

#2 2006-05-29 10:24:48

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

Re: XnView --> can't make it run properly on Arch

any suggestion?

Offline

#3 2008-07-07 18:27:33

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: XnView --> can't make it run properly on Arch

I know this is an oooold thread, but I'm getting the same error with the latest xnview, and I don't know how to solve it. Any ideas?

A lot of people seem to have this error but I haven't found a solution. Which font packages exactly should be installed?

Offline

#4 2008-07-07 18:46:47

attila
Member
Registered: 2006-11-14
Posts: 293

Re: XnView --> can't make it run properly on Arch

What speak against using this: http://aur.archlinux.org/packages.php?ID=861

Offline

Board footer

Powered by FluxBB