Results 1 to 4 of 4
I'm trying to compiled the transcode-1.0.2-src.rpm but keep getting errors. The ffmpeg/avcodec.h file is in the default location '/usr/include' and libavcodec.so is in '/usr/lib'.
However, I get this error:
Code:
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-10-2006 #1
transcode-1.0.2 (SuSE 10.)
I'm trying to compiled the transcode-1.0.2-src.rpm but keep getting errors. The ffmpeg/avcodec.h file is in the default location '/usr/include' and libavcodec.so is in '/usr/lib'.
However, I get this error:
I've even added the following to the .spec, as per the INSTALL file (despite the fact that they're the default settings):Code:ERROR: requirement failed: cannot compile ffmpeg/avcodec.h ffmpeg/avcodec.h can be found in the following packages: FFmpeg http://www.ffmpeg.org
However, I still got the error so I tried this, recommended on a post on the OpenSuse site:Code:--with-libavcodec-includes=/usr/include \ --with-libavcodec-libs=/usr/lib \
Still no joy.Code:--with-ffmpeg-libs-includes=/usr/include \ --with-ffmpeg-libs-libs=/usr/lib \
Registered Linux User #379728
SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738
www.psypherpunk.org.uk
- 10-10-2006 #2
Curses! After spending more time than I should looking at this, it turns out that 'FFMPEG_VERSION' wasn't set in the recent version of libffmpeg0 or something.
Anyway, if anyone else is having similar troubles there's a patch here.
I haven't quite got it working but it looks like it's on the right track.Registered Linux User #379728
SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738
www.psypherpunk.org.uk
- 10-13-2006 #3
I'm still trying to get this compile. Sadly, the patch doesn't seem to work.
I've tried the current repository versions of Transcode and FFMpeg but the compile still fails at exactly the same point (i.e., the compile.log shows that confdefs.h failed as 'FFMPEG_VERSION' is undeclared).
Any ideas?Registered Linux User #379728
SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738
www.psypherpunk.org.uk
- 10-26-2006 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 1
got this puppy
good detective work there PsypherPunk!
Originally Posted by PsypherPunk
i finally got this rascal! been fightin it for days!
okay, get latest ffmpeg from svn:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
compile it like you want . then when compiled, grep in version.sh for FFMPEG_VERSION. mine showed:
#define FFMPEG_VERSION "SVN-r6795"
then hold that in a safe place.
then get transcode from
cvs -z3 -d :pserver:cvs@cvs.exit1.org:/cvstc co -r HEAD transcode
(or, in my case, i needed transcode-1.0.2.tar.gz, so i got it from http://virtual5.forcenetworks.com/tr...e-1.0.2.tar.gz)
change into the base directory and do
autoreconf -i -f
like the INSTALL says and then edit the configure file and search for
# Predefined preprocessor variables.
then add right below
cat >>confdefs.h <<_ACEOF
#define FFMPEG_VERSION "SVN-r6795"
_ACEOF
or whatever your version number is you saved from version.sh earlier.
then configure this puppy ever how you want, and there you be.
i don't know if it's a transcode or ffmpeg problem. don't have the time to look right now, but the hack worked and transcode-1.0.2 is now installed :)


Reply With Quote
