View previous topic :: View next topic |
Author |
Message |
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 1:23 am Post subject: What now? |
|
|
Okay. I followed the handbook, and everything looks and feels great. I got a framebuffer, and now I'm running links inside a fb. But, I want Xorg, ALSA, and GNOME. What should I do first, I don't want to skip a step, and screw up my system. Any help would be greatly appreciated . |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:43 am Post subject: |
|
|
Hi, first, can you post this :
Code: |
# emerge --info
# rc-update show
|
Also, you should install xorg-server and then install Gnome. |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 1:58 am Post subject: |
|
|
d2_racing wrote: | Hi, first, can you post this :
Code: |
# emerge --info
# rc-update show
|
Also, you should install xorg-server and then install Gnome. |
I am aware that I need to install Xorg before installing a DE. And yes, I can post the output of emerge --info and rc-update show.
Emerge --info:
(I'll post this when I get into my other OS, as I have no way of posting the result.)
Code: |
rc-update show:
bootmisc:boot
checkfs:boot
checkroot:boot
clock:boot
consolefont:boot
hostname:boot
keymaps:boot
local:default nonetwork
localmount:boot
modules:boot
net.lo:boot
net.wlan0:default
netmount:default
rmnologin:boot
syslog-ng:default
urandom:boot
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:59 am Post subject: |
|
|
For what I see right now, you will need this at least :
Code: |
# rc-update add hald
|
|
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 2:16 am Post subject: |
|
|
d2_racing wrote: | For what I see right now, you will need this at least :
Code: |
# rc-update add hald
|
|
I probably should also install hal (hardware abstraction layer). Also. I found the pastebin app quite useful:
http://pastebin.com/d6800f6c0 That was the output of emerge --info. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 2:32 am Post subject: |
|
|
You should also set this :
VIDEO_CARDS
Can you post this :
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 2:33 am Post subject: |
|
|
Hal should be installed since you have the hal use flag and when you install X, it will get pull automagically. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 2:34 am Post subject: |
|
|
Are you using the testing branch ???
Can you post this :
Code: |
# cat /etc/make.conf
|
|
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 2:57 am Post subject: |
|
|
Alright.
Output of lspci -n is:
http://pastebin.com/d40a86583
Output of cat /etc/make.conf (I had to cut the mirrors):
[url]http://pastebin.com/d43f942dc[url/] |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 3:03 am Post subject: |
|
|
Hi, you should have this :
Code: |
VIDEO_CARDS = "nv nvidia"
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 3:04 am Post subject: |
|
|
Never run with this : ACCEPT_KEYWORDS="~amd64"
You are too new with Gentoo |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Dec 30, 2009 4:19 am Post subject: |
|
|
in addition to hal, do not forget dbus
you should at least have these in your USE if you want Gnome and whatnot setup with minimal issues:
hal
dbus
opengl
X
gtk
gnome
You will also want 'hald' and 'dbus' added to default runlevel once they are merged
The rest has been covered really - INPUT_DEVICES and VIDEO_CARDS
Assuming your kernel is kosher, with everything set as should be in make.conf, it's just a matter of emerging gnome (which should in theory bring in xorg-server). If you want the full set of gnome stuff and don't care about picking and choosing individual pieces, just "emerge gnome", set up /etc/rc.conf so that XSESSION="Gnome", and assuming hald and dbus are running, a 'startx' should get you where you need. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 12:15 pm Post subject: |
|
|
cach0rr0 wrote: | in addition to hal, do not forget dbus
you should at least have these in your USE if you want Gnome and whatnot setup with minimal issues:
hal
dbus
opengl
X
gtk
gnome
You will also want 'hald' and 'dbus' added to default runlevel once they are merged
The rest has been covered really - INPUT_DEVICES and VIDEO_CARDS
Assuming your kernel is kosher, with everything set as should be in make.conf, it's just a matter of emerging gnome (which should in theory bring in xorg-server). If you want the full set of gnome stuff and don't care about picking and choosing individual pieces, just "emerge gnome", set up /etc/rc.conf so that XSESSION="Gnome", and assuming hald and dbus are running, a 'startx' should get you where you need. | I have a few questions also:
1. How long will GNOME take to complie? I assume that It will take a few days.
2. Are there any ebuilds of the proprietary nvidia driver? The open source ones are still to early in development to be of any use yet. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Dec 30, 2009 12:24 pm Post subject: |
|
|
gnome would not take even a full day on my laptop
i do not know how long on yours because i dont know your hardware, but mine is just a Pentium Dual Core T4200 (2GHz), 3GB RAM
it did take me overnight (roughly 10 hours) to emerge kde-meta, but that is much bigger package than gnome
should not take most people nearly so long
as far as open source vs proprietary drivers, i remember using the open source driver years ago without issue
it has been around a long while and for many it does nicely
however the proprietary drivers are indeed in portage
x11-drivers/nvidia-drivers _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 12:35 pm Post subject: |
|
|
As for the input options mentioned earlier, do I have to install the input device drivers also? OR does tha come with X. As a former archlinux user, I needed to install xf86-input-mouse and xf86-input-keyboard. Will I need to do the same in gentoo? ANd do I need to specify these inside my make.conf? |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:09 pm Post subject: |
|
|
cach0rr0 wrote: | in addition to hal, do not forget dbus
you should at least have these in your USE if you want Gnome and whatnot setup with minimal issues:
hal
dbus
opengl
X
gtk
gnome
|
He is using the amd64/10.0/desktop profile, so if he doesn't modify his Use flags, he has already what he needs.
But, change this line inside your /etc/make.conf
To
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:12 pm Post subject: |
|
|
Also, I suggest that your current /etc/make.conf :
Code: |
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
MAKEOPTS="-j2"
USE="mmx sse sse2 -alsa cdr -dvd -gnome -gtk fbcon"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
ACCEPT_KEYWORDS="~amd64"
GENTOO_MIRRORS="Lots of mirrors. (For some reason pastebin couldn't upload this file with all the mirrors on it. I doubt you'll need the list of mirrors anyway.)"
|
Your new /etc/make.conf :
Code: |
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="-kde -qt3support -qt4 -xfce gnome"
LINGUAS="en"
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="vesa nvidia"
|
dragos240 wrote: | As for the input options mentioned earlier, do I have to install the input device drivers also? OR does tha come with X. As a former archlinux user, I needed to install xf86-input-mouse and xf86-input-keyboard. Will I need to do the same in gentoo? ANd do I need to specify these inside my make.conf? |
Yes, look at your new /etc/make.conf
Last edited by d2_racing on Wed Dec 30, 2009 1:17 pm; edited 1 time in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:16 pm Post subject: |
|
|
And yeah, I changed your cflags, because you have a AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+ and I want to make sure that your current installation will be able to use all the power of your cpu.
If you change your cflags, I suggest that you run this :
Code: |
# emerge -e world
# cd /usr/src/linux
# make && make modules_install
|
And do the necessary to copy your bzImage inside /boot, because when you change your cflags, you need to rebuilt your kernel also. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:18 pm Post subject: |
|
|
By the way, did you build your kernel the manual way or did you use Genkernel ? |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 1:31 pm Post subject: |
|
|
d2_racing wrote: | By the way, did you build your kernel the manual way or did you use Genkernel ? |
I had a lot of trouble setting up the normal kernel. Lots af issues. So I picked genkernel. Works great though! Also, I'm having trouble compliling xorg. Something failed to bould completely and I would like to troubleshoot. Here is the build log for that application:
http://pastebin.com/d589c19e1 |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:34 pm Post subject: |
|
|
Quote: | cannot find GL library - make sure Mesa or other OpenGL package is installed. |
Can you post your actual emerge --info and also this :
Code: |
# emerge -auDNv world
|
|
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 1:38 pm Post subject: |
|
|
d2_racing wrote: | Quote: | cannot find GL library - make sure Mesa or other OpenGL package is installed. |
Can you post your actual emerge --info and also this :
Code: |
# emerge -auDNv world
|
|
I DID post my emerge --info earlier didn't I? Okay, I'll post the output of the emerge -auDNv world |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
Posted: Wed Dec 30, 2009 1:42 pm Post subject: |
|
|
[quote="dragos240"] d2_racing wrote: | Quote: | cannot find GL library - make sure Mesa or other OpenGL package is installed. |
Can you post your actual emerge --info and also this :
Code: |
# emerge -auDNv world
|
|
Oh, I see. My new updated emerge --info. Alright, hold on. |
|
Back to top |
|
|
dragos240 Apprentice
Joined: 19 Apr 2009 Posts: 252
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 30, 2009 1:51 pm Post subject: |
|
|
That's not the emerge --info
Can you post this :
I want something like this :
Code: |
# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 30 Dec 2009 12:15:03 +0000
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python: 2.6.4
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_CA.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j5 -l5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql mysqli ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session simplexml spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb userlocales vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
|