LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2007, 02:29 PM   #1
leprkhn
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Rep: Reputation: 15
Question emerge help with sabayon(gentoo)


ok so i recently decided to try sabayon linux.
after installing i was reading the sabayon wiki <a href="http://www.sabayonlinux.org/wiki/index.php?title=Main_Page">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

dispatch-conf

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.


however...
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
leprkhn
 
Old 02-14-2007, 02:39 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
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.
 
Old 02-14-2007, 02:41 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
After reviewing that page, I suggest you quit using it. It sucks. Try this one instead
http://gentoo-wiki.com/Main_Page
 
Old 02-14-2007, 02:52 PM   #4
leprkhn
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
i opened make.conf with a text editor and it says:
PORTDIR_OVERLAY="$PORTDIR_OVERLAY
/usr/portage/local/layman/gentopia
/usr/portage/local/layman/sabayon
"

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

and thanks for the help by the way.
 
Old 02-14-2007, 03:00 PM   #5
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Wait one second. If you ran that echo command how come
Quote:
source /usr/portage/local/layman/make.conf
isn't in your make.conf file?

Last edited by Penguin of Wonder; 02-14-2007 at 03:02 PM.
 
Old 02-14-2007, 03:08 PM   #6
leprkhn
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
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"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
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"
# FOR OPENOFFICE
#LINGUAS="en it es de fr jp ja ru zh_CN da zh_TW"
PORTAGE_NICENESS="8"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-s -j3"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm /etc"
FEATURES="parallel-fetch"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon"
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?
 
Old 02-14-2007, 03:17 PM   #7
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
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.
 
Old 02-14-2007, 03:26 PM   #8
leprkhn
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
lol
no
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.
 
Old 02-14-2007, 03:32 PM   #9
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
at the command prompt type
Quote:
su
<enter password>
Now you have root access
Quote:
nano -w /etc/make.conf
<edit as needed>
Ctrl - X
y
 
Old 02-14-2007, 03:44 PM   #10
leprkhn
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
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!
 
Old 02-14-2007, 03:55 PM   #11
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
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
http://oliver.steven.googlepages.com/make.conf
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.
 
  


Reply



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
LXer: Sabayon live DVD installs a version of Gentoo LXer Syndicated Linux News 0 09-29-2006 10:33 AM
Gentoo/Emerge CrazyYoyimbo Linux - Newbie 4 02-15-2005 06:21 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
Please help. Gentoo: Emerge gentoo-dev-sources fails sendas4 Linux - Newbie 3 07-19-2004 11:44 AM
gentoo emerge elektrohirn Linux - Distributions 2 06-02-2003 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration