Проблемы с установкой Xorg и KDE [Решено переустановкой]

По глупости поставил x86_64, проблема решена.
Дано:
Gentoo x86
Ставится с chroot'a LiveCD kubuntu x86
Собственно говоря проблема вот какая:
(chroot) ubuntu / # emerge xorg-x11
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 32) media-fonts/encodings-1.0.2 to /
* encodings-1.0.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking encodings-1.0.2.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking encodings-1.0.2.tar.bz2 to /var/tmp/portage/media-fonts/encodings-1.0.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-fonts/encodings-1.0.2/work/encodings-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 --with-encodingsdir=/usr/share/fonts/encodings --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mkfontscale... /usr/bin/mkfontscale
checking for gzip... /bin/gzip
configure: creating ./config.status
config.status: creating Makefile
config.status: creating large/Makefile
Making all in large
make[1]: Entering directory `/var/tmp/portage/media-fonts/encodings-1.0.2/work/encodings-1.0.2/large'
/bin/gzip -c < big5.eten-0.enc > big5.eten-0.enc.gz
/bin/gzip -c < big5hkscs-0.enc > big5hkscs-0.enc.gz
/bin/gzip -c < cns11643-1.enc > cns11643-1.enc.gz
/bin/gzip -c < cns11643-2.enc > cns11643-2.enc.gz
/bin/gzip -c < cns11643-3.enc > cns11643-3.enc.gz
/bin/gzip -c < gb18030-0.enc > gb18030-0.enc.gz
/bin/gzip -c < gb18030.2000-0.enc > gb18030.2000-0.enc.gz
/bin/gzip -c < gb18030.2000-1.enc > gb18030.2000-1.enc.gz
/bin/gzip -c < gb2312.1980-0.enc > gb2312.1980-0.enc.gz
/bin/gzip -c < gbk-0.enc > gbk-0.enc.gz
/bin/gzip -c < jisx0201.1976-0.enc > jisx0201.1976-0.enc.gz
/bin/gzip -c < jisx0208.1990-0.enc > jisx0208.1990-0.enc.gz
/bin/gzip -c < jisx0212.1990-0.enc > jisx0212.1990-0.enc.gz
/bin/gzip -c < ksc5601.1987-0.enc > ksc5601.1987-0.enc.gz
/bin/gzip -c < ksc5601.1992-3.enc > ksc5601.1992-3.enc.gz
/bin/gzip -c < sun.unicode.india-0.enc > sun.unicode.india-0.enc.gz
/usr/bin/mkfontscale -b -s -l -n -r -p /usr/share/fonts/encodings/large -e . .
/usr/bin/mkfontscale: /usr/bin/mkfontscale: cannot execute binary file
make[1]: *** [encodings.dir] Error 126
make[1]: Leaving directory `/var/tmp/portage/media-fonts/encodings-1.0.2/work/encodings-1.0.2/large'
make: *** [all-recursive] Error 1
*
* ERROR: media-fonts/encodings-1.0.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2928: Called x-modular_src_compile
* environment, line 3714: Called x-modular_src_make
* environment, line 3750: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-fonts/encodings-1.0.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-fonts/encodings-1.0.2/temp/environment'.
*

* Messages for package media-fonts/encodings-1.0.2:

*
* ERROR: media-fonts/encodings-1.0.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2928: Called x-modular_src_compile
* environment, line 3714: Called x-modular_src_make
* environment, line 3750: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-fonts/encodings-1.0.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-fonts/encodings-1.0.2/temp/environment'.

Это при установке Xorg
При установке KDE
(chroot) ubuntu / # emerge kde-meta
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 229) kde-base/libkcal-3.5.9 to /
* kdepim-3.5-patchset-04.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* kdepim-3.5.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking kdepim-3.5.9.tar.bz2 ;-) ... [ ok ]
* checking kdepim-3.5-patchset-04.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking parts of kdepim-3.5.9.tar.bz2 to /var/tmp/portage/kde-base/libkcal-3.5.9/work
>>> Unpacking kdepim-3.5-patchset-04.tar.bz2 to /var/tmp/portage/kde-base/libkcal-3.5.9/work
Symlinking library libktnef under /usr/kde/3.5/lib/ in source dir
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kde-base/libkcal-3.5.9/work/libkcal-3.5.9 ...
*** automake (GNU automake) 1.9.6 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
* Running elibtoolize in: libkcal-3.5.9/admin
* Applying ltmain-1.5.patch ...
* Applying portage-1.5.10.patch ...
* Applying max_cmd_len-1.5.20.patch ...
* Applying sed-1.5.6.patch ...
* econf: updating libkcal-3.5.9/admin/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating libkcal-3.5.9/admin/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x --enable-mitshm --without-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --disable-debug --without-debug --disable-final --without-arts --prefix=/usr/kde/3.5 --mandir=/usr/kde/3.5/share/man --infodir=/usr/kde/3.5/share/info --datadir=/usr/kde/3.5/share --sysconfdir=/usr/kde/3.5/etc --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/kde/3.5/bin/kde-config
./configure: line 2944: /usr/kde/3.5/bin/kde-config: cannot execute binary file
configure: error: /usr/kde/3.5/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/kde-base/libkcal-3.5.9/work/libkcal-3.5.9/config.log
*
* ERROR: kde-base/libkcal-3.5.9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4244: Called kde-meta_src_compile
* environment, line 2900: Called kde_src_compile
* environment, line 3065: Called kde_src_compile 'src_compile'
* environment, line 3190: Called kde_src_compile 'src_compile' 'all' 'myconf'
* environment, line 3178: Called econf 'configure' 'make' '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--disable-final' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info'
* ebuild.sh, line 519: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/libkcal-3.5.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/libkcal-3.5.9/temp/environment'.
*

* Messages for package kde-base/libkcal-3.5.9:

*
* ERROR: kde-base/libkcal-3.5.9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4244: Called kde-meta_src_compile
* environment, line 2900: Called kde_src_compile
* environment, line 3065: Called kde_src_compile 'src_compile'
* environment, line 3190: Called kde_src_compile 'src_compile' 'all' 'myconf'
* environment, line 3178: Called econf 'configure' 'make' '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--disable-final' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info'
* ebuild.sh, line 519: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/libkcal-3.5.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/libkcal-3.5.9/temp/environment'.
*
Из-за чего это может быть?

Quote: (chroot) ubuntu / #

Цитата:
(chroot) ubuntu / # emerge xorg-x11
...
/usr/bin/mkfontscale: /usr/bin/mkfontscale: cannot execute binary file
...

надо смотреть что это такое, или файла нет или emerge --newuse --deep world подлечит)
КДЕ я быставил по частям, а не метапакет, хотя кому как удобнее..

PS: Вообще я думаю что не совсем хорошо компилять всю систему с live-cd. Снчало собери/настрой: ядро + grub + fstab + passwd, чтобы грузилось.. А дальше уже xorg, kde и что душа пожелает.

Grub + passwd + fstab + ядро

Grub + passwd + fstab + ядро уже есть... Почти все настроено, ну по крайней мере грузится оно вполне себе нормально. Проблема лишь в одном - /sbin/dhcpcd: Accessing a corrupted shared library

Пересобрать dhcpcd,

Пересобрать dhcpcd, желательно не с LiveCD

Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.

Emerge dhcpcd - решил проблему.

Сделано. Работает. По крайней мере вроде как... Проблема описанная наверху осталась. Сейчас пересоберу и обновлю world.
Пересобрал и обновил. Проблема с ксоргом осталась, кеды теперь говоря что econf faile

Посмотреть (man equery, пакет

Посмотреть (man equery, пакет gentoolkit), чей это файл /usr/bin/mkfontscale и пересобрать этот пакет

Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.

Спасибо, попробую

Спасибо, попробую

Хм... В общем

>> Unpacking source...
>>> Unpacking mkfontscale-1.0.3.tar.bz2 to /var/tmp/portage/x11-apps/mkfontscale-1.0.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/mkfontscale-1.0.3/work/mkfontscale-1.0.3 ...
* econf: updating mkfontscale-1.0.3/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating mkfontscale-1.0.3/config.guess with /usr/share/gnuconfig/config.guess
./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$
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gzopen in -lz... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MKFONTSCALE... yes
checking for X11... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/var/tmp/portage/x11-apps/mkfontscale-1.0.3/work/mkfontscale-1.0.3'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -D_BSD_SOURCE -march=k8 -O2 -pipe -fomit-frame-pointer -MT mkfontscale-hash.o -MD -MP -MF ".d$
then mv -f ".deps/mkfontscale-hash.Tpo" ".deps/mkfontscale-hash.Po"; else rm -f ".deps/mkfontscale-hash.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -D_BSD_SOURCE -march=k8 -O2 -pipe -fomit-frame-pointer -MT mkfontscale-ident.o -MD -MP -MF ".$
then mv -f ".deps/mkfontscale-ident.Tpo" ".deps/mkfontscale-ident.Po"; else rm -f ".deps/mkfontscale-ident.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -D_BSD_SOURCE -march=k8 -O2 -pipe -fomit-frame-pointer -MT mkfontscale-list.o -MD -MP -MF ".d$
then mv -f ".deps/mkfontscale-list.Tpo" ".deps/mkfontscale-list.Po"; else rm -f ".deps/mkfontscale-list.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -D_BSD_SOURCE -march=k8 -O2 -pipe -fomit-frame-pointer -MT mkfontscale-mkfontscale.o -MD -MP $
then mv -f ".deps/mkfontscale-mkfontscale.Tpo" ".deps/mkfontscale-mkfontscale.Po"; else rm -f ".deps/mkfontscale-mkfontscale.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fomit-frame-pointer -Wl,-O1 -o mkfontscale mkfontscale-hash.o mkfontscale-ident.o mkfontscale-list.o mkfontscale-mkfontscale.o -L/us$
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libfreetype.so when searching for -lfreetype
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libfreetype.a when searching for -lfreetype
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libfreetype.so when searching for -$
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libfreetype.a when searching for -l$
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.so when searching for -lfreetype
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.a when searching for -lfreetype
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make[1]: *** [mkfontscale] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-apps/mkfontscale-1.0.3/work/mkfontscale-1.0.3'
make: *** [all] Error 2
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: x11-apps/mkfontscale-1.0.3 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 49: Called src_compile
^[[31;01m*^[[0m environment, line 2923: Called x-modular_src_compile
^[[31;01m*^[[0m environment, line 3709: Called x-modular_src_make
^[[31;01m*^[[0m environment, line 3745: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake || die "emake failed"
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m emake failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/x11-apps/mkfontscale-1.0.3/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/x11-apps/mkfontscale-1.0.3/temp/environment'.
^[[31;01m*^[[0m

Облом в том, что libfreetype эмердж не знает. До этого была другая либа, которая спокойно семерджилась.

Пересобрать freetype? (-:EА

Пересобрать freetype? (-:E
А то и emerge --emptytree mkfontscale, раз такое дело

Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.

.

ИМХО ты подмонтировался с noexec (или user или users) - см man mount - noexec

-о exec не помогло

Попробую явно указать -o exec, спасибо!

Хммм... Проблемы остались...Все те же
/usr/bin/mkfontscale: /usr/bin/mkfontscale: cannot execute binary file
у xorg и
./configure: line 2944: /usr/kde/3.5/bin/kde-config: cannot execute binary file
configure: error: /usr/kde/3.5/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix.
у KDE

глупый вопрос... а при

глупый вопрос...
а при конфигурации ядра в подменю Executable file formats / Emulations всё включено?

Спасибо! Проблема уже решена...

Вероятно именно из-за того что не включил и были проблемы. Теперь поставил заново, вчитываясь в английский хендбук нормальные х86 (Т.к. до этого каким-то чудом (Читать - кривые руки и отрубленный мозг поспособствовали) поставился х86_64) все работает...

Архитектура тут ни при чём,

Архитектура тут ни при чём, со всем остальным готов согласиться (-:Е

Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".