LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-13-2010, 01:06 AM   #1
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Rep: Reputation: 2
Post By mistake I nuked my make.conf file what should I...


I was trying to
Code:

echo CONFIG_PROTECT_MASK=\"/etc/wget /etc/rc.d\" > /etc/make.conf

I was trying to use the >> instead of > now I screwed up my make.conf file.

Is there a way to recover it or can some one help me rewrite this.

Please I am a noob and this is the first install of Gentoo I have ever done.

Just ask I can supply the info to write it I just don't remember what to add.
 
Old 11-13-2010, 07:58 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,290

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If, you haven't written it again, check the directory for a file called make.conf~ :-D
You may have to start over, but then keep a backup, or three.
 
Old 11-14-2010, 01:08 AM   #3
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Original Poster
Rep: Reputation: 2
make.conf

I did find a way to recover my make.conf but it's not complete.

This is what I have so if any one can help me see if I am missing anything.

The way I recovered it was I went through the Gentoo manual and typed up some of that and found some other tutorials and came up with this.
Code:
CFLAGS="-march=native -02 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3 -l2"
USE="X gdu gtk usb -gnome -qt4 -cups -kde -qt3 -bluetooth dvdr esd eds alsa cdr"
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"
XUSE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx"
IMAGEUSE="jpeg gif tiff png svg pdf"
MEDIAUSE="alsa mad vidix asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer"
GENERAL="samba java bzip2 symlink sqlite spell xml"
SYSTEM="hal fam dbus aoss threads"
NOTUSE="-arts -qt4 -ipv6"
KDEUSE="-kde -qt3"
GNOMEUSE="policykit device-mapper extras gdu gtk cairo glitz gnome firefox"
VIDEO_CARDS="intel"
USE="${NOTUSE} ${SYSTEM} ${GENERAL} ${IMAGEUSE} ${XUSE} ${KDEUSE} ${MEDIAUSE} ${GNOMEUSE}"
 
Old 11-14-2010, 01:17 AM   #4
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Original Poster
Rep: Reputation: 2
Wink make.conf

I am hoping to get rid of gnome and go with lxde, but thats another thread for another topic.
 
Old 11-14-2010, 11:17 AM   #5
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Have a look at make.conf example.
 
Old 11-14-2010, 04:57 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well,
Code:
FEATURES="ccache distcc"
INPUT_DEVICES="keyboard synaptics evdev"
CCACHE_SIZE="3G"
as an example.

Markus
 
Old 11-15-2010, 01:12 AM   #7
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Original Poster
Rep: Reputation: 2
Post

This is what I know have in my make.conf after recovery and adding some new flags. I have a 64 bit system the "32bit" thing is for wine I think.


Code:
CFLAGS="-march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3 -l2"
USE="32bit X aac aiglx alsa aoss asf bzip2 cairo dbus device-mapper dhcpcd dvd
     ethernet extras fam fat firefox flv gdu gif glitz gstreamer gtk gzip hal
     hddtemp java jpeg mad mp3 mp4 new-login nsplugin opengl pdf png policykit
     real spell sqlite svg symlink threads tiff truetype win32 x264 xcomposite
     xinerama xml xorg xscreensaver xv xvid -abiword -arts -clamav -clamd
     -cups -evo -fax -floppy -gnome -google-gadgets -handbook -hpcups -hpijs
     -injection -ipv6 -kde -kdecards -lm_sensors -ppp -proxy -qt-bundled
     -qt-dbus -qt-faststart -qt-static -qt-webkit -qt3 -qt3support -qt4
     -qthelp -qtscript -samba -wifi -wiimote -wireshark"
VIDEO_CARDS="intel"
 
  


Reply

Tags
conf, gentoo, make, makefile, portage



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
How do I make a backup of the httpd.conf file? slam38 Linux - Newbie 4 06-25-2009 02:48 PM
Acer keyboard mistake (Need help for my xorg.conf) Dumpen Linux - Hardware 1 10-11-2006 04:24 AM
can't edit or make changes to the smb.conf file! xsithlordx Linux - Newbie 3 12-10-2005 07:04 PM
Creating a make.conf file Gsee *BSD 44 11-10-2004 05:50 AM
Changing Gentoo's make.conf file jiggywiggy Linux - Newbie 2 02-07-2004 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:54 AM.

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
Open Source Consulting | Domain Registration