Re: How do you install an sh program? -- follow-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benjamin Sher wrote:
Paul Howarth wrote:

Benjamin Sher wrote:

Dear friends:

I assure you that the Readme.txt file for XnView does NOT have any installation instructions. That would be the first place I would check.



Just run the "install" script (as root).

# ./install

Paul.

Dear Paul:

That's precisely what I tried to do originally, but to no avail. What does this error message mean, please?

Benjamin

[sher@localhost XnView-1.68-x86-unknown-linux2.x-static]$ su
Password:
[root@localhost XnView-1.68-x86-unknown-linux2.x-static]# ls
app-defaults  Formats.txt  lib  nconvert.sh  Usage.txt     xnview.sh
bin           install      man  ReadMe.txt   WhatsNew.txt
[root@localhost XnView-1.68-x86-unknown-linux2.x-static]# ./install
 OS  : Linux, version 2.6.9-5.0.5.EL
./install: line 26: syntax error near unexpected token `('
./install: line 26: `   uid=*(root)*)'
[root@localhost XnView-1.68-x86-unknown-linux2.x-static]#

It means the author of the install script doesn't write portable code, or hasn't tried running it himself.

Edit the install script and change the line:

        uid=*(root)*)

to:

        uid=*\(root\)*)

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux