LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices



Reply
 
Search this Thread
Old 03-13-2010, 04:40 PM   #1
artur13
Member
 
Registered: Dec 2009
Posts: 31

Rep: Reputation: 16
Use flags and package.mask question[solved]


Hello,
I got one question about make.conf file. I want to start buiding my system but i'm not sure if i got all use flags which are needed. I want to reach system for multimedia and dektop. I will use dual monitors. My PC is Sony Vaio VGN-NW21MF

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl "
EMERGE_DEFAULT_OPTS="--ask --verbose"
ACCEPT_KEYWORDS="~x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
VIDEO_CARDS="nvidia nv"
INPUT_DEVICES="mouse keyboard synaptics"
USE="X alsa apm acpi bash-completion -cups dbus hal doc dvd dvdr fbcon gif javascript jpeg modules mp3 mozilla mplayer ncurses nls pdf pda smp usb wifi win32codecs xinerama xulrunner xorg zlib truetype type1-fonts unicode"
I also don'y know hot to install package from stable branch to testing. I'm want to install xorg 1.6 not 1.7 and i don't know exactly how to do this. I have read about package.mask but it was mostly written ten it used to mixed stable with testing not reverse.
Thx for any help
P.S it is my first linux so please be tolerant for my little knowledge

Last edited by artur13; 03-22-2010 at 07:21 PM.
 
Old 03-13-2010, 05:03 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Quote:
I also don'y know hot to install package from stable branch to testing. I'm want to install xorg 1.6 not 1.7 and i don't know exactly how to do this.
try echo "x11-base/xorg-server x86" >> /etc/portage/package.keywords
 
Old 03-14-2010, 12:23 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by troop View Post
try echo "x11-base/xorg-server x86" >> /etc/portage/package.keywords
~x86 already implies x86. So adding that does nothing.

The closes you can get to my knowledge to that functionality is to mask all the versions above the latest stable one. For example, the latest stable version for gcc is 4.3.4. To stay in that version you would put this in /etc/portage/package.mask

Code:
>sys-devel/gcc-4.3.4
The downside is that you will have to monitor this manually and adjust your package.mask file each time a new gcc version goes stable.
 
1 members found this post helpful.
Old 03-19-2010, 05:44 AM   #4
artur13
Member
 
Registered: Dec 2009
Posts: 31

Original Poster
Rep: Reputation: 16
Ok4 thx for help but how i can check the exactly version of package and how i can list the all flags which are avaliable to x package?
Thx in advance
Artur
 
Old 03-19-2010, 06:14 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,049

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Quote:
Originally Posted by artur13 View Post
Ok4 thx for help but how i can check the exactly version of package
Mask sys-devel/gcc, then unmask sys-devel/gcc-<version>.

Quote:
and how i can list the all flags which are avaliable to x package?
Thx in advance
Artur
Code:
equery u <package-name>
The equery tool is part of app-portage/gentoolkit.
 
Old 03-21-2010, 12:21 AM   #6
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Are you sure that you want to install a 32 bits distro when your CPU can handle Gentoo in 64 bits ?
 
Old 03-22-2010, 10:43 AM   #7
artur13
Member
 
Registered: Dec 2009
Posts: 31

Original Poster
Rep: Reputation: 16
Sorry for late response. I guess yes I am a bloody dummy and AFAIK 32 bits make less problems than 64 bits and more software is available under 32 bits. I even can't get portage to work and if i don't do that i will have to ask again...
P.S It seems that gentoo is too hard for now. Maybe later on I will give another shoot. Anyway thx for help.
Best regards
Artur

Last edited by artur13; 03-22-2010 at 06:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GENTOO] Question about emerge and use flags h725 Gentoo 5 06-04-2009 09:14 AM
question about IP address and subnet mask 2007fld Linux - Networking 4 03-28-2007 12:00 PM
Makefile question - multiple compilation flags benobi Programming 7 08-11-2005 02:42 PM
Snort flags SYN Question gfyspf Linux - Security 1 12-10-2003 11:12 AM
Optimizing flags compiling question wrc1944 Linux - Newbie 14 08-13-2002 10:55 AM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration