Problems installing XnView 1.68 (Solaris)
Moderators: XnTriq, helmut, xnview
Problems installing XnView 1.68 (Solaris)
I am getting the error "unknown operator" when I run install which has me baffled.
Any ideas what might be going on here appreciated. TIA
XnView-1.68-sparc-sun-solaris2.x> ./install
./install: test: unknown operator /sbin/uname
XnView-1.68-sparc-sun-solaris2.x> /sbin/uname
SunOS
Any ideas what might be going on here appreciated. TIA
XnView-1.68-sparc-sun-solaris2.x> ./install
./install: test: unknown operator /sbin/uname
XnView-1.68-sparc-sun-solaris2.x> /sbin/uname
SunOS
Me too but in linux
I downloaded XnView-1.68-x86-unknown-linux2.x-static and extracted it. I then run sh install and this error comes up. I'm running Slackware 9.1 current by the way.
sh install
OS : Linux, version 2.4.25
install: line 26: syntax error near unexpected token `('
install: line 26: ` uid=*(root)*)'
sh install
OS : Linux, version 2.4.25
install: line 26: syntax error near unexpected token `('
install: line 26: ` uid=*(root)*)'
-
- Author of XnView
- Posts: 44930
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problems installing XnView 1.68 (Solaris)
Try /sbin/uname on a terminal?Philip wrote:I am getting the error "unknown operator" when I run install which has me baffled.
Any ideas what might be going on here appreciated. TIA
XnView-1.68-sparc-sun-solaris2.x> ./install
./install: test: unknown operator /sbin/uname
XnView-1.68-sparc-sun-solaris2.x> /sbin/uname
SunOS
Pierre.
-
- Author of XnView
- Posts: 44930
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 124
- Joined: Wed Oct 15, 2003 2:51 am
Re: Me too but in linux
Good to see Linux (and UNIX-like systems) activities here!!!!!
Of course, this isn't a "beautiful" solution, but works! The best will be when Pierre fixes this script.
By the way, I use Slackware 9.0.
I had this problem. But this piece of code is just for checking if I am root. I was already root, and I know that I was root, so I just removed these lines and tried to run again.Guest wrote:I downloaded XnView-1.68-x86-unknown-linux2.x-static and extracted it. I then run sh install and this error comes up. I'm running Slackware 9.1 current by the way.
sh install
OS : Linux, version 2.4.25
install: line 26: syntax error near unexpected token `('
install: line 26: ` uid=*(root)*)'
Of course, this isn't a "beautiful" solution, but works! The best will be when Pierre fixes this script.
By the way, I use Slackware 9.0.
Code: Select all
case "`id`" in
uid=*(root)*)
;;
*)
echo "You must be root \!"
exit
esac
Fixed, sort of
I can get the script to run. It was simply changing it to korn shell.
I changed #!/bin/sh to #!/bin/ksh and it ran and installed everything......but.... now it is not executable because I get an error
ld.so.1: ./xnview: fatal: relocation error: file /usr/local/lib/libformat.so: symbol __sqrtf: referenced symbol not found
???? I am going to try to go back to an earlier version of xnview (if I can find one). Where might I find a previous version.....I think my old version was 1.2 which was quite good enough and definitely better than no xnview at all.
Phil
I changed #!/bin/sh to #!/bin/ksh and it ran and installed everything......but.... now it is not executable because I get an error
ld.so.1: ./xnview: fatal: relocation error: file /usr/local/lib/libformat.so: symbol __sqrtf: referenced symbol not found
???? I am going to try to go back to an earlier version of xnview (if I can find one). Where might I find a previous version.....I think my old version was 1.2 which was quite good enough and definitely better than no xnview at all.
Phil
-
- Author of XnView
- Posts: 44930
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Fixed, sort of
Strange, if you make uname -a, could you tell me the result?Philip wrote:I can get the script to run. It was simply changing it to korn shell.
I changed #!/bin/sh to #!/bin/ksh and it ran and installed everything......but.... now it is not executable because I get an error
ld.so.1: ./xnview: fatal: relocation error: file /usr/local/lib/libformat.so: symbol __sqrtf: referenced symbol not found
And i can send you old version.
Pierre.
Re: Fixed, sort of
Hi Pierre,xnview wrote:Strange, if you make uname -a, could you tell me the result?Philip wrote:I can get the script to run. It was simply changing it to korn shell.
I changed #!/bin/sh to #!/bin/ksh and it ran and installed everything......but.... now it is not executable because I get an error
ld.so.1: ./xnview: fatal: relocation error: file /usr/local/lib/libformat.so: symbol __sqrtf: referenced symbol not found
And i can send you old version.
Pierre.
where can I download an older version for Solaris Sparc. I have the same problem.
SunOS lrsun020 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-880
Thanks
-
- Author of XnView
- Posts: 44930
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Fixed, sort of
Very strange, i have tested on 5.8 OS.Horst wrote:where can I download an older version for Solaris Sparc. I have the same problem.
SunOS lrsun020 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-880
Old version is available here:
http://www.xnview.com/download/old/
Pierre.
Re: Fixed, sort of
Thanks, this version works fine.xnview wrote:Very strange, i have tested on 5.8 OS.Horst wrote:where can I download an older version for Solaris Sparc. I have the same problem.
SunOS lrsun020 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-880
Old version is available here:
http://www.xnview.com/download/old/
Pierre.
Horst