Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-11-2005, 12:00 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Distribution: Mandrake
Posts: 23
Rep:
|
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?
|
|
|
01-11-2005, 12:23 AM
|
#2
|
Member
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369
Rep:
|
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.
|
|
|
01-11-2005, 12:23 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
*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
|
|
|
01-11-2005, 12:27 AM
|
#4
|
LQ Newbie
Registered: Aug 2004
Distribution: Mandrake
Posts: 23
Original Poster
Rep:
|
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
|
|
|
01-11-2005, 12:34 AM
|
#5
|
Member
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369
Rep:
|
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.
|
|
|
01-11-2005, 12:42 AM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
01-11-2005, 12:46 AM
|
#7
|
Member
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369
Rep:
|
okie dokie
|
|
|
01-11-2005, 10:36 AM
|
#8
|
LQ Newbie
Registered: Aug 2004
Distribution: Mandrake
Posts: 23
Original Poster
Rep:
|
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
|
|
|
01-11-2005, 11:39 AM
|
#9
|
Member
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369
Rep:
|
try 'sh limewire.bin' if you still have problems then your install is bad.
|
|
|
01-19-2005, 02:20 AM
|
#10
|
LQ Newbie
Registered: Aug 2004
Location: NY
Distribution: Ubuntu,Red Hat,Centos 5
Posts: 29
Rep:
|
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
|
|
|
01-26-2005, 01:00 PM
|
#11
|
Member
Registered: Dec 2003
Distribution: Linux Mint 21 (Cinnamon)
Posts: 234
Rep:
|
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 09:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|