On Mon, Dec 12, 2011 at 2:28 PM, Joseph <syscon...@gmail.com> wrote:
> I"m trying to install "kino" but ffmpeg fails to compile:
>
>>>> Configuring source in
>>>> /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ...
>
> x86_64-pc-linux-gnu-gcc is unable to create an executable file.
> If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the
> --enable-cross-compile option.
> Only do this if you know what cross compiling means.
> C compiler test failed.
>
>  * ERROR: media-video/ffmpeg-0.7.8 failed (configure phase):
>  *   (no error message)
>  *  * Call stack:
>  *     ebuild.sh, line  56:  Called src_configure
>  *   environment, line 2680:  Called die
>  * The specific snippet of code:
>  *       ./configure --prefix=/usr --libdir=/usr/$(get_libdir)
> --shlibdir=/usr/$(get_libdir) --mandir=/usr/share/man --enable-shared
> --cc="$(tc-getCC)" $(use_enable static-libs static) ${myconf} || die
>  *  * If you need support, post the output of 'emerge --info
> =media-video/ffmpeg-0.7.8',
>  * the complete build log and the output of 'emerge -pqv
> =media-video/ffmpeg-0.7.8'.
>  * The complete build log is located at
> '/var/tmp/portage/media-video/ffmpeg-0.7.8/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/media-video/ffmpeg-0.7.8/temp/environment'.
>  * S: '/var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8'

That sounds like a configure-script-time error. I somehow borked up my
gcc profile pretty badly the other day, and the solution turned out to
be re-running:

gcc-config $SOME_PROFILE

where SOME_PROFILE is something you'll find under /etc/env.d/gcc

After that, things worked fine for me again.

(I was in the process of building an email because I was going to ask
this list for help, and I figured out the solution while building the
narrative of things I was trying and testing. It'll probably show up
as another blog post.)
-- 
:wq

Reply via email to