View previous topic :: View next topic |
Author |
Message |
thomasjb Apprentice
Joined: 26 May 2002 Posts: 176 Location: Beijing
|
Posted: Mon May 05, 2003 3:17 am Post subject: make.conf and compiling source "by hand" |
|
|
this might be kind of a stupid question, but hopefully some kind soul is willing to help me out anyways.
when i compile source through portage/emerge i have "use flags" to control if support for xxx will be compiled into the app during emerge or not.
if i would compile source "by hand" will all possible support be compiled into the app as default or would none? how could i control it?
thanks for any help.
thomas. |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Mon May 05, 2003 3:20 am Post subject: |
|
|
if you compile it by hand, then the gentoo use flags are not controlling what features will be compiled.
to read what kind of features you can enable/disable, you need to read the included documentation of the source-file. often you see there, what you can enable and what disable. mostly it is done by command-line switches when you do a ./configure or a make ....
cheers
SteveB |
|
Back to top |
|
|
winfred n00b
Joined: 29 Jan 2003 Posts: 5 Location: Taiwan
|
|
Back to top |
|
|
StuBear Apprentice
Joined: 26 Feb 2003 Posts: 157 Location: Melbourne,AUSTRALIA
|
Posted: Mon May 05, 2003 6:16 am Post subject: |
|
|
most packages have a configure script that will check for installed libraries etc needed for the program.
Generally all you have to do is Code: | ./configure
make
make install | to compile your package.
Often configure script comes with a bunch of options, you can usually see these by running
This will show you the --enable-gnome etc flags that this version of configure understands and uses |
|
Back to top |
|
|
thomasjb Apprentice
Joined: 26 May 2002 Posts: 176 Location: Beijing
|
Posted: Mon May 05, 2003 7:44 am Post subject: |
|
|
thanks a lot, StuBear, winfred and steveb. very helpful indead! |
|
Back to top |
|
|
|