Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install xorg failed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Thu Aug 01, 2013 8:46 am    Post subject: install xorg failed Reply with quote

I have installed gentoo in my virtualbox ,then I want to install xorg .

I have read the
http://www.gentoo.org/doc/en/xorg-config.xml xorg wiki.
after I run emerge xorg-server ,something like this happend

Calculating dependencies ... done!
[ebuild N ] sys-libs/mtdev-1.1.3 USE="-static-libs"
[ebuild N ] media-libs/freetype-2.4.11 USE="X bindist bzip2 -auto-hinter -debug -doc -fontforge -infinality -static-libs -utils"
[ebuild N ] x11-base/xorg-drivers-1.13 INPUT_DEVICES="evdev synaptics -acecad -aiptek -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount -tslib -vmmouse -void -wacom" VIDEO_CARDS="nouveau -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) -intel -mach64 -mga -modesetting -neomagic (-newport) -nv -nvidia (-omap) (-omapfb) -qxl -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo)"
[ebuild N ] x11-proto/dri2proto-2.8
[ebuild N ] x11-proto/xf86driproto-2.1.1
[ebuild N ] x11-proto/fontsproto-2.1.2 USE="-doc"
[ebuild N ] x11-proto/videoproto-2.3.1
[ebuild N ] x11-proto/recordproto-1.14.2 USE="-doc"
[ebuild N ] x11-proto/renderproto-0.11.1
[ebuild N ] x11-libs/libdrm-2.4.45 USE="-libkms -static-libs" VIDEO_CARDS="nouveau (-exynos) (-freedreno) -intel (-omap) -radeon -vmware"
[ebuild N ] x11-libs/libXi-1.6.1 USE="-doc -static-libs"
[ebuild N ] x11-proto/xineramaproto-1.2.1
[ebuild N ] x11-libs/libpciaccess-0.13.1 USE="minimal zlib -static-libs"
[ebuild N ] x11-libs/libXtst-1.2.1 USE="-doc -static-libs"
[ebuild N ] x11-proto/randrproto-1.4.0
[ebuild N ] x11-proto/xf86vidmodeproto-2.3.1
[ebuild N ] x11-proto/dmxproto-2.3.1
[ebuild N ] x11-proto/damageproto-1.2.1
[ebuild N ] x11-libs/libxkbfile-1.0.8 USE="-static-libs"
[ebuild N ] x11-proto/resourceproto-1.2.0
[ebuild N ] x11-apps/xkbcomp-1.2.3
[ebuild N ] x11-proto/fixesproto-5.0
[ebuild N ] x11-libs/libXfixes-5.0 USE="-static-libs"
[ebuild N ] x11-proto/trapproto-3.4.3
[ebuild N ] x11-proto/compositeproto-0.4.2
[ebuild N ] x11-libs/libXrender-0.9.7 USE="-static-libs"
[ebuild N ] x11-proto/bigreqsproto-1.1.2 USE="-doc"
[ebuild N ] x11-proto/xf86dgaproto-2.1-r1
[ebuild N ] x11-libs/libdmx-1.1.2 USE="-static-libs"
[ebuild N ] x11-apps/rgb-1.0.4
[ebuild N ] x11-apps/iceauth-1.0.5
[ebuild N ] x11-proto/xf86rushproto-1.1.2-r1
[ebuild N ] x11-libs/libXres-1.0.6 USE="-static-libs"
[ebuild N ] x11-misc/xbitmaps-1.1.1
[ebuild N ] x11-proto/xcmiscproto-1.2.2 USE="-doc"
[ebuild N ] x11-libs/libXv-1.0.7 USE="-static-libs"
[ebuild N ] x11-libs/pixman-0.28.0 USE="sse2 (-altivec) (-iwmmxt) -mmxext (-neon) -static-libs"
[ebuild N ] x11-proto/scrnsaverproto-1.2.2 USE="-doc"
[ebuild N ] x11-libs/libXdamage-1.1.3 USE="-static-libs"
[ebuild N ] x11-libs/libXxf86vm-1.1.2 USE="-static-libs"
[ebuild R ] dev-libs/libxml2-2.9.1-r1 USE="python*"
[ebuild N ] app-admin/eselect-opengl-1.2.7
[ebuild N ] x11-proto/glproto-1.4.16
[ebuild N ] app-admin/eselect-mesa-0.0.10
[ebuild N ] sys-devel/llvm-3.1-r2 USE="libffi -debug -gold -multitarget -ocaml {-test} -udis86 -vim-syntax"
[ebuild N ] media-libs/mesa-9.1.2-r1 USE="bindist classic egl gallium llvm nptl shared-glapi -debug -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-r600-llvm-compiler) (-selinux) -vdpau (-wayland) -xa -xorg -xvmc" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="nouveau -i915 -i965 -intel -r100 -r200 -r300 -r600 -radeon (-radeonsi) -vmware"
[ebuild N ] x11-libs/libfontenc-1.1.1 USE="-static-libs"
[ebuild N ] x11-libs/libXfont-1.4.5-r1 USE="bzip2 ipv6 -doc -static-libs -truetype"
[ebuild N ] x11-misc/xkeyboard-config-2.7
[ebuild N ] x11-apps/xrdb-1.0.9
[ebuild N ] x11-apps/xinit-1.3.2 USE="minimal"
[ebuild N ] x11-base/xorg-server-1.13.4 USE="dmx ipv6 kdrive nptl suid udev xorg -doc -minimal (-selinux) -static-libs -tslib -xnest -xvfb"
[ebuild N ] x11-drivers/xf86-video-nouveau-1.0.4
[ebuild N ] x11-drivers/xf86-input-evdev-2.7.3
[ebuild N ] x11-drivers/xf86-input-synaptics-1.6.2-r1

and this

https://gist.github.com/fengxiaolong/6129042
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu Aug 01, 2013 10:13 am    Post subject: Reply with quote

It's saying you need to change a couple use flags (and --autounmask-write is an option that will do it for you, probably just for those specific package versions involved). If you use --autounmask-write, you need to do dispatch-conf after to apply the proposed changes. And if you want those changes done always for new package versions, edit package.use afterward and change "=category/package-version blah blah use flags" to read "category/package blah blah use flags"

Sometimes there are multiple ways to resolve these conflicts, and the one that irritated me the most was the qt use flags (esp. qt3support) that seem to only work well when you set them the same for all the qt packages. Last time i dealt with it, emerge wasn't good at coming up with a solution by itself.

Also, consider emerging xorg-x11 instead of xorg-server because this tends to bring along some more packages that might be needed for certain things.

Whatever you do, if you haven't already, learn about the various files in /etc/portage, especially package.use, package.unmask, package.keywords. These are the key to customizing use flags per package and allowing [possibly versions of] packages when you need to.
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Thu Aug 01, 2013 12:04 pm    Post subject: Reply with quote

BradN wrote:
It's saying you need to change a couple use flags (and --autounmask-write is an option that will do it for you, probably just for those specific package versions involved). If you use --autounmask-write, you need to do dispatch-conf after to apply the proposed changes. And if you want those changes done always for new package versions, edit package.use afterward and change "=category/package-version blah blah use flags" to read "category/package blah blah use flags"

Sometimes there are multiple ways to resolve these conflicts, and the one that irritated me the most was the qt use flags (esp. qt3support) that seem to only work well when you set them the same for all the qt packages. Last time i dealt with it, emerge wasn't good at coming up with a solution by itself.

Also, consider emerging xorg-x11 instead of xorg-server because this tends to bring along some more packages that might be needed for certain things.

Whatever you do, if you haven't already, learn about the various files in /etc/portage, especially package.use, package.unmask, package.keywords. These are the key to customizing use flags per package and allowing [possibly versions of] packages when you need to.




what additional USE flags should add to my USE config file?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Thu Aug 01, 2013 12:25 pm    Post subject: Reply with quote

what profile are you using? the desktop one should take care of alot of hte needed use flags
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Thu Aug 01, 2013 1:59 pm    Post subject: Reply with quote

Naib wrote:
what profile are you using? the desktop one should take care of alot of hte needed use flags


do you mean what make.conf file I use?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Aug 01, 2013 2:04 pm    Post subject: Reply with quote

its only 2 use flag changes, that's nothing.

(as root)
Code:

echo "dev-libs/libxml2 python" >> /etc/portage/package.use
echo "x11-base/xorg-server -minimal" >> /etc/portage/package.use
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Thu Aug 01, 2013 2:16 pm    Post subject: Reply with quote

666threesixes666 wrote:
its only 2 use flag changes, that's nothing.

(as root)
Code:

echo "dev-libs/libxml2 python" >> /etc/portage/package.use
echo "x11-base/xorg-server -minimal" >> /etc/portage/package.use


what CARD_DEVIDES should I set ,virtualbox or nouveau or virtualbox nouveau?
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Thu Aug 01, 2013 2:19 pm    Post subject: Reply with quote

666threesixes666 wrote:
its only 2 use flag changes, that's nothing.

(as root)
Code:

echo "dev-libs/libxml2 python" >> /etc/portage/package.use
echo "x11-base/xorg-server -minimal" >> /etc/portage/package.use



and can I write like this

x11-base/xorg-server -minimal udev

two parameters in one line?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Aug 01, 2013 2:46 pm    Post subject: Reply with quote

yes you can do that, but id avoid that.... id rather do 2 lines to keep things clearly lined up. id make udev a global useflag in /etc/portage/make.conf anyways.
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Fri Aug 02, 2013 6:17 am    Post subject: Reply with quote

666threesixes666 wrote:
yes you can do that, but id avoid that.... id rather do 2 lines to keep things clearly lined up. id make udev a global useflag in /etc/portage/make.conf anyways.


ok,I have installed xorg successfully.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Aug 02, 2013 8:37 am    Post subject: Reply with quote

Tony-Linuxman wrote:
Naib wrote:
what profile are you using? the desktop one should take care of alot of hte needed use flags


do you mean what make.conf file I use?

eselect profile list
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Fri Aug 02, 2013 10:52 am    Post subject: Reply with quote

666threesixes666 wrote:
its only 2 use flag changes, that's nothing.

(as root)
Code:

echo "dev-libs/libxml2 python" >> /etc/portage/package.use
echo "x11-base/xorg-server -minimal" >> /etc/portage/package.use


how did you know this?
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Fri Aug 02, 2013 11:16 am    Post subject: Reply with quote

BradN wrote:
It's saying you need to change a couple use flags (and --autounmask-write is an option that will do it for you, probably just for those specific package versions involved). If you use --autounmask-write, you need to do dispatch-conf after to apply the proposed changes. And if you want those changes done always for new package versions, edit package.use afterward and change "=category/package-version blah blah use flags" to read "category/package blah blah use flags"

Sometimes there are multiple ways to resolve these conflicts, and the one that irritated me the most was the qt use flags (esp. qt3support) that seem to only work well when you set them the same for all the qt packages. Last time i dealt with it, emerge wasn't good at coming up with a solution by itself.

Also, consider emerging xorg-x11 instead of xorg-server because this tends to bring along some more packages that might be needed for certain things.

Whatever you do, if you haven't already, learn about the various files in /etc/portage, especially package.use, package.unmask, package.keywords. These are the key to customizing use flags per package and allowing [possibly versions of] packages when you need to.


thank you fro your patiently answer,you said "category/package-version blah blah use flags" to read "category/package blah blah use flags" do you mean I can write like this

for example:
app-text/opensp-1.5.2-r3 -static-libs in my package.use file?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sat Aug 03, 2013 11:26 pm    Post subject: Reply with quote

To make it apply to any version of that package that may be installed (for instance, during updates):

app-text/opensp -static-libs

You just need to take off the =, <, <=, >, >= specifier at the beginning and strip the version number off of the package id.

I'll also add, that when doing multiple use flags for one package, I prefer to put them all in one line - for the simple reason that if I go looking for the use flags I set in there, I don't have to hunt down multiple lines to figure it out. Though, this is personal preference.
Back to top
View user's profile Send private message
Tony-Linuxman
n00b
n00b


Joined: 29 Jul 2013
Posts: 24

PostPosted: Tue Aug 06, 2013 7:52 am    Post subject: Reply with quote

BradN wrote:
To make it apply to any version of that package that may be installed (for instance, during updates):

app-text/opensp -static-libs

You just need to take off the =, <, <=, >, >= specifier at the beginning and strip the version number off of the package id.

I'll also add, that when doing multiple use flags for one package, I prefer to put them all in one line - for the simple reason that if I go looking for the use flags I set in there, I don't have to hunt down multiple lines to figure it out. Though, this is personal preference.


ok,thank you very much
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum