1 |
What is the output of: |
2 |
|
3 |
gcc-config -l (-l is a small L) |
4 |
|
5 |
and the output of: |
6 |
emerge --info |
7 |
|
8 |
Robert Crawford |
9 |
|
10 |
On Sunday 18 September 2005 03:41 pm, Ben@××××××××××××××××.uk wrote: |
11 |
> test |
12 |
> |
13 |
> On Sunday 14 August 2005 18:35, maxim wexler wrote: |
14 |
> > Hello everybody, |
15 |
> > |
16 |
> > This is another "C compiler cannot create executables |
17 |
> > error" :( There's a lot of stuff in the archive about |
18 |
> > it but nothing I've seen so far seems to suit my case. |
19 |
> > |
20 |
> > I ran emerge --sync successfully and then tried -uv |
21 |
> > world; it failed trying to compile sed-4.1.4 |
22 |
> > |
23 |
> > Sure enough, compiling Hello_World.c, did not produce |
24 |
> > the .o file |
25 |
> > |
26 |
> > Anyways, here's the /var/tmp/portage/../config.log: |
27 |
> > |
28 |
> > This file contains any messages produced by compilers |
29 |
> > while |
30 |
> > running configure, to aid debugging if configure makes |
31 |
> > a mistake. |
32 |
> > |
33 |
> > It was created by sed configure 4.1.4, which was |
34 |
> > generated by GNU Autoconf 2.59. Invocation command |
35 |
> > line was |
36 |
> > |
37 |
> > $ ./configure --prefix=/usr --host=i686-pc-linux-gnu |
38 |
> > --mandir=/usr/share/man --infodir=/usr/share/info |
39 |
> > --datadir=/usr/share --sysconfdir=/etc |
40 |
> > --localstatedir=/var/lib --enable-nls |
41 |
> > |
42 |
> > ## --------- ## |
43 |
> > ## Platform. ## |
44 |
> > ## --------- ## |
45 |
> > |
46 |
> > hostname = dayglo |
47 |
> > uname -m = i686 |
48 |
> > uname -r = 2.6.11-gentoo-r3 |
49 |
> > uname -s = Linux |
50 |
> > uname -v = #3 Wed Aug 3 11:42:53 Local time zone must |
51 |
> > be set--see zic manua |
52 |
> > |
53 |
> > /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+ |
54 |
> > /bin/uname -X = unknown |
55 |
> > |
56 |
> > /bin/arch = i686 |
57 |
> > /usr/bin/arch -k = unknown |
58 |
> > /usr/convex/getsysinfo = unknown |
59 |
> > hostinfo = unknown |
60 |
> > /bin/machine = unknown |
61 |
> > /usr/bin/oslevel = unknown |
62 |
> > /bin/universe = unknown |
63 |
> > |
64 |
> > PATH: /sbin |
65 |
> > PATH: /usr/sbin |
66 |
> > PATH: /usr/lib/portage/bin |
67 |
> > PATH: /bin |
68 |
> > PATH: /usr/bin |
69 |
> > PATH: /usr/local/bin |
70 |
> > PATH: /opt/bin |
71 |
> > PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5 |
72 |
> > PATH: /opt/ati/bin |
73 |
> > PATH: /usr/qt/3/bin |
74 |
> > PATH: /usr/kde/3.4/sbin |
75 |
> > PATH: /usr/kde/3.4/bin |
76 |
> > |
77 |
> > |
78 |
> > ## ----------- ## |
79 |
> > ## Core tests. ## |
80 |
> > ## ----------- ## |
81 |
> > |
82 |
> > configure:1376: checking for a BSD-compatible install |
83 |
> > configure:1431: result: /bin/install -c |
84 |
> > configure:1442: checking whether build environment is |
85 |
> > sane |
86 |
> > configure:1485: result: yes |
87 |
> > configure:1550: checking for gawk |
88 |
> > configure:1566: found /bin/gawk |
89 |
> > configure:1576: result: gawk |
90 |
> > configure:1586: checking whether make sets $(MAKE) |
91 |
> > configure:1606: result: yes |
92 |
> > configure:1682: checking for i686-pc-linux-gnu-strip |
93 |
> > configure:1711: result: no |
94 |
> > configure:1720: checking for strip |
95 |
> > configure:1736: found /usr/bin/strip |
96 |
> > configure:1747: result: strip |
97 |
> > configure:1791: checking for i686-pc-linux-gnu-gcc |
98 |
> > configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc |
99 |
> > configure:1817: result: i686-pc-linux-gnu-gcc |
100 |
> > configure:2099: checking for C compiler version |
101 |
> > configure:2102: i686-pc-linux-gnu-gcc --version |
102 |
> > </dev/null >&5 |
103 |
> > i686-pc-linux-gnu-gcc (GCC) 3.3.5 (Gentoo Linux |
104 |
> > 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) |
105 |
> > Copyright (C) 2003 Free Software Foundation, Inc. |
106 |
> > This is free software; see the source for copying |
107 |
> > conditions. There is NO |
108 |
> > warranty; not even for MERCHANTABILITY or FITNESS FOR |
109 |
> > A PARTICULAR PURPOSE. |
110 |
> > |
111 |
> > configure:2105: $? = 0 |
112 |
> > configure:2107: i686-pc-linux-gnu-gcc -v </dev/null |
113 |
> > |
114 |
> > >&5 |
115 |
> > |
116 |
> > Reading specs from |
117 |
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs |
118 |
> > Configured with: |
119 |
> > /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure |
120 |
> > --enable-version-specific-runtime-libs --prefix=/usr |
121 |
> > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 |
122 |
> > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include |
123 |
> > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 |
124 |
> > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man |
125 |
> > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info |
126 |
> > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g |
127 |
> >++ -v3 --host=i686-pc-linux-gnu --disable-altivec |
128 |
> > --enable-nls --without-included-gettext |
129 |
> > --enable-__cxa_atexit --enable-clocale=gnu |
130 |
> > --with-system-zlib --disable-checking --disable-werror |
131 |
> > --disable-libunwind-exceptions --enable-shared |
132 |
> > --enable-threads=posix --disable-multilib |
133 |
> > --disable-libgcj --enable-languages=c,c++ |
134 |
> > Thread model: posix |
135 |
> > gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, |
136 |
> > ssp-3.3.2-3, pie-8.7.7.1) |
137 |
> > configure:2110: $? = 0 |
138 |
> > configure:2112: i686-pc-linux-gnu-gcc -V </dev/null |
139 |
> > |
140 |
> > >&5 |
141 |
> > |
142 |
> > i686-pc-linux-gnu-gcc: `-V' option must have argument |
143 |
> > configure:2115: $? = 1 |
144 |
> > configure:2138: checking for C compiler default output |
145 |
> > file name |
146 |
> > configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686 |
147 |
> > -fomit-frame-pointer conftest.c >&5 |
148 |
> > cc1: /usr/local/include: Not a directory |
149 |
> > configure:2144: $? = 1 |
150 |
> > |
151 |
> > configure: failed program was: |
152 |
> > | /* confdefs.h. */ |
153 |
> > | |
154 |
> > | #define PACKAGE_NAME "sed" |
155 |
> > | #define PACKAGE_TARNAME "sed" |
156 |
> > | #define PACKAGE_VERSION "4.1.4" |
157 |
> > | #define PACKAGE_STRING "sed 4.1.4" |
158 |
> > | #define PACKAGE_BUGREPORT "bonzini@×××.org" |
159 |
> > | #define PACKAGE "sed" |
160 |
> > | #define VERSION "4.1.4" |
161 |
> > | #define SED_FEATURE_VERSION "4.1" |
162 |
> > | /* end confdefs.h. */ |
163 |
> > | |
164 |
> > | int |
165 |
> > | main () |
166 |
> > | { |
167 |
> > | |
168 |
> > | ; |
169 |
> > | return 0; |
170 |
> > | } |
171 |
> > |
172 |
> > configure:2183: error: C compiler cannot create |
173 |
> > executables |
174 |
> > See `config.log' for more details. |
175 |
> > |
176 |
> > ## ---------------- ## |
177 |
> > ## Cache variables. ## |
178 |
> > ## ---------------- ## |
179 |
> > |
180 |
> > ac_cv_env_CC_set= |
181 |
> > ac_cv_env_CC_value= |
182 |
> > ac_cv_env_CFLAGS_set=set |
183 |
> > ac_cv_env_CFLAGS_value='-O2 -march=i686 |
184 |
> > -fomit-frame-pointer' |
185 |
> > ac_cv_env_CPPFLAGS_set= |
186 |
> > ac_cv_env_CPPFLAGS_value= |
187 |
> > ac_cv_env_CPP_set= |
188 |
> > ac_cv_env_CPP_value= |
189 |
> > ac_cv_env_LDFLAGS_set= |
190 |
> > ac_cv_env_LDFLAGS_value= |
191 |
> > ac_cv_env_build_alias_set= |
192 |
> > ac_cv_env_build_alias_value= |
193 |
> > ac_cv_env_host_alias_set=set |
194 |
> > ac_cv_env_host_alias_value=i686-pc-linux-gnu |
195 |
> > ac_cv_env_target_alias_set= |
196 |
> > ac_cv_env_target_alias_value= |
197 |
> > ac_cv_path_install='/bin/install -c' |
198 |
> > ac_cv_prog_AWK=gawk |
199 |
> > ac_cv_prog_CC=i686-pc-linux-gnu-gcc |
200 |
> > ac_cv_prog_ac_ct_STRIP=strip |
201 |
> > ac_cv_prog_make_make_set=yes |
202 |
> > |
203 |
> > ## ----------------- ## |
204 |
> > ## Output variables. ## |
205 |
> > ## ----------------- ## |
206 |
> > |
207 |
> > ACLOCAL='${SHELL} |
208 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
209 |
> > --run aclocal-1.9' |
210 |
> > ALLOCA='' |
211 |
> > AMDEPBACKSLASH='' |
212 |
> > AMDEP_FALSE='' |
213 |
> > AMDEP_TRUE='' |
214 |
> > AMTAR='${SHELL} |
215 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
216 |
> > --run tar' |
217 |
> > AUTOCONF='${SHELL} |
218 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
219 |
> > --run autoconf' |
220 |
> > AUTOHEADER='${SHELL} |
221 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
222 |
> > --run autoheader' |
223 |
> > AUTOMAKE='${SHELL} |
224 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
225 |
> > --run automake-1.9' |
226 |
> > AWK='gawk' |
227 |
> > BUILD_HTML_FALSE='' |
228 |
> > BUILD_HTML_TRUE='' |
229 |
> > BUILD_INCLUDED_LIBINTL='' |
230 |
> > CATOBJEXT='' |
231 |
> > CC='i686-pc-linux-gnu-gcc' |
232 |
> > CCDEPMODE='' |
233 |
> > CFLAGS='-O2 -march=i686 -fomit-frame-pointer' |
234 |
> > CPP='' |
235 |
> > CPPFLAGS='' |
236 |
> > CYGPATH_W='echo' |
237 |
> > DATADIRNAME='' |
238 |
> > DEFS='' |
239 |
> > DEPDIR='' |
240 |
> > ECHO_C='' |
241 |
> > ECHO_N='-n' |
242 |
> > ECHO_T='' |
243 |
> > EGREP='' |
244 |
> > EXEEXT='' |
245 |
> > GENCAT='' |
246 |
> > GLIBC21='' |
247 |
> > GMSGFMT='' |
248 |
> > HAVE__BOOL='' |
249 |
> > INSTALL_DATA='${INSTALL} -m 644' |
250 |
> > INSTALL_PROGRAM='${INSTALL}' |
251 |
> > INSTALL_SCRIPT='${INSTALL}' |
252 |
> > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' |
253 |
> > INSTOBJEXT='' |
254 |
> > INTLBISON='' |
255 |
> > INTLLIBS='' |
256 |
> > INTLOBJS='' |
257 |
> > INTL_LIBTOOL_SUFFIX_PREFIX='' |
258 |
> > LDFLAGS='' |
259 |
> > LIBICONV='' |
260 |
> > LIBINTL='' |
261 |
> > LIBOBJS='' |
262 |
> > LIBS='' |
263 |
> > LTLIBICONV='' |
264 |
> > LTLIBINTL='' |
265 |
> > LTLIBOBJS='' |
266 |
> > MAKEINFO='${SHELL} |
267 |
> > /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing |
268 |
> > --run makeinfo' |
269 |
> > MAKEINFO_HTML_FALSE='' |
270 |
> > MAKEINFO_HTML_TRUE='' |
271 |
> > MKINSTALLDIRS='' |
272 |
> > MSGFMT='' |
273 |
> > MSGMERGE='' |
274 |
> > OBJEXT='' |
275 |
> > PACKAGE='sed' |
276 |
> > PACKAGE_BUGREPORT='bonzini@×××.org' |
277 |
> > PACKAGE_NAME='sed' |
278 |
> > PACKAGE_STRING='sed 4.1.4' |
279 |
> > PACKAGE_TARNAME='sed' |
280 |
> > PACKAGE_VERSION='4.1.4' |
281 |
> > PATH_SEPARATOR=':' |
282 |
> > POSUB='' |
283 |
> > RANLIB='' |
284 |
> > SED_FEATURE_VERSION='4.1' |
285 |
> > SET_MAKE='' |
286 |
> > SHELL='/bin/sh' |
287 |
> > STRIP='strip' |
288 |
> > TEST_REGEX_FALSE='' |
289 |
> > TEST_REGEX_TRUE='' |
290 |
> > TEXI2HTML='' |
291 |
> > TEXI2HTML_HTML_FALSE='' |
292 |
> > TEXI2HTML_HTML_TRUE='' |
293 |
> > USE_INCLUDED_LIBINTL='' |
294 |
> > USE_NLS='' |
295 |
> > VERSION='4.1.4' |
296 |
> > XGETTEXT='' |
297 |
> > ac_ct_CC='' |
298 |
> > ac_ct_RANLIB='' |
299 |
> > ac_ct_STRIP='strip' |
300 |
> > am__fastdepCC_FALSE='' |
301 |
> > am__fastdepCC_TRUE='' |
302 |
> > am__include='' |
303 |
> > am__leading_dot='.' |
304 |
> > am__quote='' |
305 |
> > am__tar='${AMTAR} chof - "$$tardir"' |
306 |
> > am__untar='${AMTAR} xf -' |
307 |
> > bindir='${exec_prefix}/bin' |
308 |
> > build='' |
309 |
> > build_alias='' |
310 |
> > build_cpu='' |
311 |
> > build_os='' |
312 |
> > build_vendor='' |
313 |
> > datadir='/usr/share' |
314 |
> > exec_prefix='NONE' |
315 |
> > host='i686-pc-linux-gnu' |
316 |
> > host_alias='i686-pc-linux-gnu' |
317 |
> > host_cpu='' |
318 |
> > host_os='' |
319 |
> > host_vendor='' |
320 |
> > includedir='${prefix}/include' |
321 |
> > infodir='/usr/share/info' |
322 |
> > install_sh='/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/install-sh' |
323 |
> > libdir='${exec_prefix}/lib' |
324 |
> > libexecdir='${exec_prefix}/libexec' |
325 |
> > localstatedir='/var/lib' |
326 |
> > mandir='/usr/share/man' |
327 |
> > mkdir_p='mkdir -p --' |
328 |
> > oldincludedir='/usr/include' |
329 |
> > prefix='/usr' |
330 |
> > program_transform_name='s,x,x,' |
331 |
> > sbindir='${exec_prefix}/sbin' |
332 |
> > sharedstatedir='${prefix}/com' |
333 |
> > sysconfdir='/etc' |
334 |
> > target_alias='' |
335 |
> > |
336 |
> > ## ----------- ## |
337 |
> > ## confdefs.h. ## |
338 |
> > ## ----------- ## |
339 |
> > |
340 |
> > #define PACKAGE "sed" |
341 |
> > #define PACKAGE_BUGREPORT "bonzini@×××.org" |
342 |
> > #define PACKAGE_NAME "sed" |
343 |
> > #define PACKAGE_STRING "sed 4.1.4" |
344 |
> > #define PACKAGE_TARNAME "sed" |
345 |
> > #define PACKAGE_VERSION "4.1.4" |
346 |
> > #define SED_FEATURE_VERSION "4.1" |
347 |
> > #define VERSION "4.1.4" |
348 |
> > |
349 |
> > configure: exit 77 |
350 |
> > |
351 |
> > -mw |
352 |
> > |
353 |
> > |
354 |
> > |
355 |
> > |
356 |
> > ____________________________________________________ |
357 |
> > Start your day with Yahoo! - make it your home page |
358 |
> > http://www.yahoo.com/r/hs |
359 |
-- |
360 |
gentoo-user@g.o mailing list |