Results 1 to 6 of 6
Thread: ./ problems
Enjoy an ad free experience by logging in. Not a member yet? Register.
I've been trying to install several apps, such as firefox and apache. But here's the deal: according to every tutorial, all i have to do is uncompress and then ./ and the name of the file. But i get this error: "./whatever: permission denied". I googled the problem last night and i couldn't find a bit of info on how to get this fixed. You guys surely know so let me know too. Thanks in advanced.
- Join Date
- Dec 2004
- Rockin' in the USA!!!
If you are compiling these apps do:
cd <dirname> ./configure --<config-options> make make install
Ok, for instance, i went into the apache directory and typed:
[root@00e0295c9f23 httpd-2.0.52]# ./configure bash: ./configure: /bin/sh: bad interpreter: Permission denied
bash: ./configure: /bin/sh: bad interpreter: Permission denied
Looks like either /bin/sh is corrupt or you haven't got execute rights to this.
Log in as root (Cos you won't be able to su)
chmod ug+rx /bin/sh
Ok i'm gonna try that, i'll let you know soon how it went. Thanks a lot man!
And just to clarify, i'm running this commands as root. I've always have.
Hi, i typed that thing you told me and i get the same result. Here's what i typed and the result too:
[root@00e0295c9f23 punisher]# chmod ug+rx /bin/sh [root@00e0295c9f23 punisher]#Code:
[root@00e0295c9f23 firefox-installer]# ./firefox-installer bash: ./firefox-installer: /bin/sh: bad interpreter: Permission denied
I ended up googling the problem and i read that this command gave a bit of info about /bin/sh:
[root@00e0295c9f23 firefox-installer]# ls -l /bin/sh lrwxrwxrwx 1 root root 4 Jan 14 13:27 /bin/sh -> bash*
Forget all this, i just passed the directory extracted to /usr and ran "[root@00e0295c9f23 firefox-installer]# ./firefox-installer" and i got the installation wizard running. Go figure......