LINUX.ORG.RU

Gentoo, Stage2 и MC. Что делаю не правильно?


0

0

Собираю LiveCD со stage2 (портеджи от 03 февраля). 
Все идет нормально, делаю два раза emerge -e system, 
все пересобирается без проблем (если не считать блокировки perl 
и проблемы с libexpat, но это решается). 

И вот сейчас нужно поставить mc. Пишу emerge -av mc, а в ответ:

tux / # emerge -av mc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-misc/mc-4.6.1-r4 USE="X gpm nls pam slang unicode -7zip -ncurses -samba" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-misc/mc-4.6.1-r4 to /

...
...
...

checking slang.h usability... yes
checking slang.h presence... yes
checking for slang.h... yes
checking if S-Lang uses termcap... yes
configure: using S-Lang screen library with termcap
checking for tgoto in -ltermcap... no
checking for SLang_init_tty in -lslang... no
configure: error: S-Lang library not found

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-misc/mc-4.6.1-r4/work/mc-4.6.1/config.log
*
* ERROR: app-misc/mc-4.6.1-r4 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mc-4.6.1-r4.ebuild, line 108: Called econf '--with-vfs'
 '--with-ext2undel' '--with-edit' '--enable-charset' 
'--with-screen=slang' '--with-gpm-mouse' '--with-included-gettext' '--with-x' '--without-samba'
* ebuild.sh, line 638: 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/app-misc/mc-4.6.1-r4/temp/build.log'.
*

* Messages for package app-misc/mc-4.6.1-r4:

*
* ERROR: app-misc/mc-4.6.1-r4 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* mc-4.6.1-r4.ebuild, line 108: Called econf '--with-vfs' 
'--with-ext2undel' '--with-edit' '--enable-charset' 
'--with-screen=slang' '--with-gpm-mouse' '--with-included-gettext' '--with-x' '--without-samba'
* ebuild.sh, line 638: 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/app-misc/mc-4.6.1-r4/temp/build.log'.
*

Хотя сам Slang установлен:
tux / # emerge -av slang

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-libs/slang-1.4.9-r2 USE="unicode -cjk" 0 kB

Файлы есть:

tux / # ls /usr/lib/libslang*
/usr/lib/libslang.a -> /usr/lib/libslang-utf8.a
/usr/lib/libslang.so -> /usr/lib/libslang-utf8.so
/usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1
/usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9
/usr/lib/libslang-utf8.a
/usr/lib/libslang-utf8.so -> libslang-utf8.so.1.4.9
/usr/lib/libslang-utf8.so.1 -> libslang-utf8.so.1.4.9
/usr/lib/libslang-utf8.so.1.4.9


---------------------------------------------------------


Еще провел такой вот эксперимент. Вроде как баг нашел.

Вариант 1.

1. Распаковываю stage2
2. Устанавливаю mc - ставиться

Вариант 2.

1. Распаковываю stage2
2. Копирую самый последний portage
3. emerge -e system 2 раза
4. ставлю mc - НЕ СТАВИТЬСЯ. вываливается по этой же ошибке.

Подскажите что можно сделать?

На всякий случай еще emerge --info

tux / # emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3-v1puh i686)
=================================================================
System uname: 2.6.23-gentoo-r3-v1puh i686 AMD Sempron(tm) 2500+
Timestamp of tree: Sat, 09 Feb 2008 01:47:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo";
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bitmap-fonts cairo cdr cli cracklib
crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam
firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg
kde kerberos ldap livecd mad midi mikmod minimal mp3 mpeg mudflap
ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png
pppd python qt3 qt3support qt4 quicktime readline reflection sdl
session slang spell spl ssl svg tcpd tiff truetype truetype-fonts
type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib"

ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 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
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"

KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text"

LINGUAS="ru en_GB"

USERLAND="GNU"

VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128
i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition
s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng
v4l vesa vga via vmware voodoo"

Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

coderinside
() автор топика
Ответ на: комментарий от coderinside

Зачем вообще второй стейдж? Он официально не рекомендуется, рекомендуется третий.

ftor
()

> Что делаю не правильно?

Ставишь из неподдерживаемой стадии.

> Подскажите что можно сделать?

Поставить из stage3.

INFOMAN ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.