Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] checking whether the C compiler works... no Oooops !!
Date: Fri, 06 May 2011 08:29:39
Message-Id: 4DC3B116.9030504@gmail.com
In Reply to: Re: [gentoo-user] checking whether the C compiler works... no Oooops !! by Alan McKinnon
1 Alan McKinnon wrote:
2 > This is usually CFLAGS and other bits of env stuff. There's probably a more
3 > meaningful error earlier in the build log.
4 >
5 > Can you post the full log for a failing file?
6 >
7 >
8
9 Here is one:
10
11 >>> Emerging (1 of 5) x11-libs/gdk-pixbuf-2.22.1
12 * gdk-pixbuf-2.22.1.tar.bz2 RMD160 SHA1 SHA256 size ;-)
13 ...
14 [ ok ]
15 * Package: x11-libs/gdk-pixbuf-2.22.1
16 * Repository: gentoo
17 * Maintainer: gnome@g.o
18 * USE: X consolekit elibc_glibc jpeg jpeg2k kernel_linux
19 policykit tiff userland_GNU x86
20 * FEATURES: preserve-libs
21 >>> Unpacking source...
22 >>> Unpacking gdk-pixbuf-2.22.1.tar.bz2 to
23 /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work
24 >>> Source unpacked in /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work
25 >>> Preparing source in
26 /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1 ...
27 * Applying gdk-pixbuf-2.21.4-fix-automagic-x11.patch
28 ...
29 [ ok ]
30 * Applying gdk-pixbuf-2.22.1-fix-libpng15.patch
31 ...
32 [ ok ]
33 * Running elibtoolize in: gdk-pixbuf-2.22.1/
34 * Applying portage-2.2.patch ...
35 * Applying sed-1.5.6.patch ...
36 * Applying as-needed-2.2.6.patch ...
37 * Running eautoreconf in
38 '/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1' ...
39 * Running aclocal -I m4
40 ...
41 [ ok ]
42 * Running libtoolize --copy --force --install --automake
43 ...
44 [ ok ]
45 * Running aclocal -I m4
46 ...
47 [ ok ]
48 * Running autoconf
49 ...
50 [ ok ]
51 * Running autoheader
52 ...
53 [ ok ]
54 * Running automake --add-missing --copy --foreign
55 ...
56 [ ok ]
57 >>> Source prepared.
58 >>> Configuring source in
59 /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1 ...
60 * econf: updating gdk-pixbuf-2.22.1/config.guess with
61 /usr/share/gnuconfig/config.guess
62 * econf: updating gdk-pixbuf-2.22.1/config.sub with
63 /usr/share/gnuconfig/config.sub
64 ./configure --prefix=/usr --build=i686-pc-linux-gnu
65 --host=i686-pc-linux-gnu --mandir=/usr/share/man
66 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
67 --localstatedir=/var/lib --disable-gtk-doc --with-libjpeg
68 --with-libjasper --with-libtiff --disable-introspection --with-x11
69 --with-libpng
70 checking for a BSD-compatible install... /usr/bin/install -c
71 checking whether build environment is sane... yes
72 checking for a thread-safe mkdir -p... /bin/mkdir -p
73 checking for gawk... gawk
74 checking whether make sets $(MAKE)... yes
75 checking whether to disable maintainer-specific portions of Makefiles... yes
76 checking for i686-pc-linux-gnu-gcc... gcc
77 checking whether the C compiler works... no
78 configure: error: in
79 `/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1':
80 configure: error: C compiler cannot create executables
81 See `config.log' for more details.
82
83 !!! Please attach the following file when seeking support:
84 !!!
85 /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1/config.log
86 * ERROR: x11-libs/gdk-pixbuf-2.22.1 failed (configure phase):
87 * econf failed
88 *
89 * Call stack:
90 * ebuild.sh, line 56: Called src_configure
91 * environment, line 2981: Called econf '--disable-gtk-doc'
92 '--with-libjpeg' '--with-libjasper' '--with-libtiff'
93 '--disable-introspection' '--with-x11' '--with-libpng'
94 * ebuild.sh, line 557: Called die
95 * The specific snippet of code:
96 * die "econf failed"
97
98
99 And here is another:
100
101 >>> Emerging (1 of 1) sys-apps/sandbox-2.4
102 * sandbox-2.4.tar.xz RMD160 SHA1 SHA256 size ;-)
103 ... [ ok ]
104 * Package: sys-apps/sandbox-2.4
105 * Repository: gentoo
106 * Maintainer: sandbox@g.o
107 * USE: consolekit elibc_glibc kernel_linux policykit
108 userland_GNU x86
109 * FEATURES: preserve-libs sandbox
110 >>> Unpacking source...
111 >>> Unpacking sandbox-2.4.tar.xz to
112 /var/tmp/portage/sys-apps/sandbox-2.4/work
113 unpack sandbox-2.4.tar.xz: file format not recognized. Ignoring.
114 >>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.4/work
115 >>> Compiling source in
116 /var/tmp/portage/sys-apps/sandbox-2.4/work/sandbox-2.4 ...
117 * Configuring sandbox for ABI=default...
118 * econf: updating sandbox-2.4/config.guess with
119 /usr/share/gnuconfig/config.guess
120 * econf: updating sandbox-2.4/config.sub with
121 /usr/share/gnuconfig/config.sub
122 ../sandbox-2.4//configure --prefix=/usr --build=i686-pc-linux-gnu
123 --host=i686-pc-linux-gnu --mandir=/usr/share/man
124 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
125 --localstatedir=/var/lib --libdir=/usr/lib
126 checking for a BSD-compatible install... /usr/bin/install -c
127 checking whether build environment is sane... yes
128 checking for a thread-safe mkdir -p... /bin/mkdir -p
129 checking for gawk... gawk
130 checking whether make sets $(MAKE)... yes
131 checking environment state... ok
132 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
133 checking whether the C compiler works... no
134 configure: error: in
135 `/var/tmp/portage/sys-apps/sandbox-2.4/work/build-default':
136 configure: error: C compiler cannot create executables
137 See `config.log' for more details.
138
139 !!! Please attach the following file when seeking support:
140 !!! /var/tmp/portage/sys-apps/sandbox-2.4/work/build-default/config.log
141 * ERROR: sys-apps/sandbox-2.4 failed (compile phase):
142 * econf failed
143
144
145 That help any?
146
147 I did try disabling sandbox but got the same error. Even gcc won't
148 compile as you can see.
149
150 Ideas?
151
152 Dale
153
154 :-) :-)

Replies

Subject Author
[gentoo-user] Re: checking whether the C compiler works... no Oooops !! Nikos Chantziaras <realnc@×××××.de>