LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2004, 06:50 AM   #1
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Rep: Reputation: 15
how to use a script?


i have a script for installing ie6 for linux, but how do i use it?

script comes from:
http://bylands.dur.ac.uk/~mh/wine-ie/

trying command "run" or double-clicking doesn't give me any use.
Code:
# run install-ie6.sh
run: unable to exec
 
Old 01-25-2004, 06:56 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Try typing ./install-ie6.sh Also, make sure the file is executable.

Baldrick
 
Old 01-25-2004, 07:07 AM   #3
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
thanks, but how do i make sure the file is executable?
and see:
bash: ./install-ie6.sh: Permission denied
 
Old 01-25-2004, 07:09 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
the file is not executable... which is exactly what that error means. so:

either: "sh install-ie6.sh" OR "chmod +x install-ie6.sh" and then "./install-ie6.sh" as before
 
Old 01-25-2004, 07:11 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
Originally posted by jaan kaer
thanks, but how do i make sure the file is executable?
and see:
bash: ./install-ie6.sh: Permission denied
OK, to make a file executable, use the command chmod +x <filename>. You may have to be root to run the file in any case.

Baldrick
 
Old 01-25-2004, 07:20 AM   #6
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
thanks obviously that!!
script is running now, let`s see
 
Old 01-25-2004, 07:27 AM   #7
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
what is ELF header, it gives me error message about that?

wine: cannot open builtin library for L"C:\\windows\\system\\regsvr32.exe": /usr/lib/wine/wine/regsvr32.exe.so: invalid ELF header
 
Old 01-25-2004, 08:11 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
it's the type of executable. ELF ("Executable Library File" i think) or a.out formats are most common... no idea what the error means though...
 
Old 06-04-2004, 12:41 AM   #9
felix2
LQ Newbie
 
Registered: Jun 2004
Location: manila
Distribution: red hat
Posts: 1

Rep: Reputation: 0
same

i have the same problem when installing ie6.. can anyone help for work around

"wine: cannot open builtin library for 'C:\windows\system\regsvr32.exe': /usr/lib/wine/wine/regsvr32.exe.so: invalid ELF header"
 
Old 06-30-2004, 12:16 PM   #10
ikaruus
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
hmm i nice

i see if i not have same this problem with library .so.0 ELF format ...hmm
have someon any idea where is problem ....
a try inslall another M$ sw and all its right, problem is only if try install IE6 (shit sw)...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 04:19 AM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
creating shell script that executes as root regardless of who runs the script? m3kgt Linux - General 13 06-04-2004 10:23 PM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 12:20 AM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration