LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-11-2005, 12:00 AM   #1
elekt
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake
Posts: 23

Rep: Reputation: 15
Still Have Problems with MDK 10.1


hi

itś me again this new problems are:

cant compile anything!!!! when i do a ./configure no matter if i'm root or not i get this message

[genma@ayane dosbox-0.61]$ ./configure
bash: ./configure: /bin/sh: bad interpreter: Permission denied
[genma@ayane dosbox-0.61]$


is the same with .bin .sh or .run files


what can i do?
 
Old 01-11-2005, 12:23 AM   #2
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
sounds like you untarred the file ass root and now are trying to compile it under your account which you cant do since root owns the files now.
 
Old 01-11-2005, 12:23 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
*bin, *sh and *run files are essentially programs in a shell script. You have to make them executable first before running them. So you would do something like,

$chmod +x packagename.sh
$./packagname.sh
or
$sh packagename.sh
 
Old 01-11-2005, 12:27 AM   #4
elekt
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake
Posts: 23

Original Poster
Rep: Reputation: 15
tnx for the replies but thats not the problem

i also tried to compile in the root directory but got the same result also ; i forgot to post the message i got when i try to run a bin , sh or run file

[genma@ayane Limewirepro]$ ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: /bin/sh: bad interpreter: Permission denied
[genma@ayane Limewirepro]$

and remember there is no difference if i'm root or not
 
Old 01-11-2005, 12:34 AM   #5
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
look at the first line in the file and see if it looks like #!/bin/bash

If it does then you dont have bash installed.

urpmi bash

to install it.
 
Old 01-11-2005, 12:42 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
It's not that they don't have bash installed, the files are just not executable and you need to follow the example in my post to make them executable before you run them. As for installing LimeWire take a look at this thread. Go to post 30, you may find it useful.
 
Old 01-11-2005, 12:46 AM   #7
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
okie dokie
 
Old 01-11-2005, 10:36 AM   #8
elekt
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake
Posts: 23

Original Poster
Rep: Reputation: 15
tnx again but i just use limewire.bin as an example my problems is generalized to other files too is not only limewire. i beleive there is something bad in bash but i can do a urpmi bash cause is already installed. the configure file in dosbox is an example too i can't compile anything or intalling any bin , run o r sh file i got the same freaking error no matter if i'm root no matter if i do a chmod 777 nameofile i just can't run or caompile non of this files.

back in mdk 10 limewire was installed just by 2 clicks and the other files worked smoothly
 
Old 01-11-2005, 11:39 AM   #9
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
try 'sh limewire.bin' if you still have problems then your install is bad.
 
Old 01-19-2005, 02:20 AM   #10
glennt11
LQ Newbie
 
Registered: Aug 2004
Location: NY
Distribution: Ubuntu,Red Hat,Centos 5
Posts: 29

Rep: Reputation: 0
Thumbs up hope this works for you

had the same exact error you had...nothing I tried to compile worked....until I did this.

Go and check your /etc/fstab file, make sure it is set to defaults on the root partition '/' . Mine was set to something like user_xattr, and others, it wouldn't allow me(as a user) or root to compile because I didn't have permissions (oddly enough) when it was mounted during boot. So try that out and hopefully it works for you like it worked for me.

*Side note*
I use Suse 9.2 Pro(yay Novell finally released it to the mirrors!!!!). Just saying that because my profile only says Slack 10 when I use more than just that one....really need to update that sometime

As far as the Limewire binary not being executable, I guess it's how you download it, I haven't had many troubles downloading and running a *.bin or *.run file. What I can tell you is as soon as I did that and rebooted I could compile again
 
Old 01-26-2005, 01:00 PM   #11
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 18.2 (Cinnamon)
Posts: 225

Rep: Reputation: 19
Thumbs up

glennt is right.

for me, i had backed up my stuff onto a mount point called "/data1" and was trying to run compiles on that mount point. however, my main partition was on another hard drive. /etc/fstab said something about "noauto,user" which i think means that it's not automounted, but that a user will mount it. i simply switched that to "defaults" for the /data1 entry in /etc/fstab and then rebooted..

all of my compile problems went away. this also seemed to solve another problem i was getting with an error message something similar to:

cannot run C compiled programs.
 
  


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
Problems with ipw2200 and MDK 10.1 henriette Linux - Wireless Networking 1 03-08-2005 01:00 PM
MDK 10.1 problems kvtournh Mandriva 3 09-22-2004 03:16 PM
What's with all the MDK 10.0 problems? Micro420 Mandriva 10 07-05-2004 08:25 AM
mdk 10 lan problems hgb Linux - Networking 10 06-17-2004 11:56 PM
Problems with MDK 10.0 dominant Mandriva 17 03-14-2004 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:55 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