7

I tried to install Reaver. The read me file gives a procedure and the first step is to use the following code in the corresponding location.

root@ubuntu:/media/New Volume/reaver-1.4/src# ./configure

This was the result

bash: ./configure: Permission denied

I tried changing the file permission using chmod. But after the command is executed it changes it's permission back to the default one.

5
  • You tried chmod +x ./configure, right?
    – MiJyn
    Apr 30, 2013 at 18:29
  • Yes I tried it, but it shows the same.
    – DDR
    Apr 30, 2013 at 18:34
  • Why don't you copy first the source files to your home directory?
    – user85164
    Apr 30, 2013 at 19:05
  • 3
    its because you're working on your inserted volume directory i think. copy first to your home directory and ./configure there.
    – nickanor
    Apr 30, 2013 at 19:13
  • @nickanor I do this but it won't help
    – Ooker
    Mar 21, 2014 at 17:00

6 Answers 6

7

This happens because you are trying to install from other drives. Copy the content in the home directory then try installing using ./configure. It will work. Also change the permission using chmod a+x -R command.

7

I had this error because I was trying to run the command on a mounted partition that had the "noexec" flag on.

After remounting to remove this flag, everything worked fine. With this command:

sudo mount -o remount,exec /media/MOUNTEDDISKNAME
1
  • This worked for me.
    – jeremiah
    Dec 2, 2014 at 9:35
1

It is possible to you are downloaded and extracted source code with the Windows line ending. Try to use some distribution that containing Unix line endings.

0

Provided the configure file already has execute permission, this happens when the config.log file has been created by another user or inaccessible (either you tried ./configure with sudo or somebody else has run the configure script already). Removing the config.log file should solve this.

0

Sometimes such things happen when you extracting files from gzipped tarball with improper applications or(and) from another user.

In that case "tar -xf ... " solves the problem

4
  • Thanks for your answer @grs444, but did you notice that the question was 7 years old?
    – Kurankat
    Apr 1, 2020 at 2:23
  • does it really matter?
    – grs444
    Apr 1, 2020 at 23:11
  • No, not at all, the person who asked never ticked an answer as the accepted answer. I just wasn't sure you'd noticed.
    – Kurankat
    Apr 2, 2020 at 4:36
  • For the truth - i didn'd. I hope my words would help somebody .. someday)
    – grs444
    Apr 3, 2020 at 11:58
-4

Just use sh ./configure. It will work.

1
  • 1
    sh ./configure will only partially work. You still need permission to compile programs and your solution does not address that.
    – jeremiah
    Dec 2, 2014 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .