Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make.conf and compiling source "by hand"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
thomasjb
Apprentice
Apprentice


Joined: 26 May 2002
Posts: 176
Location: Beijing

PostPosted: Mon May 05, 2003 3:17 am    Post subject: make.conf and compiling source "by hand" Reply with quote

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
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon May 05, 2003 3:20 am    Post subject: Reply with quote

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
View user's profile Send private message
winfred
n00b
n00b


Joined: 29 Jan 2003
Posts: 5
Location: Taiwan

PostPosted: Mon May 05, 2003 5:49 am    Post subject: Reply with quote

I think maybe ebuild is what you need.

https://forums.gentoo.org/viewtopic.php?t=50352
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Mon May 05, 2003 6:16 am    Post subject: Reply with quote

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
Code:
./configure --help

This will show you the --enable-gnome etc flags that this version of configure understands and uses
Back to top
View user's profile Send private message
thomasjb
Apprentice
Apprentice


Joined: 26 May 2002
Posts: 176
Location: Beijing

PostPosted: Mon May 05, 2003 7:44 am    Post subject: Reply with quote

thanks a lot, StuBear, winfred and steveb. very helpful indead!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum