LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to use a script? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-a-script-138389/)

jaan kaer 01-25-2004 06:50 AM

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


Baldrick65 01-25-2004 06:56 AM

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

Baldrick

jaan kaer 01-25-2004 07:07 AM

thanks, but how do i make sure the file is executable?
and see:
bash: ./install-ie6.sh: Permission denied

acid_kewpie 01-25-2004 07:09 AM

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

Baldrick65 01-25-2004 07:11 AM

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

jaan kaer 01-25-2004 07:20 AM

thanks obviously that!!
script is running now, let`s see :)

jaan kaer 01-25-2004 07:27 AM

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

acid_kewpie 01-25-2004 08:11 AM

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...

felix2 06-04-2004 12:41 AM

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"

ikaruus 06-30-2004 12:16 PM

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)...


All times are GMT -5. The time now is 06:35 AM.