How to run ./Configure?!? Someone please try help!

Please Somone help me!!!

I have been trying to set up SDL_GFX for 2 days & it feels like ive just hit a brick wall!!!

Every tutorial I look at says for me to run "./Configure" then "Make" then "Make Install"!
How on earth do I run it?!?!?
some tutorials say "Type './Configure'" Where do I type it?!?!?!

Someone please help me!!

Thanks in advance!
Last edited on
I don't know specifically about SDL_GFX, but usually when you install this type of software, the Configure script will be in the directory where the software had been installed. Do you not see it?
Thanks for reply! :)

By install, do you mean just when I downloaded it?

There is a file in there called "Configure", but when I double click it, it asks me what program I would like to open it with, & i have no Idea what to open it with! I've opened it with Word & it seems to be alot of code, but how do I run it then, if thats the program I need to run?

Thanks! :)
Last edited on
It would seem that you are on a Windows box. If this is true, you will need to install Cygwin (http://www.cygwin.com/), or MingWin (www.mingw.org/). I use Cygwin, and it rocks!
Heyy!!
I Really appricate the advice! But what do I do once I have installed Cygwin?

Thank You!! :)
configure is a script which creat make files. this is created by autotools.

http://en.wikipedia.org/wiki/GNU_build_system


This makes the source code compilation and installation very easy. so what you do is this:

Install cygwin as said above.
unpack the source or whatever you want to install/compile
go in that directory. So if you have unpacked it in:

/home/JesusAlex/SFL, cd to this directory

then just do this:
./configure

which will create a make file for the project.

then run:
make

this will compile your soruce, make sure that make is installed.

then run:
make install

this will install all the libraries and headers at proper places.

this will generally install it in

/usr/local/lib
/usr/local/bin

if you want to install it at some other place do this:

./configure --prefix=<new path to install>

to see all other options do this:

./configure --help

I feel like I have mental problems...

Thank you writetonsharma! (& everyone else!)
Your reply has made the most sense yet, but I still dont fully get it!
I've installed "Cygwin". But my brain for some reason is having trouble understanding what that next step IS!!

At first I thought you might mean, open Cygwin, then type the directory of the folder with "/configure" at the end!
my example "C:\Program Files\CodeBlocks\SDL-devel-1.2.14-mingw32\SDL_gfx-2.0.22\SDL_gfx-2.0.22\configure"
but that failed!

I don't understand what *cd* means, when you wrote, "cd to this directory"!

can you just explain, as if to a child, JUST how to get that "./configure" part to work! because Im Seriously Not Getting it!
Cygwin is a Unix/Linux emulator. You have to start a shell process by clicking on the cygwin.bat file in the cygwin installation directory. From within that shell, type:

cd /home/JesusAlex/SFL

./Configure

The cd command is the change directory command of Cygwin. If you unpacked the SDL_GFX in /home/JesusAlex/SFL, this will put you in that directory.

Does that make sense?
and cd is on windows too!! when you open the command prompt.


which compiler you have been using till now as it looks you not worked on unix?
If its Visual Studio only, then why dont you use SFL with VS. Although I dont know if it can be used with VS or not.
That makes Wonderful sense! :D
The only problem is, thats not the exact directory!
How do I work it out?
I thought it was "C:\Program Files\CodeBlocks\SDL-devel-1.2.14-mingw32\SDL_gfx-2.0.22\SDL_gfx-2.0.22\"
But judging by the fact that you said it starts with "/home" im guessing im wrong!
How do I work out the directory? Thats ALL I need to know i think & then I am One Happy Bunny! :D

Extreme thanks btw! :)
I've been using Code::Block, I got Visual Studio C++, but aint used it much!

I know a load of C++, but it really confuses me when, after all the stuff I know, when you guys talk about certain stuff, I have NO IDEA what your talking about!

Thanks! :)
YEESSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!!!

Successsss!!!! :D :D :D

Thanks SOO MUCCHH guys for your help! :D
cd /cygdrive/<rest of the path>
Topic archived. No new replies allowed.