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