LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "Access denied" error when "./configure" (https://www.linuxquestions.org/questions/linux-software-2/access-denied-error-when-configure-832147/)

Cassanova 09-14-2010 02:35 PM

"Access denied" error when "./configure"
 
Okay. this is a problem I've had for a while, and I think I'm just getting around to actually asking for help. I cannot install files from source (tar.bz, tar.bz2, tar.gz, etc) my latest attempt began at tuxfiles. following the 'tutorial', if you will, I managed to unpack the files; but when it came to the ./configure step, I got the following error:
Quote:

zsh: no such file or directory: ./configure
Here I figured different distros, slight variances... so instead I tried putting a space in the command (./ configure), and got this error

Quote:

zsh: permission denied: ./
so finally I tried both ./configure and ./ configure as su and I still got the same errors... this is the same problem that I've always had when installing from source. Can anyone help? I am using Fedora 12. Any help is appreciated.

MS3FGX 09-14-2010 02:46 PM

Is "configure" executable? Try something like "chmod +x ./configure" and then re-run configure.

For future reference, putting "./" before a file or program means that the file exists in the current directory. Your second command "./ configure" therefore is total gibberish to the shell, it thinks you are trying to run the current directory itself, which of course makes no sense.

evo2 09-14-2010 08:40 PM

I guess you are not cd'ing into the directory. Can you see the configure script when you do an ls?

Evo2.

Cassanova 09-20-2010 10:11 AM

@ MS3FGX
in attempting to chmod, I ran into a new problem: I recieve an error saying
Code:

[9:52 What is thy bidding?]~/Downloads/tmpuz/mupen64-0.5% chmod ./configure
chmod: missing operand after `./configure'

However if using chmod -x i get an error saying
Code:

[9:53 What is thy bidding?]~/Downloads/tmpuz/mupen64-0.5% chmod -x ./configure
chmod: cannot access `./configure': No such file or directory

all in all, I'm very confused here. thank you all for your continued patience.

crts 09-20-2010 10:29 AM

Quote:

Originally Posted by Cassanova (Post 4103398)
@ MS3FGX
in attempting to chmod, I ran into a new problem: I recieve an error saying
Code:

[9:52 What is thy bidding?]~/Downloads/tmpuz/mupen64-0.5% chmod ./configure
chmod: missing operand after `./configure'

However if using chmod -x i get an error saying
Code:

[9:53 What is thy bidding?]~/Downloads/tmpuz/mupen64-0.5% chmod -x ./configure
chmod: cannot access `./configure': No such file or directory

all in all, I'm very confused here. thank you all for your continued patience.

Hi,

I just downloaded the tarball. As it seems you downloaded the compiled version of it. Just cd into the directory and type
Code:

./mupen64
If you want to compile it then download the source from here:
http://www.emutalk.net/showthread.php?t=29643

TobiSGD 09-20-2010 10:36 AM

First, if you are given a command to execute, you should type it exactly as given to you.
Second, seems to me that no configure-script is in your current folder. This can have two reasons:
1. You are not in the correct directory.
2. The program you want to compile simply has no configure-script. In this case it needs not to be configured and you can omit this step.

@crts: Sorry, saw your post too late.

Cassanova 09-21-2010 12:18 AM

Okay, upon further study, I've found that indeed, @TobiSGD was quite right, and the files had no configure script. It seems unlikely that virtually all the tar.xx files I've ever downloaded, did not have them (I say that because I've Downloaded A LOT of tar.xx files), but indeed, it seems to be the case. I have since installed (successfully) 3 separate tar archives, and indeed those DID have a configure script. Thank you all for your patience with my lack of proper study. But I learned something from it so that kinda makes up for it! :)

I don't know whether or not to mark this as 'solved', seeing as it really shouldn't have been a problem in the first place. but just to be safe, I think I will thanks again for the help


All times are GMT -5. The time now is 01:24 AM.