View previous topic :: View next topic |
Author |
Message |
chobo n00b
Joined: 11 Aug 2005 Posts: 12
|
Posted: Tue Aug 16, 2005 6:04 pm Post subject: What does ./configure do? |
|
|
Tried to install some kde-themes, and i had to do ./configure in the theme directory
what does that do? and anyway i can undo ./configure? |
|
Back to top |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Tue Aug 16, 2005 6:11 pm Post subject: |
|
|
./configure is part of the Make system, it usually sets the path to some needed binaries, and get various environment variables. I forget exactly where it stores the values, it probably something like .config or someother dot file. If you do an it will show the newest files in the current directory at the bottom of the list. You proabably don't need to undo the ./configure, you can always just run it again and it will overwrite the values. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Aug 16, 2005 6:13 pm Post subject: |
|
|
./configure basically is a script that scans that the dependancies and tools needed for a sussessful comiling are present and work.
It also sets up the initial conditions for the "make" part (what follows ./configure)
The thing is Gentoo automates the
./configure
make
make install
so all you have to do is go "emerge foo"
odd you have to do that, did you try to install manually or let portage take control? _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Gridmark n00b
Joined: 11 Mar 2005 Posts: 22 Location: Dallas
|
Posted: Tue Aug 16, 2005 6:16 pm Post subject: |
|
|
Long answer:
All the configure script does is checks for certin files, variables, headers, libraries, etc related to the compiling of software (i.e. where KDE is installed, what kind of processor you are running, etc).
It's not making any changes to your system. When you're emerge'ing any software and you see something like the following:
Code: |
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
|
That would be the configure script (Actually automake) doing its thing.
Short answer: ./configure is a good thing. Don't worry. _________________ If it aint broke, fix it till it is. |
|
Back to top |
|
|
chobo n00b
Joined: 11 Aug 2005 Posts: 12
|
Posted: Tue Aug 16, 2005 6:26 pm Post subject: |
|
|
well.. i tried "emerge <theme-name>", but portage doesn't detect anything.
I also tried putting the tar file in /usr/portage/distfiles, and typed "emerge <theme-name>" again. It still doesnt detect anything.
Or am i doing something wrong? |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
Posted: Tue Aug 16, 2005 6:42 pm Post subject: |
|
|
You would have to inject the package into portage by setting up a portage overlay, creating an ebuild script and running the digest command on it.
This is probably a lot more work then you want to do to install something like a theme. Just do the ./configure, make, etc, but remember that this may cause problems down the road since portage has no idea that the package exists.
Where did you get this kde theme? In my experience, they usually come as tar.gz files that can be directly installed through the control-panel. |
|
Back to top |
|
|
Sangeki Apprentice
Joined: 23 Apr 2005 Posts: 186
|
Posted: Wed Aug 17, 2005 1:04 am Post subject: |
|
|
opqdan wrote: | they usually come as tar.gz files that can be directly installed through the control-panel. |
Erm, that's true for icon themes but that pretty much about it.
New Styles have to be compiled, like new GTK engines also have to be compiled. |
|
Back to top |
|
|
|