LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   console not cooperating (https://www.linuxquestions.org/questions/linux-software-2/console-not-cooperating-41063/)

ocularbob 01-11-2003 03:00 AM

console not cooperating
 
I've just gone from RH8 to SuSE8.1

The console in suse gives an error "/bin/sh: bad interpreter: Permission denied" when i "./configure"
i was in a directory containing configure files.

Also have a general question what problems should i be looking fore if I've never gotten a "make" type install to work. i remeber seeing something about setting envioronment variables. What if anything is this about?

thanks alot

DavidPhillips 01-11-2003 10:59 AM

if it works as root it's just a permissions problem.

ocularbob 01-11-2003 11:36 AM

it does not work as root.

DavidPhillips 01-11-2003 11:54 AM

see what you have here


ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Dec 17 16:03 /bin/sh -> bash

ls -l /bin/bash
-rwxr-xr-x 1 root root 541096 Apr 12 2002 /bin/bash

ocularbob 01-11-2003 12:15 PM

scott@bigblack:~> ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2003-01-09 14:10 /bin/sh -> bash
scott@bigblack:~> ls -l /bin/bash
-rwxr-xr-x 1 root root 477132 2002-09-09 15:07 /bin/bash
scott@bigblack:~>

looks right huh?

ocularbob 01-11-2003 12:28 PM

I took a look at /bin/bash and /bin/sh in konqueror, and /bin/sh is just a link to /bin/bash . Do i remember a bash2 from RH8? can or should i install this in suse?

DavidPhillips 01-11-2003 12:48 PM

it seems like there must be something wrong with the configure script


try to execute a simple script
create a file that contains something like this


#!/bin/sh
echo Hello


then set it's permissions

chmod 755 filename

then try it

./filename


All times are GMT -5. The time now is 10:18 PM.