Gentoo This forum is for the discussion of Gentoo Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-13-2010, 01:06 AM
#1
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 194
Rep:
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.
11-13-2010, 07:58 AM
#2
Senior Member
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 4,072
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.
11-14-2010, 01:08 AM
#3
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 194
Original Poster
Rep:
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}"
11-14-2010, 01:17 AM
#4
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 194
Original Poster
Rep:
make.conf
I am hoping to get rid of gnome and go with lxde, but thats another thread for another topic.
11-14-2010, 11:17 AM
#5
Member
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 723
Rep:
11-14-2010, 04:57 PM
#6
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,767
Well,
Code:
FEATURES="ccache distcc"
INPUT_DEVICES="keyboard synaptics evdev"
CCACHE_SIZE="3G"
as an example.
Markus
11-15-2010, 01:12 AM
#7
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 194
Original Poster
Rep:
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"
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 07:31 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News