1 |
On Mon, Dec 12, 2011 at 2:28 PM, Joseph <syscon780@×××××.com> wrote: |
2 |
> I"m trying to install "kino" but ffmpeg fails to compile: |
3 |
> |
4 |
>>>> Configuring source in |
5 |
>>>> /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... |
6 |
> |
7 |
> x86_64-pc-linux-gnu-gcc is unable to create an executable file. |
8 |
> If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the |
9 |
> --enable-cross-compile option. |
10 |
> Only do this if you know what cross compiling means. |
11 |
> C compiler test failed. |
12 |
> |
13 |
> * ERROR: media-video/ffmpeg-0.7.8 failed (configure phase): |
14 |
> * (no error message) |
15 |
> * * Call stack: |
16 |
> * ebuild.sh, line 56: Called src_configure |
17 |
> * environment, line 2680: Called die |
18 |
> * The specific snippet of code: |
19 |
> * ./configure --prefix=/usr --libdir=/usr/$(get_libdir) |
20 |
> --shlibdir=/usr/$(get_libdir) --mandir=/usr/share/man --enable-shared |
21 |
> --cc="$(tc-getCC)" $(use_enable static-libs static) ${myconf} || die |
22 |
> * * If you need support, post the output of 'emerge --info |
23 |
> =media-video/ffmpeg-0.7.8', |
24 |
> * the complete build log and the output of 'emerge -pqv |
25 |
> =media-video/ffmpeg-0.7.8'. |
26 |
> * The complete build log is located at |
27 |
> '/var/tmp/portage/media-video/ffmpeg-0.7.8/temp/build.log'. |
28 |
> * The ebuild environment file is located at |
29 |
> '/var/tmp/portage/media-video/ffmpeg-0.7.8/temp/environment'. |
30 |
> * S: '/var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8' |
31 |
|
32 |
That sounds like a configure-script-time error. I somehow borked up my |
33 |
gcc profile pretty badly the other day, and the solution turned out to |
34 |
be re-running: |
35 |
|
36 |
gcc-config $SOME_PROFILE |
37 |
|
38 |
where SOME_PROFILE is something you'll find under /etc/env.d/gcc |
39 |
|
40 |
After that, things worked fine for me again. |
41 |
|
42 |
(I was in the process of building an email because I was going to ask |
43 |
this list for help, and I figured out the solution while building the |
44 |
narrative of things I was trying and testing. It'll probably show up |
45 |
as another blog post.) |
46 |
-- |
47 |
:wq |