-   Linux - Newbie (
-   -   emerge help with sabayon(gentoo) (

leprkhn 02-14-2007 02:29 PM

emerge help with sabayon(gentoo)
ok so i recently decided to try sabayon linux.
after installing i was reading the sabayon wiki <a href="">here</a>.
so i looked in the tips section.
in the tips section it tells you to:

echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf (this will setup your make.conf files to work with layman)

emerge layman (this compiles and installs layman)

After installing layman, you will need to run dispatch-conf. Use the default option, which is U when it presents you with the new config file.

next, to sync the package lists, run: emerge --sync && layman -S

After this step, you will likely need to run emerge portage and then


glsa-check -f all This step compiles and installs your updated software (warning: this could take a long time, this also can damage your system if you are not careful)

dispatch-conf It is necessary to run dispatch-conf after you install packages. I highly reccomend running it frequently, more than is really necessary, because failing to run dispatch-conf at certain key times will turn your system to trash.

i did the first step ( echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf) and then when i enter emerge layman it comes back with an error that says: !!! "[Errno 2] No such file or directory: '/usr/portage/local/layman.make.conf' in /etc/make.conf"
!!! Incorrect multiline literals can cause this. Do not use them.

in fact... it says that whenever i use emerge.
i have NO idea what i did and would very much like to un-do it. could someone help me out?

thanks in advance

Penguin of Wonder 02-14-2007 02:39 PM

Its not working because you've got the first two steps backwards. Or the wiki did, either way.

Open your make.conf with nano and delete the last line about layman. Then emerge layman, then run the echo command.

Penguin of Wonder 02-14-2007 02:41 PM

After reviewing that page, I suggest you quit using it. It sucks. Try this one instead

leprkhn 02-14-2007 02:52 PM

i opened make.conf with a text editor and it says:

you're saying that i should delete the second line?

and thanks for the help by the way.

Penguin of Wonder 02-14-2007 03:00 PM

Wait one second. If you ran that echo command how come

source /usr/portage/local/layman/make.conf
isn't in your make.conf file?

leprkhn 02-14-2007 03:08 PM

ok wait.
what i put pasted into the last message was the contents of: /usr/portage/local/layman/make.conf

however the contents of /etc/make.conf is:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
USE="mp3 divx4linux dvb dvd dvdread live mpeg nvidia jpeg truetype v4l v4l2 xv xvid \
multilib gnutls arts cups ppds foomatic-db alsa gimpprint freetype gnome X gtk2 \
unicode moznocompose moznoirc moznomail kde qt livecd samba xinerama xine theora \
kdeenablefinal wifi hal ieee1394 oggvorbis lm_sensors logitech-mouse \
zeroconf artswrappersuid jack nptl nptlonly rdesktop dvdr css gphoto2 openexr pcmcia \
speex jpeg2k povray scanner musicbrainz accessibility audiofile \
exif xscreensaver ffmpeg vcd sndfile musepack asterisk mbrola pam_chroot pam_timestamp \
pwdb gnokii pda sms bluetooth irda kig-scripting speedo browserplugin nsplugin \
kerberos firefox dga aac dts xvmc dbus hal dvi on-the-fly-crypt dri xprint acpi mozcalendar \
symlink ada php ruby sql subversion perforce apache2 cjk fat hfs jfs ntfs reiser4 xfs reiserfs \
sqlite postgres joystick skins cdda real shout stream a52 wxwindows vlm lirc libcaca remote \
stats lcd unichrome 7zip commercial mozsvg canvas xml2 glut ldap java gcj glitz \
svg avahi ogg vorbis aalib flac gdbm mikmod timidity kdgraphics dlloader exscalibar ipod visualization \
mono cdr nntp cairo djvu nautilus evo ole pdf xml ladspa portaudio soundtouch \
bzip2 udev mad fuse rtsp tiff kdehiddenvisibility dvi usb kipi aiglx musicbrainz"
CFLAGS="-O2 -march=x86-64 -pipe"
LINGUAS="en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
#LINGUAS="en it es de fr jp ja ru zh_CN da zh_TW"
MAKEOPTS="-s -j3"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm /etc"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev fglrx glint i128 i740 i810 imstt mach64 mga neomagic nsc nv nvidia r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
INPUT_DEVICES="evdev keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio joystick magellan microtouch mutouch palmax penmount spaceorb summa synaptics tek4957 ur98 vmmouse void"
source /usr/portage/local/layman.make.conf
source /usr/portage/local/layman/make.conf

is the end of that what you're talking about? should i delete both instances of source /usr/portage/local/layman.make.conf?

Penguin of Wonder 02-14-2007 03:17 PM

Holy crap! Did you write all of that or did it come like that?

Yeah, delete the last one and comment the first one, then emerge layman.

leprkhn 02-14-2007 03:26 PM

that was a copy/paste ;)

one more problem though. when i try to save the edited version of make.conf i get an error message that says: The document could not be saved, as it was not possible to write to file:///etc/make.conf.
Check that you have write access to this file or that enough disk space is available.

i have disk space, so i assume that i need root privileges. how do i get root privileges for a text editor? do i have to log in as root?

thank you again for your time and patients.

Penguin of Wonder 02-14-2007 03:32 PM

at the command prompt type

<enter password>
Now you have root access

nano -w /etc/make.conf
<edit as needed>
Ctrl - X

leprkhn 02-14-2007 03:44 PM

well... it would seem that you live up to your name.
everything seems to be working rather well.

and its off to the gentoo wiki that you suggested.

thanks much!

Penguin of Wonder 02-14-2007 03:55 PM

If your going to the Gentoo Wiki and you want to speed up portage a little I suggest you check out ccache and your man page for make.conf. There are a lot of little things you can do help portage work better and faster.

I've posted mine here
Use the bottom one for my AMD64 computer. Its a lot better off. Don't just blindly copy and paste though! You might break something. If you have a question about it PM me through this forum. Or send me a message over IM I think I have mine listed in my profile.

All times are GMT -5. The time now is 11:46 AM.