How to install XnView on sidux with KDE 4.3.1

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, helmut, xnview

300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Hello and many thanks to Pierre for this great program I am using it for several years.

Now i have installed a new machine and I'm not able to set up XnView.
My machine: CPU[-AMD Athlon 64 3500+ clocked at 2200.000 Mhz-] Kernel[-Linux 2.6.31-1.slh.1-sidux-amd64 x86_64-] Up[-38min-] Mem[-546.1/1003.4MB-]

I have tried XnViewMP-linux.tgz and XnView-x86-unknown-linux2.x-static-fc4.tgz, but the don't work. The errormessage is:

bash: /usr/local/bin/xnview: Datei oder Verzeichnis nicht gefunden
(This should mean File or directory not found)

But in /user/bin/local it is installed:

user@siduxbox:/usr/local/bin$ ls -l
insgesamt 5684
-rwxr-xr-x 1 root staff 1301544 27. Sep 10:59 nconvert
-rwxr-xr-x 1 root staff 1142956 27. Sep 10:59 nview
-rwxr-xr-x 1 root staff 3358016 27. Sep 10:59 xnview


Also the installer-script says "success":

root@siduxbox:/home/user/Desktop/XnView-1.70-x86-unknown-linux2.x-static-fc4# ./install
OS : Linux, version 2.6.31-1.slh.1-sidux-amd64
This script will install nview/nconvert/xnview in the /usr/local/bin directory

Done!



In the directory /usr/lib/X11/app-defaults/XnView is the file XnView.ad installed

root@siduxbox:/usr/lib/X11/app-defaults/XnView# ls -l
insgesamt 12
-rw-r--r-- 1 root root 9229 27. Sep 10:59 XnView.ad

It has some parameters for XnView:
-----------------------------------------------------
!
!
! XnView.ad --- app-defaults file for XnView v1.25
!
!

XnView.version: 1.25

*fontList: -*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1
*background: #d9d9d9
*foreground: Black
... (and much more)
-------------------------------------------
The font "helvetica" is not installed on my system.

I have tried to launch XnView without the file: No success.
I have changed in the XnView.ad all helvetica to an existing font: No success.

Now i have no more idea.

Does anyone from you have a hint for me?

With best regards

300st
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Ooops, forgotten to say: I don't want to use wine.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to install XnView on sidux with KDE 4.3.1

Post by xnview »

Please try now XnViewMP
Pierre.
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Hi Pierre,

many thanks for your reply. Funny: i have downloaded and tried the new XnViewMP (0.20 I think). The bad news: It won't work on my machine. So, because I love the program, I have installed wine and the windows-version. This works perfect. Because I use the ALT + F2-key-combination very often, I typed in "xnview" and: Voila! it now works nativ in linux. In version 1.70. With my favorite little/tiny surface. With the transparency-error, but it works. I have seen some forum-entries with this effect and I will figure it out by myself how to solve it.

I think, I will deinstall everything to figure out, at which configuration it will work

I will write it in your forum, when I have checked everything.

Again many many thanks for this great program and your quick answer.

Greetings

300st
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Okay, I have figured out:

The absence of /usr/lib/X11/app-defaults/XnView/XnView.ad has no effects.
Deinstalling of XnView-Windows-version and deinstalling wine: Nativ-linux XnView v 1.70 works fine as well. Incredible: apt-get remove wine as root seems to be successful. But when I start windows-Programs, wine seems to be active. I can start the XnView.exe to install it. Hmm...there seems to be a problem under sidux, but this is not your problem.

I have downloaded /XnView-1.70-x86-unknown-linux2.x-static-fc4 again, chmod 744 as root and installed it. Success:
XnView 1.70 works fine in native linux code

At the moment my only exploration is: I have made an dist-upgrade and a dist-update and I have installed "imgseek". Maybe some qt-libraries weren't installed on my system.

By the way: The transpary-error don't occurs, when I switch off the desktopeffects or "composite". Nice to have these effects, but there are not neccessarily. To use XnView for a slideshow you need only some clicks to switch them off and after using your program switch them on again.

However, XnView works now fine for me and thanks again to you Piere.

I think, you can switch this thread to "solved".

With best regards

300st

/me will now reboot and look if everythings well ;-)
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

it works :-D
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to install XnView on sidux with KDE 4.3.1

Post by xnview »

300st wrote:many thanks for your reply. Funny: i have downloaded and tried the new XnViewMP (0.20 I think). The bad news: It won't work on my machine.
What's happened??
Pierre.
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Hi Pierre,

it seems, that it is a library-problem. I have tested it on the new machine (sidux, KDE 4.X) and on one of my old machines (sidux, KDE 3.5.x)
On the new machine it doesn't work. The error-messages and infos are here:

(I am talking about version beta 0.20 XnViewMP, downloaded today again [29.09.2009] to be sure to have the newest version)
(#user# is not the real name, its only anomyzed)

#user#@siduxbox:~/Desktop/XnViewMP$ ls -l
insgesamt 35092
-rw-r--r-- 1 #user# #user# 3945 2. Dez 2008 country.txt
drwxr-xr-x 2 #user# #user# 4096 17. Okt 2008 language
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libphononXn.so -> libphononXn.so.4.3.1
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libphononXn.so.4 -> libphononXn.so.4.3.1
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libphononXn.so.4.3 -> libphononXn.so.4.3.1
-rwxr-xr-x 1 #user# #user# 320384 11. Sep 17:05 libphononXn.so.4.3.1
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libQtCoreXn.so -> libQtCoreXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libQtCoreXn.so.4 -> libQtCoreXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 20 25. Sep 12:38 libQtCoreXn.so.4.5 -> libQtCoreXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 2407748 11. Sep 17:05 libQtCoreXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 19 25. Sep 12:38 libQtGuiXn.so -> libQtGuiXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 19 25. Sep 12:38 libQtGuiXn.so.4 -> libQtGuiXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 19 25. Sep 12:38 libQtGuiXn.so.4.5 -> libQtGuiXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 10265868 11. Sep 17:05 libQtGuiXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 23 25. Sep 12:38 libQtNetworkXn.so -> libQtNetworkXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 23 25. Sep 12:38 libQtNetworkXn.so.4 -> libQtNetworkXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 23 25. Sep 12:38 libQtNetworkXn.so.4.5 -> libQtNetworkXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 1191116 11. Sep 17:05 libQtNetworkXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 22 25. Sep 12:38 libQtWebKitXn.so -> libQtWebKitXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 22 25. Sep 12:38 libQtWebKitXn.so.4 -> libQtWebKitXn.so.4.5.2
lrwxrwxrwx 1 #user# #user# 22 25. Sep 12:38 libQtWebKitXn.so.4.5 -> libQtWebKitXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 16364908 11. Sep 17:05 libQtWebKitXn.so.4.5.2
drwxr-xr-x 2 #user# #user# 4096 25. Sep 12:43 phonon_backend
drwxr-xr-x 2 #user# #user# 4096 25. Sep 14:24 Plugins#user#@siduxbox:~/Desktop/XnViewMP$
-rwxr-xr-x 1 #user# #user# 5286528 25. Sep 12:42 xnview
-rw-r--r-- 1 #user# #user# 2341 11. Jan 2008 xnview.png
-rwxr-xr-x 1 #user# #user# 61 22. Okt 2008 xnview.sh

#user#@siduxbox:~/Desktop/XnViewMP$ ./xnview.sh
./xnview: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

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

On my old siduxbox:
CPU[AMD Athlon XP 2600+ clocked at 1920.431 Mhz] Kernel[Linux 2.6.27-10.slh.1-sidux-686 i686] Up[-9min-] Mem[-96.8/1011.1MB-] HDD[-80GB(61%used)-] Procs[-93-] Client[Shell]

#user#@oldsiduxbox:~/Desktop/XnViewMP$ ls -l
insgesamt 124669
-rw-r--r-- 1 #user# #user# 3945 29. Sep 17:36 country.txt
drwxr-xr-x 2 #user# #user# 80 29. Sep 17:36 language
-rwxr-xr-x 1 #user# #user# 320384 29. Sep 17:36 libphononXn.so
-rwxr-xr-x 1 #user# #user# 320384 29. Sep 17:36 libphononXn.so.4
-rwxr-xr-x 1 #user# #user# 320384 29. Sep 17:36 libphononXn.so.4.3
-rwxr-xr-x 1 #user# #user# 320384 29. Sep 17:36 libphononXn.so.4.3.1
-rwxr-xr-x 1 #user# #user# 2407748 29. Sep 17:36 libQtCoreXn.so
-rwxr-xr-x 1 #user# #user# 2407748 29. Sep 17:36 libQtCoreXn.so.4
-rwxr-xr-x 1 #user# #user# 2407748 29. Sep 17:36 libQtCoreXn.so.4.5
-rwxr-xr-x 1 #user# #user# 2407748 29. Sep 17:36 libQtCoreXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 10265868 29. Sep 17:36 libQtGuiXn.so
-rwxr-xr-x 1 #user# #user# 10265868 29. Sep 17:36 libQtGuiXn.so.4
-rwxr-xr-x 1 #user# #user# 10265868 29. Sep 17:36 libQtGuiXn.so.4.5
-rwxr-xr-x 1 #user# #user# 10265868 29. Sep 17:36 libQtGuiXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 1191116 29. Sep 17:36 libQtNetworkXn.so
-rwxr-xr-x 1 #user# #user# 1191116 29. Sep 17:36 libQtNetworkXn.so.4
-rwxr-xr-x 1 #user# #user# 1191116 29. Sep 17:36 libQtNetworkXn.so.4.5
-rwxr-xr-x 1 #user# #user# 1191116 29. Sep 17:36 libQtNetworkXn.so.4.5.2
-rwxr-xr-x 1 #user# #user# 16364908 29. Sep 17:36 libQtWebKitXn.so
-rwxr-xr-x 1 #user# #user# 16364908 29. Sep 17:36 libQtWebKitXn.so.4
-rwxr-xr-x 1 #user# #user# 16364908 29. Sep 17:36 libQtWebKitXn.so.4.5
-rwxr-xr-x 1 #user# #user# 16364908 29. Sep 17:36 libQtWebKitXn.so.4.5.2
drwxr-xr-x 2 #user# #user# 88 29. Sep 17:36 phonon_backend
drwxr-xr-x 2 #user# #user# 80 29. Sep 17:36 Plugins
-rwxr-xr-x 1 #user# #user# 5286528 29. Sep 17:36 xnview
-rw-r--r-- 1 #user# #user# 2341 29. Sep 17:36 xnview.png
-rwxr-xr-x 1 #user# #user# 61 29. Sep 17:36 xnview.sh


There it works fine with the nativ code.





If you want, I can test it also on an old SuSe 10.2, a Mac (uhh, I haven't set it up. but I plan to install a mac os v9 [sherlock] on a powermac g4, but I think this mashine is to old to be of interest) and on an windows xp, sp3. but i think, you have enough feedback about win xp :-) )

With best regards

300st
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to install XnView on sidux with KDE 4.3.1

Post by xnview »

300st wrote: it seems, that it is a library-problem. I have tested it on the new machine (sidux, KDE 4.X) and on one of my old machines (sidux, KDE 3.5.x)
On the new machine it doesn't work. The error-messages and infos are here:
Yes, you need to install libgthread
Pierre.
300st
Posts: 7
Joined: Sat Sep 26, 2009 3:51 pm

Re: How to install XnView on sidux with KDE 4.3.1

Post by 300st »

Thank you, I will try this.