1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
you can try : |
5 |
|
6 |
gcc-config 2 |
7 |
binutils-config 1 |
8 |
|
9 |
Alexader Netopier Leonov wrote: |
10 |
|
11 |
>Ehlo. |
12 |
> |
13 |
>I have problem with installing selinux. Im doing it like usually step by |
14 |
step |
15 |
>from gentoo manual. Downloaded stage1-x86-selinux-20041123.tar.bz2 |
16 |
unpacking |
17 |
>etc etc. |
18 |
>Now i run bootstrap and after while i got gcc error. I read some |
19 |
conferentions |
20 |
>where are trying explain this problem but nothing help me. Thanks for any |
21 |
>help any idea. (BTW: same error i got when i was trying install from new |
22 |
>beta9 hardened livecd with 2005 profile). I already tryed edit make.conf |
23 |
and |
24 |
>remove some flags. |
25 |
> |
26 |
>After bootstrap emerged glibc: |
27 |
> |
28 |
>>>>Unpacking Python-2.3.5.tar.bz2 to /var/tmp/portage/python-2.3.5/work |
29 |
> |
30 |
> * Applying python-2.3-readline.patch ... |
31 |
>[ ok ] |
32 |
> * Applying python-2.3-add_portage_search_path_take_2.patch ... |
33 |
>[ ok ] |
34 |
> * Applying python-2.3-gentoo_py_dontcompile.patch ... |
35 |
>[ ok ] |
36 |
> * Applying python-2.3.2-disable_modules_and_ssl.patch ... |
37 |
>[ ok ] |
38 |
> * Applying python-2.3-mimetypes_apache.patch ... |
39 |
>[ ok ] |
40 |
> * Applying python-2.3-db4.2.patch ... |
41 |
>[ ok ] |
42 |
> |
43 |
>>>>Source unpacked. |
44 |
> |
45 |
>build |
46 |
>bootstrap |
47 |
>build |
48 |
>./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man |
49 |
>--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
50 |
>--localstatedir=/var/lib --with-fpectl --enable-shared --disable-ipv6 |
51 |
>--infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-threads |
52 |
>--with-libc= --enable-unicode=ucs4 |
53 |
>configure: WARNING: If you wanted to set the --build type, don't use --host. |
54 |
> If a cross compiler is detected then cross compile mode will be used. |
55 |
>checking MACHDEP... linux2 |
56 |
>checking EXTRAPLATDIR... |
57 |
>checking for --without-gcc... no |
58 |
>checking for --with-cxx=<compiler>... no |
59 |
>checking for c++... g++ |
60 |
>checking for C++ compiler default output file name... configure: error: C++ |
61 |
>compiler cannot create executables |
62 |
>See `config.log' for more details. |
63 |
> |
64 |
>!!! ERROR: dev-lang/python-2.3.5 failed. |
65 |
>!!! Function econf, Line 449, Exitcode 77 |
66 |
>!!! econf failed |
67 |
>!!! If you need support, post the topmost build error, NOT this status |
68 |
>message. |
69 |
> |
70 |
>livecd portage # |
71 |
> |
72 |
>livecd portage # env |
73 |
>MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man |
74 |
>INFODIR=/usr/share/info |
75 |
>HOSTNAME=livecd |
76 |
>TERM=xterm |
77 |
>SHELL=/bin/bash |
78 |
>SSH_CLIENT=192.168.0.136 40866 22 |
79 |
>OLDPWD=/ |
80 |
>SSH_TTY=/dev/pts/0 |
81 |
>USER=root |
82 |
>GUILE_LOAD_PATH=/usr/share/guile/1.6 |
83 |
>CONFIG_PROTECT_MASK=/etc/terminfo |
84 |
>PAGER=/usr/bin/less |
85 |
>MAIL=/var/mail/root |
86 |
>PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3 |
87 |
>GLIBC_SSP_CHECKED=1 |
88 |
>INPUTRC=/etc/inputrc |
89 |
>PWD=/usr/portage |
90 |
>EDITOR=/bin/nano |
91 |
>PS1=\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\] |
92 |
>CXX=g++ |
93 |
>SHLVL=3 |
94 |
>HOME=/root |
95 |
>LESS=-R |
96 |
>LOGNAME=root |
97 |
>CVS_RSH=ssh |
98 |
>SSH_CONNECTION=192.168.0.136 40866 192.168.0.202 22 |
99 |
>LESSOPEN=|lesspipe.sh %s |
100 |
>INFOPATH=/usr/share/info:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info |
101 |
>CC=gcc |
102 |
>_=/bin/env |
103 |
> |
104 |
> |
105 |
> |
106 |
>livecd portage # gcc-config -l |
107 |
>[1] i386-pc-linux-gnu-3.3.4 * |
108 |
>[2] i686-pc-linux-gnu-3.3.4 |
109 |
>livecd portage # |
110 |
> |
111 |
> |
112 |
>livecd portage # gcc -v |
113 |
>Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/specs |
114 |
>Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure |
115 |
>--prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 |
116 |
>--includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include |
117 |
>--datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 |
118 |
>--mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man |
119 |
>--infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared |
120 |
>--host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib |
121 |
>--enable-languages=c --enable-threads=posix --enable-long-long |
122 |
>--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio |
123 |
>--enable-version-specific-runtime-libs |
124 |
>--with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/g++-v3 |
125 |
|
126 |
>--with-local-prefix=/usr/local --disable-nls --disable-multilib |
127 |
>--enable-__cxa_atexit --enable-clocale=generic |
128 |
>Thread model: posix |
129 |
>gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) |
130 |
>livecd portage # |
131 |
> |
132 |
>livecd portage # ls -la /etc/make.profile |
133 |
>lrwxr-xr-x 1 root root 40 Jun 18 14:00 /etc/make.profile |
134 |
>-> /usr/portage/profiles/selinux/2004.1/x86 |
135 |
>livecd portage # |
136 |
> |
137 |
>livecd portage # cat /etc/make.conf |
138 |
>CPU="3dnow gcj gcc mmx mmx2 nptl nptlonly pic sse threads x86" |
139 |
>PM="acpi -apm" |
140 |
>NET="ipv6" |
141 |
>USE="-X -gtk -gnome -alsa -qt -kde ${NET} ${CPU} ${PM}" |
142 |
>CHOST="i686-pc-linux-gnu" |
143 |
>CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -pipe -falign-functions=4 |
144 |
>-fomit-frame-pointer" #-mtunr=athlon-xp |
145 |
>CXXFLAGS="${CFLAGS}" |
146 |
>#ACCEPT_KEYWORDS="~x86" |
147 |
>#PORTAGE_TMPDIR=/var/tmp |
148 |
>#PORTDIR=/usr/portage |
149 |
>#DISTDIR=${PORTDIR}/distfiles |
150 |
>#PKGDIR=${PORTDIR}/packages |
151 |
>#PORT_LOGDIR=/var/log/portage |
152 |
>#PORTDIR_OVERLAY=/usr/local/portage |
153 |
>#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}" |
154 |
>#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp \${URI} -P \${DISTDIR}" |
155 |
>#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --limit-rate=200k |
156 |
\${URI} -P |
157 |
>\${DISTDIR}" |
158 |
>#RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --limit-rate=200k |
159 |
\${URI} |
160 |
>-P \${DISTDIR}" |
161 |
>GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo" |
162 |
>#PORTAGE_BINHOST="http://grp.mirror.site/gentoo/grp/1.4/i686/athlon-xp/" |
163 |
>SYNC="rsync://ftp.sh.cvut.cz/gentoo-portage" |
164 |
>#RSYNC_RETRIES="3" |
165 |
>#RSYNC_TIMEOUT=180 |
166 |
>MAKEOPTS="-j1" |
167 |
>#PORTAGE_NICENESS=3 |
168 |
>#AUTOCLEAN="yes" |
169 |
>#FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox notitles |
170 |
>noclean noauto cvs keeptemp keepwork autoaddcvs" |
171 |
>#FEATURES="sandbox ccache distcc distlocks autoaddcvs" |
172 |
>#CCACHE_SIZE="512M" |
173 |
>#DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc" |
174 |
>#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes |
175 |
>livecd portage # |
176 |
> |
177 |
> |
178 |
> |
179 |
>---------------------------------------------------------------------- |
180 |
> |
181 |
>This file contains any messages produced by compilers while |
182 |
>running configure, to aid debugging if configure makes a mistake. |
183 |
> |
184 |
>It was created by python configure 2.3, which was |
185 |
>generated by GNU Autoconf 2.59. Invocation command line was |
186 |
> |
187 |
> $ ./configure --prefix=/usr --host=i686-pc-linux-gnu |
188 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
189 |
--sysconfdir=/etc --localstatedir=/var/lib --with-fpectl --enable-shared |
190 |
--disable-ipv6 --infodir=${prefix}/share/info |
191 |
--mandir=${prefix}/share/man --with-threads --with-libc= |
192 |
--enable-unicode=ucs4 |
193 |
> |
194 |
>## --------- ## |
195 |
>## Platform. ## |
196 |
>## --------- ## |
197 |
> |
198 |
>hostname = livecd |
199 |
>uname -m = i686 |
200 |
>uname -r = 2.6.5-gentoo-r1 |
201 |
>uname -s = Linux |
202 |
>uname -v = #1 Fri Jun 18 20:05:43 UTC 2004 |
203 |
> |
204 |
>/usr/bin/uname -p = AMD Athlon(tm) XP 2000+ |
205 |
>/bin/uname -X = unknown |
206 |
> |
207 |
>/bin/arch = unknown |
208 |
>/usr/bin/arch -k = unknown |
209 |
>/usr/convex/getsysinfo = unknown |
210 |
>hostinfo = unknown |
211 |
>/bin/machine = unknown |
212 |
>/usr/bin/oslevel = unknown |
213 |
>/bin/universe = unknown |
214 |
> |
215 |
>PATH: /sbin |
216 |
>PATH: /usr/sbin |
217 |
>PATH: /usr/lib/portage/bin |
218 |
>PATH: /bin |
219 |
>PATH: /usr/bin |
220 |
>PATH: /usr/local/bin |
221 |
>PATH: /opt/bin |
222 |
>PATH: /usr/i386-pc-linux-gnu/gcc-bin/3.3 |
223 |
> |
224 |
> |
225 |
>## ----------- ## |
226 |
>## Core tests. ## |
227 |
>## ----------- ## |
228 |
> |
229 |
>configure:1443: checking MACHDEP |
230 |
>configure:1552: result: linux2 |
231 |
>configure:1558: checking EXTRAPLATDIR |
232 |
>configure:1573: result: |
233 |
>configure:1592: checking for --without-gcc |
234 |
>configure:1641: result: no |
235 |
>configure:1647: checking for --with-cxx=<compiler> |
236 |
>configure:1668: result: no |
237 |
>configure:1687: checking for c++ |
238 |
>configure:1713: result: g++ |
239 |
>configure:1753: checking for C++ compiler default output file name |
240 |
>configure:1756: g++ -march=i686 -mcpu=athlon-xp -O2 -pipe |
241 |
-falign-functions=4 -fomit-frame-pointer conftest.cc >&5 |
242 |
>./configure: line 1: g++: command not found |
243 |
>configure:1759: $? = 127 |
244 |
>configure: failed program was: |
245 |
>| /* confdefs.h. */ |
246 |
>| |
247 |
>| #define _GNU_SOURCE 1 |
248 |
>| #define _NETBSD_SOURCE 1 |
249 |
>| #define __BSD_VISIBLE 1 |
250 |
>| #define _BSD_TYPES 1 |
251 |
>| #define _XOPEN_SOURCE 600 |
252 |
>| #define _XOPEN_SOURCE_EXTENDED 1 |
253 |
>| #define _POSIX_C_SOURCE 200112L |
254 |
>| /* end confdefs.h. */ |
255 |
>| |
256 |
>| int |
257 |
>| main () |
258 |
>| { |
259 |
>| |
260 |
>| ; |
261 |
>| return 0; |
262 |
>| } |
263 |
>configure:1798: error: C++ compiler cannot create executables |
264 |
>See `config.log' for more details. |
265 |
> |
266 |
>## ---------------- ## |
267 |
>## Cache variables. ## |
268 |
>## ---------------- ## |
269 |
> |
270 |
>ac_cv_env_CC_set=set |
271 |
>ac_cv_env_CC_value=gcc |
272 |
>ac_cv_env_CFLAGS_set=set |
273 |
>ac_cv_env_CFLAGS_value='-march=i686 -mcpu=athlon-xp -O2 -pipe |
274 |
-falign-functions=4 -fomit-frame-pointer' |
275 |
>ac_cv_env_CPPFLAGS_set= |
276 |
>ac_cv_env_CPPFLAGS_value= |
277 |
>ac_cv_env_CPP_set= |
278 |
>ac_cv_env_CPP_value= |
279 |
>ac_cv_env_LDFLAGS_set= |
280 |
>ac_cv_env_LDFLAGS_value= |
281 |
>ac_cv_env_build_alias_set= |
282 |
>ac_cv_env_build_alias_value= |
283 |
>ac_cv_env_host_alias_set=set |
284 |
>ac_cv_env_host_alias_value=i686-pc-linux-gnu |
285 |
>ac_cv_env_target_alias_set= |
286 |
>ac_cv_env_target_alias_value= |
287 |
>ac_cv_prog_CXX=g++ |
288 |
> |
289 |
>## ----------------- ## |
290 |
>## Output variables. ## |
291 |
>## ----------------- ## |
292 |
> |
293 |
>AR='' |
294 |
>BASECFLAGS='' |
295 |
>BLDLIBRARY='' |
296 |
>BLDSHARED='' |
297 |
>BUILDEXEEXT='' |
298 |
>CC='gcc' |
299 |
>CCSHARED='' |
300 |
>CFLAGS='-march=i686 -mcpu=athlon-xp -O2 -pipe -falign-functions=4 |
301 |
-fomit-frame-pointer' |
302 |
>CFLAGSFORSHARED='' |
303 |
>CONFIGURE_MACOSX_DEPLOYMENT_TARGET='' |
304 |
>CONFIG_ARGS=''--prefix=/usr' '--host=i686-pc-linux-gnu' |
305 |
'--mandir=/usr/share/man' '--infodir=/usr/share/info' |
306 |
'--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' |
307 |
'--with-fpectl' '--enable-shared' '--disable-ipv6' |
308 |
'--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' |
309 |
'--with-threads' '--with-libc=' '--enable-unicode=ucs4' 'CC=gcc' |
310 |
'CFLAGS=-march=i686 -mcpu=athlon-xp -O2 -pipe -falign-functions=4 |
311 |
-fomit-frame-pointer' 'host_alias=i686-pc-linux-gnu'' |
312 |
>CPP='' |
313 |
>CPPFLAGS='' |
314 |
>CXX='g++' |
315 |
>DEFS='' |
316 |
>DLINCLDIR='' |
317 |
>DLLLIBRARY='' |
318 |
>DYNLOADFILE='' |
319 |
>ECHO_C='' |
320 |
>ECHO_N='-n' |
321 |
>ECHO_T='' |
322 |
>EGREP='' |
323 |
>EXEEXT='' |
324 |
>EXTRAMACHDEPPATH='' |
325 |
>EXTRAPLATDIR='' |
326 |
>HAVE_GETHOSTBYNAME='' |
327 |
>HAVE_GETHOSTBYNAME_R='' |
328 |
>HAVE_GETHOSTBYNAME_R_3_ARG='' |
329 |
>HAVE_GETHOSTBYNAME_R_5_ARG='' |
330 |
>HAVE_GETHOSTBYNAME_R_6_ARG='' |
331 |
>INSTALL_DATA='' |
332 |
>INSTALL_PROGRAM='' |
333 |
>INSTALL_SCRIPT='' |
334 |
>INSTSONAME='' |
335 |
>LDFLAGS='' |
336 |
>LDLAST='' |
337 |
>LDLIBRARY='' |
338 |
>LDLIBRARYDIR='' |
339 |
>LDSHARED='' |
340 |
>LIBC='' |
341 |
>LIBM='' |
342 |
>LIBOBJS='' |
343 |
>LIBRARY='' |
344 |
>LIBS='' |
345 |
>LIBTOOL_CRUFT='' |
346 |
>LINKCC='' |
347 |
>LINKFORSHARED='' |
348 |
>LN='' |
349 |
>LTLIBOBJS='' |
350 |
>MACHDEP='linux2' |
351 |
>MACHDEP_OBJS='' |
352 |
>MAINOBJ='python.o' |
353 |
>OBJEXT='' |
354 |
>OPT='-march=i686 -mcpu=athlon-xp -O2 -pipe -falign-functions=4 |
355 |
-fomit-frame-pointer' |
356 |
>PACKAGE_BUGREPORT='' |
357 |
>PACKAGE_NAME='python' |
358 |
>PACKAGE_STRING='python 2.3' |
359 |
>PACKAGE_TARNAME='python' |
360 |
>PACKAGE_VERSION='2.3' |
361 |
>PATH_SEPARATOR=':' |
362 |
>PYTHONFRAMEWORK='' |
363 |
>PYTHONFRAMEWORKDIR='no-framework' |
364 |
>PYTHONFRAMEWORKINSTALLDIR='' |
365 |
>PYTHONFRAMEWORKPREFIX='' |
366 |
>RANLIB='' |
367 |
>RUNSHARED='' |
368 |
>SGI_ABI='' |
369 |
>SHELL='/bin/sh' |
370 |
>SHLIBS='' |
371 |
>SIGNAL_OBJS='' |
372 |
>SO='' |
373 |
>SOVERSION='1.0' |
374 |
>SRCDIRS='' |
375 |
>THREADHEADERS='' |
376 |
>THREADOBJ='' |
377 |
>TRUE='' |
378 |
>UNICODE_OBJS='' |
379 |
>USE_SIGNAL_MODULE='' |
380 |
>USE_THREAD_MODULE='' |
381 |
>VERSION='2.3' |
382 |
>ac_ct_CC='' |
383 |
>ac_ct_RANLIB='' |
384 |
>bindir='${exec_prefix}/bin' |
385 |
>build_alias='' |
386 |
>datadir='/usr/share' |
387 |
>exec_prefix='NONE' |
388 |
>host_alias='i686-pc-linux-gnu' |
389 |
>includedir='${prefix}/include' |
390 |
>infodir='${prefix}/share/info' |
391 |
>libdir='${exec_prefix}/lib' |
392 |
>libexecdir='${exec_prefix}/libexec' |
393 |
>localstatedir='/var/lib' |
394 |
>mandir='${prefix}/share/man' |
395 |
>oldincludedir='/usr/include' |
396 |
>prefix='/usr' |
397 |
>program_transform_name='s,x,x,' |
398 |
>sbindir='${exec_prefix}/sbin' |
399 |
>sharedstatedir='${prefix}/com' |
400 |
>sysconfdir='/etc' |
401 |
>target_alias='' |
402 |
> |
403 |
>## ----------- ## |
404 |
>## confdefs.h. ## |
405 |
>## ----------- ## |
406 |
> |
407 |
>#define _BSD_TYPES 1 |
408 |
>#define _GNU_SOURCE 1 |
409 |
>#define _NETBSD_SOURCE 1 |
410 |
>#define _POSIX_C_SOURCE 200112L |
411 |
>#define _XOPEN_SOURCE 600 |
412 |
>#define _XOPEN_SOURCE_EXTENDED 1 |
413 |
>#define __BSD_VISIBLE 1 |
414 |
> |
415 |
>configure: exit 77 |
416 |
|
417 |
|
418 |
-----BEGIN PGP SIGNATURE----- |
419 |
Version: GnuPG v1.4.1 (GNU/Linux) |
420 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
421 |
|
422 |
iD8DBQFCtHlc3RS+hG/PB/URApN8AJ0W8jIFOxGn8qnzmhobZUXM56fzlwCggoov |
423 |
s4E2MD2wzBMmAw36WX98Ysk= |
424 |
=FScK |
425 |
-----END PGP SIGNATURE----- |
426 |
|
427 |
-- |
428 |
gentoo-hardened@g.o mailing list |