Unsolved

This post is more than 5 years old

15 Posts

5264

December 5th, 2004 13:00

How do I use the ./configure command in terminal?

Hello, In Linux when I need to install programs I'm not sure how to use the ./configure command. When I get to the step were I need to use ./configure I just enter ./configure and it says it dosent recognize the command. Do I have to add any other bits to the command or say what kernel I'm using? All the previous steps work I just need to know how to use it.

7 Posts

December 7th, 2004 12:00

Your current directory has to have a file named "configure" and it has to be executable. Then it should work.

To find out whether there is a file "configure" in your current directory, type "ls", and examine the list of files you see on the screen. If "configure" is there, type "ls -l configure" to see whether it is executable --- the 3rd column of the long listing has "x" if it is.

If there is no "configure" file in your current directory, look for a directory that has one. To see what directory you're in, type "pwd". To change directories, type "cd".

Greg

16 Posts

December 7th, 2004 18:00

And configure is not a step in every program build. Sometimes, you just need to do make and make install, and sometimes just make and then manually copy a file or two to a final location and change them to being executable. Check the instructions each time for building each program.

15 Posts

December 8th, 2004 16:00

thnx  for the help!!  its helped alot.
No Events found!

Top