Solaris install problem

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

Moderators: XnTriq, helmut, xnview

dlane
Posts: 2
Joined: Wed Sep 22, 2004 6:20 pm
Location: Canada

Solaris install problem

Post by dlane »

I'm having trouble installing V1.68 on solaris 9. When typing:

install

in the untar directory it reports:

install: test: unknown operator: /sbin/uname

When typing /sbin/uname it reports "SunOS". I looked at the install script and am baffled why it doesn't work.

Any ideas? ... Dave
User avatar
xnview
Author of XnView
Posts: 44929
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Solaris install problem

Post by xnview »

dlane wrote:I'm having trouble installing V1.68 on solaris 9. When typing:

install

in the untar directory it reports:

install: test: unknown operator: /sbin/uname

When typing /sbin/uname it reports "SunOS". I looked at the install script and am baffled why it doesn't work.

Any ideas? ... Dave
And by using sh install?
Pierre.
dlane
Posts: 2
Joined: Wed Sep 22, 2004 6:20 pm
Location: Canada

Post by dlane »

You said:

>And by using sh install?

The sh shell is identified in the script, but I did also try:

./install
sh install

However I just found the problem by trying

ksh install

This worked, so it appears as though the script is not sh compable (at least on Solaris 9). Also note that Solaris 9 seems to moved the app-defaults directory since /usr/lib/X11/app-defaults does not exist.

Cheers, Dave