LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ./Configure "Permision Denied" error when atempting to use ./configure command in RH8 (https://www.linuxquestions.org/questions/linux-software-2/configure-permision-denied-error-when-atempting-to-use-configure-command-in-rh8-458952/)

canegames 06-27-2006 08:06 PM

./Configure "Permision Denied" error when atempting to use ./configure command in RH8
 
Hi All,

I am trying to install various software on Red Hat 8.0. When I try to use the ./configure commmand I get "Permission Denied" error. What would cause that and how can I fix it? Thanks

jschiwal 06-27-2006 08:49 PM

Which directory are you trying this in. You might not have execution rights in that partition. You should only need to perform the "make install" phase as root. So the best place to do this is in your HOME directory some place. Create a directory in HOME dedicated to downloading, extracting and compiling the tarballs you want to install.

canegames 06-28-2006 10:31 AM

But I am Root on Red Hat 8.0 It should matter doesn't root have ALL Power? I am trying to install a Python module, PHP5, and a web front end for my mail server.

lazlow 06-28-2006 12:26 PM

Did you get to root by su? If so you need to use "su -". (su space dash). It gives you the roots paths otherwise you just have the users paths.

lazlow

Nylex 06-28-2006 01:14 PM

That shouldn't make a difference though, as you're using ./ to tell the shell that the executable is in the current directory.

You might just want to check that the file is actually executable.

x86processor 06-28-2006 02:07 PM

Quote:

I am trying to install various software on Red Hat 8.0.
Red Hat 8.0 is very, very, very old. What is your hardware? After that Red Hat 9.0, then Fedora Core 1, 2, 3, 4 and now 5 has been released. Please upgrade. Its good to keep your system uptodate.

Recent distros have good package management system for software installation/upgradation.

lazlow 06-28-2006 05:24 PM

Nylex

Your are right, unless something is being called inside the ./configure that is setup to require the su permissions and path (which I have ran into before).

lazlow

canegames 06-28-2006 11:50 PM

Now I get the error: no acceptable cc found in $PATH
 
I use Putty to access my servers via SSH. So no su - is require "I think". Anyways the above mentioned error is what I get now how in the world do you add somehting to the path in linux? I know how to do this in DOS, and Windows but now Linux. Thanks

lazlow 06-29-2006 01:01 AM

Quote:

Originally Posted by canegames
I use Putty to access my servers via SSH. So no su - is require "I think". Anyways the above mentioned error is what I get now how in the world do you add somehting to the path in linux? I know how to do this in DOS, and Windows but now Linux. Thanks

Thats why. When you do things remotely(sp?) you have to have a bunch of things set just right( at least going from xintd and vnc). You might get better results with a new thread like' su over putt/SSH'.

lazlow

Wim Sturkenboom 06-29-2006 01:20 AM

Quote:

Originally Posted by x86processor
Red Hat 8.0 is very, very, very old. What is your hardware? After that Red Hat 9.0, then Fedora Core 1, 2, 3, 4 and now 5 has been released. Please upgrade. Its good to keep your system uptodate.

You can't judge that (although for normal home use you're right). There might be very good reasons to stick to RH8.
I'm still running RH6.2 somewhere without any patches or whatsoever. It's working and it will take me months of testing on a newer distro to make sure that the dedicated HW/SW works correctly.


Quote:

Originally Posted by canegames
I use Putty to access my servers via SSH.

Login as a normal user and su to root from there.

Question: using SSH implies security, so why can root login remotely? Unless you use key authentication, it's still prone to brute force attacks (imho).


All times are GMT -5. The time now is 02:27 PM.