A
A
ArturProsto2014-09-28 18:36:48
Gentoo
ArturProsto, 2014-09-28 18:36:48

How to install X.org on gentoo (meet its dependencies)?

The essence of the question is in the title.
installed gentoo system.
here is my make.conf

CHOST="x86_64-pc-linux-gnu"
CFLAGS=" -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
CHOST="x86_64-pc-linux-gnu"
USE="-systemd uuid  gtk3 sound suid udev  opengl modules glamor multilib  xorgminimal nls libffi static-analyzer sse2 bzip2 ipv6 adobe-cff bzip2 development classic egl gallium llvm nptl pax_kernel -qt -qt4 gtk gnome X kmod zlib"
ABI_X86="64 (-32) (-x32)"
VIDEO_CARDS="radeon fglrx"
INPUT_DEVICES="keyboard mouse synaptics"
PYTHON_TARGETS="python2_7 (-pypy)"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

when installing package xorg-x11 gives this
Calculating dependencies... done!
текст укоротил 
[ebuild  N     ] x11-libs/libXv-1.0.10  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-libs/libXt-1.1.4  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-libs/libXrandr-1.4.2  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-libs/libXcursor-1.1.14  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-apps/xvinfo-1.1.2 
[ebuild  N     ] x11-apps/xdpyinfo-1.3.1  USE="-dga -dmx -xinerama" 
[ebuild  N     ] x11-libs/libXmu-1.1.2  USE="ipv6 -doc -static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-apps/xcursorgen-1.0.5 
[ebuild  N     ] media-fonts/font-mutt-misc-1.0.3  USE="X nls" 
[ebuild  N     ] x11-apps/xev-1.2.1 
[ebuild  N     ] media-fonts/font-micro-misc-1.0.3  USE="X nls" 
[ebuild  N     ] x11-apps/xwd-1.0.6 
[ebuild  N     ] x11-libs/libXpm-3.5.11  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-apps/xauth-1.0.8  USE="ipv6" 
[ebuild  N     ] x11-apps/xrdb-1.1.0 
[ebuild  N     ] x11-libs/libXaw-1.0.12  USE="-deprecated -doc -static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-apps/xhost-1.0.6  USE="ipv6" 
[ebuild  N     ] sys-devel/llvm-3.3-r3  USE="libffi static-analyzer -clang -debug -doc -gold -multitarget -ocaml -python {-test} -udis86 -xml" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7 (-pypy)" VIDEO_CARDS="radeon" 
[ebuild  N     ] media-libs/mesa-10.0.4  USE="classic egl gallium gbm llvm nptl pax_kernel -bindist -debug -gles1 -gles2 -llvm-shared-libs -opencl -openvg -osmesa -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xvmc" ABI_X86="(64) (-32) (-x32)" VIDEO_CARDS="radeon (-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware" 
[ebuild  N     ] x11-apps/xinit-1.3.3  USE="minimal" 
[ebuild  N     ] virtual/opengl-7.0-r1  ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] media-libs/glu-9.0.0-r1  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] virtual/glu-9.0-r1  ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-base/xorg-server-1.15.0  USE="ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -unwind -xnest -xvfb" 
[ebuild  N     ] x11-base/xorg-drivers-1.15  INPUT_DEVICES="keyboard mouse synaptics -acecad -aiptek -elographics -evdev -fpit -hyperpen -joystick -mutouch -penmount -tslib -vmmouse -void -wacom" VIDEO_CARDS="fglrx radeon -apm -ast -chips -cirrus -dummy -epson -fbdev (-freedreno) (-geode) -glint -i128 (-i740) -intel -mach64 -mga -modesetting -neomagic -nouveau -nv (-nvidia) (-omap) (-omapfb) -qxl -r128 -radeonsi -rendition -s3virge -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo)" 
[ebuild  N     ] x11-libs/glamor-0.6.0  USE="-gles -static-libs -xv" 
[ebuild  N     ] x11-drivers/xf86-video-ati-7.3.0  USE="glamor udev" 
[ebuild  N     ] x11-libs/xcb-util-0.3.9  USE="-doc -static-libs {-test}" 
[ebuild  N     ] x11-libs/xcb-util-wm-0.4.1  USE="-doc -static-libs {-test}" 
[ebuild  N     ] x11-libs/xcb-util-renderutil-0.3.8  USE="-doc -static-libs {-test}" 
[ebuild  N     ] x11-libs/xcb-util-keysyms-0.3.9  USE="-doc -static-libs {-test}" 
[ebuild  N     ] x11-libs/xcb-util-image-0.3.9  USE="-doc -static-libs {-test}" 
[ebuild  N     ] media-libs/fontconfig-2.10.92  USE="-doc -static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] x11-libs/libXft-2.3.1-r1  USE="-static-libs" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N     ] app-emulation/emul-linux-x86-xlibs-20140508  USE="(development) opengl" ABI_X86="(-32)" 
[ebuild  N     ] app-emulation/emul-linux-x86-opengl-20140508  USE="development" ABI_X86="(-32)" 
[ebuild  N     ] x11-drivers/ati-drivers-14.4_p1  USE="modules multilib pax_kernel -debug -qt4 -static-libs" 

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/mesa-10.0.4
# required by x11-libs/glamor-0.6.0
# required by x11-drivers/xf86-video-ati-7.3.0[glamor]
# required by x11-base/xorg-drivers-1.15[video_cards_radeon]
# required by x11-base/xorg-server-1.15.0[xorg]
# required by x11-drivers/xf86-input-synaptics-1.7.4
=dev-libs/libxml2-2.9.1-r4 python
# required by x11-libs/glamor-0.6.0
# required by x11-drivers/xf86-video-ati-7.3.0[glamor]
# required by x11-base/xorg-drivers-1.15[video_cards_radeon]
# required by x11-base/xorg-server-1.15.0[xorg]
# required by x11-drivers/xf86-input-synaptics-1.7.4
=media-libs/mesa-10.0.4 gbm

although other packages (individually) become ok.
As I understand it, emerge is able to satisfy dependencies automatically. maybe I missed a key? (I tried the -f switch)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay sungreen, 2014-09-28
@ArturProsto

... as an alternative to editing make.conf or package.use , you can use --autounmask-write ...
example
# emerge xorg-server --autounmask-write
# dispatch-conf
# emerge xorg-server
... in this case, the packages required by the dependency will have their flags set automatically...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question