LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Still Have Problems with MDK 10.1 (https://www.linuxquestions.org/questions/mandriva-30/still-have-problems-with-mdk-10-1-a-276384/)

elekt 01-11-2005 12:00 AM

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?

sgrayban 01-11-2005 12:23 AM

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.

reddazz 01-11-2005 12:23 AM

*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

elekt 01-11-2005 12:27 AM

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

sgrayban 01-11-2005 12:34 AM

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.

reddazz 01-11-2005 12:42 AM

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.

sgrayban 01-11-2005 12:46 AM

okie dokie

elekt 01-11-2005 10:36 AM

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

sgrayban 01-11-2005 11:39 AM

try 'sh limewire.bin' if you still have problems then your install is bad.

glennt11 01-19-2005 02:20 AM

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

wmeler 01-26-2005 01:00 PM

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.


All times are GMT -5. The time now is 08:54 AM.