ERROR: requirement failed: cannot compile ffmpeg/avcodec.h ffmpeg/avcodec.h can be found in the following packages: FFmpeg http://www.ffmpeg.org Please see the INSTALL file in the top directory of the transcode sources for more information about building transcode with this configure script. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/transcode-1.0.2-r3/work/transcode-1.0.2/config.log !!! ERROR: media-video/transcode-1.0.2-r3 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile transcode-1.0.2-r3.ebuild, line 97: Called econf '--disable-altivec' '--disable-netstream' '--enable-freetype2' '--disable-v4l' '--enable-lame' '--disable-ogg' '--disable-vorbis' '--disable-theora' '--enable-libdvdread' '--disable-libdv' '--enable-libquicktime' '--disable-lzo' '--disable-a52' '--enable-libmpeg3' '--disable-libxml2' '--disable-mjpegtools' '--enable-sdl' '--enable-gtk' '--disable-libfame' '--disable-imagemagick' '--enable-libjpeg' '--with-mod-path=/usr/lib64/transcode' '--with-x' '--with-default-xvid=xvid4' '--enable-mmx' '--enable-3dnow' '--enable-sse' '--enable-sse2' '--with-libpostproc-builddir=//usr/lib64' '--with-lzo-includes=/usr/include/lzo' '--disable-avifile' ebuild.sh, line 539: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 95021 [details] config.log There's config.log. Next part of this post is my emerge --info. Any other information needed? -------------------------- h4x0r transcode-1.0.2 # emerge --info Portage 2.1.1_pre5-r3 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r5 x86_64) ================================================================= System uname: 2.6.17-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 Last Sync: Thu, 24 Aug 2006 16:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dbus dlloader dri dvdread elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdehiddenvisibility kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia xinerama xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Which ffmpeg ebuild do you have installed?
0.4.9_p20060816 Also, if this helps any: h4x0r / # find -name avcodec.h ./usr/include/ffmpeg/avcodec.h
the conftest assumes a variable that doesn't exist anymore.
Created attachment 95155 [details, diff] A patch for configure.in Hi, here is a patch that solved that problem for me, it's based on a debian patch, see for example bug #359863 on their bug tracker. It might not change any behaviour, even if built against older ffmpeg versions. Regards, Alexis.
Tested, works fine with both old and new ffmpeg, committed.