Andrew,
As a long time fellow Slackware user, I am used to dealing with issues
like this. For starters, did you download and install a release of
FFmpeg or did you grab the current svn trunk? If you did a release
version, it is heinously old as they haven't done a release in probably
over 3 years. In any event, where is the avformat.h header file located
on your system?
One trick that I have had to do in the past is re-autoconf the configure
script and then rerun the config for compile.
-Mishehu
andrew wrote:
Hi,
I would appreciate some guidance on compiling transcode 1.1.0. I have
failed so far under slackware 12.2 with the following error message:
+-------
ERROR: requirement failed: cannot compile ffmpeg/avformat.h
ffmpeg/avformat.h can be found in the following packages:
libavformat http://www.ffmpeg.org/
+------
I have made some efort to guide the configure script to the relevant
FFmpeg libraries:
+---------
--with-libavformat-prefix=/usr/lib \
--with-libavformat-includes=/usr/include/libavformat \
--with-libavformat-libs=/usr/lib \
--with-libavcodec-prefix=/usr \
--with-libavcodec-includes=/usr/include/libavcodec \
--with-libavcodec-libs=/usr/lib
+---------
The relevant sections (hopefully) of the config.log reads:
+----------
configure:24895: checking libavcodec/avcodec.h usability
configure:24912: gcc -c -g -O2 -I/usr/include/libavcodec conftest.c >&5
In file included from /usr/include/libavutil/common.h:106,
from /usr/include/libavutil/avutil.h:56,
from /usr/include/libavcodec/avcodec.h:30,
from conftest.c:92:
/usr/include/libavutil/mem.h:29:20: error: config.h: No such file or directory
+---------
and:
+---------
| #include <libavcodec/avcodec.h>
configure:24932: result: no
configure:24936: checking libavcodec/avcodec.h presence
configure:24951: gcc -E -I/usr/include/libavcodec conftest.c
In file included from /usr/include/libavutil/common.h:106,
from /usr/include/libavutil/avutil.h:56,
from /usr/include/libavcodec/avcodec.h:30,
from conftest.c:58:
/usr/include/libavutil/mem.h:29:20: error: config.h: No such file or directory
+----------
I am using FFmpeg svn r16768. I would appreciate any advice on this,
Andrew