| View previous topic :: View next topic |
| Author |
Message |
apinsard n00b


Joined: 24 Mar 2012 Posts: 74 Location: France
|
Posted: Wed Mar 28, 2012 7:10 pm Post subject: [SOLVED] Error in my default USE flags ? |
|
|
Hi,
I'm new to Gentoo, I installed it to test it while browsing the handbook. But I scheduled to reinstall it in a better way when I'll feel comfortable enough.
I'm currently reading about the USE flags (Here exactly)
So I checked out in /etc/make.profile/ but I didn't found any make.defaults
| Code: |
Gentoo make.profile # ls -l
total 32
drwxr-xr-x 4 portage portage 4096 Jan 31 14:42 desktop
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 developer
-rw-r--r-- 1 portage portage 2 Aug 17 2009 eapi
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 no-multilib
-rw-r--r-- 1 portage portage 29 Aug 6 2009 parent
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 selinux
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 server
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 x32
|
I checked out eapi and parent files and I found two paths in "parent". I went to these paths and I found a make.defaults in each directory :
| Code: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/releases/make.defaults,v 1.2 2008/07/29 14:47:28 wolf31o2 Exp $
# These USE flags are what is common between the various sub-profiles. Stages 2
# and 3 are built against these, so be careful what you add.
USE="acl cups gdbm gpm nptl nptlonly sysfs unicode" |
And
| Code: | # Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/releases/10.0/make.defaults,v 1.2 2011/02/13 16:53:40 arfrever Exp $
# Adding this one, since it makes sense.
USE="bzip2" |
Is it one of them ? Isn't it a bit short ? (The one given in the handbook is much longer)
Thank you in advance !
Last edited by apinsard on Wed Mar 28, 2012 8:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Wed Mar 28, 2012 7:20 pm Post subject: |
|
|
It depends on your profile | Code: | | eselect profile list |
In my case it's set to | Code: | | [3] default/linux/amd64/10.0/desktop * |
Therefore my defaults are derived from | Code: | | /usr/portage/profiles/targets/desktop/make.defaults |
Hope that helps  |
|
| Back to top |
|
 |
apinsard n00b


Joined: 24 Mar 2012 Posts: 74 Location: France
|
Posted: Wed Mar 28, 2012 7:24 pm Post subject: |
|
|
Thanks for your answer, in my case, this is :
| Code: | | [1] default/linux/amd64/10.0 * |
But I don't have any make.defaults in the targets folder :
| Code: | Gentoo targets # ls -l
total 12
drwxr-xr-x 4 portage portage 4096 Mar 15 09:01 desktop
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 developer
drwxr-xr-x 2 portage portage 4096 Jan 31 14:42 server
Gentoo targets # |
EDIT : Reading further the handbook, I found the command "emerge --info" to know the value of USE.
Then I did this to pull out my USE flags :
| Code: | # emerge --info | grep USE | cut -d\" -f2
acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus doc dri fortran gdbm gpm iconv icu ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pppd readline session sse sse2 ssl sysfs tcpd unicode xorg zlib |
So, I think my USE flags are alright but I still haven't found the location of make.defaults |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Wed Mar 28, 2012 7:57 pm Post subject: |
|
|
apinsard,
try | Code: | | find /usr/portage/profiles/* -type f -name make.defaults |
There are a lot of web sites that explain use flags besides the one you're referencing - you should look them over.
I found them to be a little confusing at first and really messed things up, but once you grasp it you'll find it easy to manage them.
Good luck  |
|
| Back to top |
|
 |
apinsard n00b


Joined: 24 Mar 2012 Posts: 74 Location: France
|
Posted: Wed Mar 28, 2012 8:05 pm Post subject: |
|
|
| OK thanks, I think I'm gonna be able to get on with that ! |
|
| Back to top |
|
 |
|