Hi, I have been trying to install ffmpeg on our server and been having trouble getting it to compile. I have used both the 0.5 release on the downloads page of the website, and the latest svn copy and it still doesn't compile.
It should be noted that I am logged in as root when attempting to compile. The first problem is when I run the ./configure script, it spits out the following: Unable to create and execute files in /tmp. Set the TMPDIR environment variable to another directory and make sure that it is not mounted noexec. Sanity test failed. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem. Now since I'm logged in as root, I should have no problems accessing /tmp so I figure it's just a bug in the script. No big deal. So I set the TMPDIR variable to a different directory, and run configure. Now it seems to run fine, as it generates config.h and doesn't give any errors. However, when I run make, it starts compiling fine and then all of a sudden stops with the following error: In file included from libavdevice/v4l.c:33: /usr/include/linux/videodev.h:56: error: syntax error before "ulong" /usr/include/linux/videodev.h:72: error: syntax error before '}' token libavdevice/v4l.c: In function `grab_read_header': libavdevice/v4l.c:75: error: storage size of 'tuner' isn't known libavdevice/v4l.c:133: error: invalid application of `sizeof' to incomplete type `video_tuner' libavdevice/v4l.c:140: error: invalid application of `sizeof' to incomplete type `video_tuner' libavdevice/v4l.c:75: warning: unused variable `tuner' make: *** [libavdevice/v4l.o] Error 1 This happens regardless of whether I use the 0.5 version or the latest svn. The main reason I'm trying to install the latest version is that one of our users needs to be able to convert QuickTime movies. If there's a way we can do this with the version we have installed now (SVN-r12192) that would be great. Or if someone can tell me what's going wrong with the installer here, I'd love to have the latest version. Thanks.
