View previous topic :: View next topic |
Author |
Message |
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 1:36 am Post subject: cant install xorg-x11[SOLVED] |
|
|
i installed gentoo with almost nothing so i could do everything manually(only way it doesnt fail). i want to install kde and the docs say to install xorg-x11 first. so i followed the doc to install xorg-x11. i rebooted, loggin in as root, set my VIDEO_CARDS and INPUT_DEVICES in /etc/make.conf as the doc said, checked for correct USE flags, saved and tried and it did some things and finally failed and said x11-misc/util-macros-1.0.2 emake failed. so how do i get this to install so i can install kde and have a running system?
Last edited by suicdman on Sun Nov 12, 2006 7:28 am; edited 1 time in total |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 3:10 am Post subject: |
|
|
Hi!
You must first post here the error message you get while trying to compile x11-misc/util-macros. We need about the last 30 lines |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 3:43 am Post subject: |
|
|
how can i log/where is the log for when i reboot and try to install xorg-x11. 30 lines don't show up on my screen, so i cant write them down. thanks. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 4:06 am Post subject: |
|
|
You can output the emerge with:
Code: | emerge xorg-x11 > file.txt |
You will then have in that file all the output that would show up in your screen... |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 4:36 am Post subject: |
|
|
so i put Code: | emerge xorgx-x11 > xorglog.txt | and this is what came up in xorglog.txt Code: |
Calculating dependencies
emerge: there are no ebuilds to satisfy "xorgx-x11".
|
there was more on the screen than that but thats all that ended up in the log file. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 4:40 am Post subject: |
|
|
It's xorg-x11 and not xorgx-x11... |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Nov 10, 2006 6:30 am Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 7:15 am Post subject: |
|
|
so i rebooted and typed in Code: | emerge xorg-x11 > xorglog.txt | and it did not give me much,
Code: |
Calculating dependencies .. ... done!
>>> Emerging (1 of 148) x11-misc/util-macros-1.0.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking util-macros-1.0.2.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking util-macros-1.0.2.tar.bz2 to /var/tmp/portage/util-macros-1.0.2/work
[32;01m* [0m Applying 1.0.2-driver-man-suffix.patch ...
[A [72C [34;01m[ [32;01mok [34;01m ] [0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/util-macros-1.0.2/work/util-macros-1.0.2 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
|
am i doing something wrong trying to install xorg-x11? i did a clean install with installing the gentoo-sources kernel and have not installed anything extra. all i want to do is get a running desktop. any help? |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 7:16 am Post subject: |
|
|
Well, you just post the first lines... I need the 30 last ones There I will see the error message and try to find out why it fails. |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 7:38 am Post subject: |
|
|
the error message does not get logged for some reason, and the error is only partially on my screen so i can't write it down. all i can get is that it says emake failed, as you probably know. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 7:39 am Post subject: |
|
|
Ohhh, my bad... Try this one:
Code: | emerge xorg-x11 >file.txt 2>errors.txt |
|
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 8:24 am Post subject: |
|
|
i logged the errors, but the file is no where to be found. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 8:29 am Post subject: |
|
|
Well... I think that means the errors are supposed to be displayed on your first file... I don't understand why you don't see them...
Both output files are supposed to be created, even if no error was written in it. (Just tested it)... |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 8:38 am Post subject: |
|
|
so i tried it again, Code: | emerge xorg-x11 >xorglog.txt 2>xorgerror.txt | and i cannot find either of those files now. am i forgetting something here? |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 8:40 am Post subject: |
|
|
I just wrote exactly what you wrote, and it worked.
The files are on the current directory. |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 8:48 am Post subject: |
|
|
yes they are there, heres the error
Code: |
Calculating dependencies .. ... done!
>>> Emerging (1 of 115) x11-misc/util-macros-1.0.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking util-macros-1.0.2.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking util-macros-1.0.2.tar.bz2 to /var/tmp/portage/util-macros-1.0.2/work
[32;01m* [0m Applying 1.0.2-driver-man-suffix.patch ...
[A [72C [34;01m[ [32;01mok [34;01m ] [0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/util-macros-1.0.2/work/util-macros-1.0.2 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
make: *** No rule to make target `2'. Stop.
!!! ERROR: x11-misc/util-macros-1.0.2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called x-modular_src_compile
x-modular.eclass, line 327: Called x-modular_src_make
x-modular.eclass, line 322: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
thats all of it. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 8:57 am Post subject: |
|
|
Could you post your make.conf file?
I guess you have that line wrong:
Change:
MAKEOPTS="-j 2"
for:
MAKEOPTS="-j2"
But post it anyway maybe there are other mistakes |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 9:01 am Post subject: |
|
|
# 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
#CFLAGS="-O2 -march=i686 -pipe"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="2"
ACCEPT_KEYWORDS=""
USE=" X alsa arts avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU vorbis win32codecs x86 xml xorg xv zlib"
FEATURES=""
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse"
ill change it to "-j2", dont know where my -j went. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 9:02 am Post subject: |
|
|
That should solve your problem |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 3:05 pm Post subject: |
|
|
Don't forget to add [Solved] to your subject if that resolves your problem |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 8:00 pm Post subject: |
|
|
it did let me install xorg-x11. but now i have an error when trying to startx.
Code: |
xauth: creating new authority file /root/.serverauth.2217
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-gentoo-r5 i686
Current Operating System: Linux localhost 2.6.17-gentoo-r5 #1 SMP Thu Nov 9 14:07:02 PST 2006 i686
Build Date: 09 November 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 10 03:54:37 2006
(EE) Unable to locate/open config file
xf86AutoConfig: Primary PCI is 1:0:0
Running "getconfig -X 70000000 -I /etc/X11,/usr/etc/X11,/usr/lib/xorg/modules,/usr/lib/X11/getconfig -v 0x10de -d 0x00f5 -r 0xa2 -s 0x1682 -b 0x2201 -c 0x0300"
getconfig.pl: Version 1.0.
getconfig.pl: Xorg Version: 7.0.0.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "nv"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "vga" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
|
|
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
|
Back to top |
|
|
Redhot Apprentice
Joined: 16 Jul 2006 Posts: 196
|
Posted: Fri Nov 10, 2006 8:21 pm Post subject: |
|
|
In VIDEO_CARDS="nvidia" you has selected only nvidia driver.
Edit Your /etc/X11/xorg.conf
And change "Driver" from "nv", "vesa" or something like that to "nvidia" and everything should be fine. Remember to follow to the nvidia-drivers handbook on gentoo.org before writing next post with problem
Last edited by Redhot on Fri Nov 10, 2006 8:47 pm; edited 1 time in total |
|
Back to top |
|
|
suicdman n00b
Joined: 08 Nov 2006 Posts: 34
|
Posted: Fri Nov 10, 2006 8:30 pm Post subject: |
|
|
this is what i get when i try
Code: |
Xorg -configure
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-gentoo-r5 i686
Current Operating System: Linux localhost 2.6.17-gentoo-r5 #1 SMP Thu Nov 9 14:07:02 PST 2006 i686
Build Date: 09 November 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 10 03:53:03 2006
(EE) Unable to locate/open config file: "/root/xorg.config.new"
xf86AutoConfig: Primary PCI is 1:0:0
Running "getconfig -X 70000000 -I /etc/X11,/usr/etc/X11,/usr/lib/xorg/modules,/usr/lib/X11/getconfig -v 0x10de -d 0x00f5 -r 0xa2 -s 0x1682 -b 0x2201 -c 0x0300"
getconfig.pl: Version 1.0.
getconfig.pl: Xorg Version: 7.0.0.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "nv"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "vga" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
|
the doc says that i can manually configure this, but not sure where to start on that. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Fri Nov 10, 2006 8:32 pm Post subject: |
|
|
Did you follow Redhot's notice? Your configuration file is in /etc/X11/xorg.conf |
|
Back to top |
|
|
|