Gentoo Archives: gentoo-user-ru

From: "Супотницкий Сергей" <supotnickiis@××××××.ru>
To: gentoo-user-ru@l.g.o
Subject: [gentoo-user-ru] Проблема с установкой ncurses (при установке grub)
Date: Fri, 12 Aug 2005 18:16:19
Message-Id: 42FCC9AE.90104@yandex.ru
1 ß õîòåë ïîñòàâèòü grub, ñíà÷àëà ïðîâåðèë
2
3 livecd / # emerge -pv grub
4
5 These are the packages that I would merge, in order:
6
7 Calculating dependencies ...done!
8
9 [ebuild N ] sys-libs/ncurses-5.4-r5 -bootstrap -build -debug -doc -nocxx
10 (-uclibc) -unicode 0 kB
11 [ebuild N ] sys-apps/sed-4.0.9 -bootstrap -build -debug +nls -static 0 kB
12 [ebuild N ] sys-apps/texinfo-4.7-r1 -build -debug +nls -static 0 kB
13 [ebuild N ] sys-libs/db-4.1.25_p1-r4 -doc -java -tcltk (-uclibc) 0 kB
14 [ebuild N ] sys-apps/groff-1.19.1-r2 +X -debug 0 kB
15 [ebuild N ] sys-apps/cronbase-0.3.1 0 kB
16 [ebuild N ] sys-apps/man-1.5m-r2 -debug +nls 0 kB
17 [ebuild N ] sys-libs/zlib-1.2.1-r3 -build -debug 0 kB
18 [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB
19 [ebuild N ] app-arch/bzip2-1.0.2-r3 -build -debug -static 0 kB
20 [ebuild N ] sys-apps/debianutils-1.16.7-r4 -build -debug -static 0 kB
21 [ebuild N ] app-shells/bash-2.05b-r9 -build -debug +nls (-uclibc) 0 kB
22 [ebuild N ] sys-libs/readline-4.3-r5 0 kB
23 [ebuild N ] sys-libs/db-1.85-r1 0 kB
24 [ebuild N ] sys-libs/gdbm-1.8.3-r1 +berkdb -debug 0 kB
25 [ebuild N ] sys-devel/flex-2.5.4a-r5 -build -debug -static 0 kB
26 [ebuild N ] sys-devel/bc-1.06-r5 -debug +readline -static 0 kB
27 [ebuild N ] sys-apps/diffutils-2.8.7 -debug +nls -static 0 kB
28 [ebuild N ] dev-libs/openssl-0.9.7d-r2 -debug -emacs (-uclibc) 0 kB
29 [ebuild N ] dev-libs/expat-1.95.8 -makecheck 0 kB
30 [ebuild N ] dev-lang/python-2.3.4 +X +berkdb -bootstrap -build -debug
31 -doc +gdbm +ipv6 +ncurses +readline +ssl -tcltk -ucs2 0 kB
32 [ebuild N ] sys-apps/portage-2.0.51-r3 -build -debug (-selinux) 0 kB
33 *** Portage will stop merging at this point and reload itself,
34 recalculate dependencies, and complete the merge.
35 You may avoid the remerging of packages by updating portage on its own.
36 [ebuild N ] sys-devel/libperl-5.8.5 +berkdb -debug +gdbm -ithreads
37 (-uclibc) 0 kB
38 [ebuild N ] dev-lang/perl-5.8.5-r2 +berkdb -debug -doc +gdbm -ithreads
39 -perlsuid (-uclibc) 0 kB
40 [ebuild N ] sys-devel/m4-1.4.1 +nls 0 kB
41 [ebuild N ] sys-devel/autoconf-2.59-r5 0 kB
42 [ebuild N ] sys-devel/automake-1.8.5-r1 (-uclibc) 0 kB
43 [ebuild N ] sys-boot/grub-0.94-r1 -debug -static 0 kB
44
45 Total size of downloads: 0 kB
46
47 Çàïóñêàþ óñòàíîâêó, óñòàíîâêà ïåðâîé æå ïðîãðàììû (ncurses) çàâåðøàåòüñÿ
48 âîò ÷åì
49
50 cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include
51 -D_GNU_SOURCE -DNDEBUG -O3 -march=athlon-xp -fomit-frame-pointer
52 -fforce-addr -fno-inline-functions -fPIC -fPIC -c ../c++/cursesf.cc
53 /bin/sh: line 1: -I../c++: No such file or directory
54 make[1]: *** [../obj_s/cursesf.o] Error 127
55 make[1]: Leaving directory
56 `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
57 make: *** [all] Error 2
58
59 !!! ERROR: sys-libs/ncurses-5.4-r5 failed.
60 !!! Function src_compile, Line 81, Exitcode 2
61 !!! make failed
62 !!! If you need support, post the topmost build error, NOT this status
63 message.
64
65 Âîò ñîäåðæèìîå ìîåãî make.conf
66
67
68 CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fforce-addr
69 -fno-inline-functions"
70 CHOST="i386-pc-linux-gnu"
71 CXXFLAGS="${CFLAGS}"
72 MAKEOPTS="-j2"
73 LINGUAS="ru en"
74 LANGUAGE="ru"
75 VIDEO_CARDS="nvidia"
76 USE="gpm nptl nptlonly ncurses"
77 ACCEPT_KEYWORDS=x86
78
79
80 livecd / # emerge --info
81 Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4,
82 glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
83 =================================================================
84 System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2800+
85 Gentoo Base System version 1.4.16
86 Autoconf:
87 Automake:
88 Binutils: sys-devel/binutils-2.14.90.0.8-r1
89 Headers: sys-kernel/linux26-headers-2.6.8.1-r2
90 Libtools:
91 ACCEPT_KEYWORDS="x86"
92 AUTOCLEAN="yes"
93 CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fforce-addr
94 -fno-inline-functions"
95 CHOST="i386-pc-linux-gnu"
96 COMPILER=""
97 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
98 /usr/share/config /var/qmail/control"
99 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
100 CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fforce-addr
101 -fno-inline-functions"
102 DISTDIR="/usr/portage/distfiles"
103 FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
104 GENTOO_MIRRORS="http://gentoo.osuosl.org
105 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
106 <http://distro.ibiblio.org/pub/Linux/distributions/gentoo%22>
107 MAKEOPTS="-j2"
108 PKGDIR="/usr/portage/packages"
109 PORTAGE_TMPDIR="/var/tmp"
110 PORTDIR="/usr/portage"
111 PORTDIR_OVERLAY=""
112 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
113 USE="x86 X acl apm arts avi berkdb bitmap-fonts crypt cups encode
114 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 ipv6 jpeg kde libwww mad
115 mikmod motif mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam
116 pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd
117 truetype xml2 xmms xv zlib video_cards_nvidia linguas_ru linguas_en"
118
119
120 ß ïîïðîáîâàë ïðîäîëæàòü ñáîðêó óáèðàÿ ( ïî î÷åðåäè) ôëàãè â make.conf
121 è äîâåë ïàðàìåòð CFLAGS äî òàêîãî ñîñòîÿíèÿ
122
123 CFLAGS="-O3 -march=athlon-xp "
124
125 Íî âñåðàâíî ïðè ñáîðêå ýòîé ïðîãðàììû âûñêàêèâàåò òàêàÿ îøèáêà
126
127
128 make[1]: Entering directory
129 `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
130 cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include
131 -D_GNU_SOURCE -DNDEBUG -O3 -march=athlon-xp -fPIC -fPIC -c ../c++/cursesf.cc
132 /bin/sh: line 1: -I../c++: No such file or directory
133 make[1]: *** [../obj_s/cursesf.o] Error 127
134 make[1]: Leaving directory
135 `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++'
136 make: *** [all] Error 2
137
138 !!! ERROR: sys-libs/ncurses-5.4-r5 failed.
139 !!! Function src_compile, Line 81, Exitcode 2
140 !!! make failed
141 !!! If you need support, post the topmost build error, NOT this status
142 message.
143
144 ×òî äåëàòü??
145
146
147
148
149 --
150 gentoo-user-ru@g.o mailing list

Replies