Beim Versuch das Softdevice Plugin (latest CVS) zu uebersetzen fuehre ich zuerst
./configure
im Plugin Verzeichnis aus. Ich bekomme
Code
Checking for ffmpeg... Not found.
No usable ffmpeg library found in /usr/local/include/ffmpeg.
Specify the path to your ffmpeg installation using --with-ffmpeg-path
or use a more recent (cvs) version of ffmpeg with pkg-config.
For details check config.log.
config.log sieht dann so aus:
Code
Parameters ''
PKG_CONFIG_PATH '/usr/local/lib/pkgconfig'
Checking for ffmpeg.------------------------------------
try to use pkg-config.
./configure: line 114: pkg-config: command not found
./configure: line 116: pkg-config: command not found
./configure: line 117: pkg-config: command not found
/tmp/softdevice-conf-4054-5508-12064.c:2:21: error: avcodec.h: No such file or directory
/tmp/softdevice-conf-4054-5508-12064.c:3:22: error: avformat.h: No such file or directory
/tmp/softdevice-conf-4054-5508-12064.c: In function ‘int main()’:
/tmp/softdevice-conf-4054-5508-12064.c:11: error: ‘avcodec_init’ was not declared in this scope
/tmp/softdevice-conf-4054-5508-12064.c:12: error: ‘avcodec_register_all’ was not declared in this scope
pkg-config failed, try the default/parameter path.
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
Still failed. Maybe avutils is needed?
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
No. Sorry giving up.
Alles anzeigen
Ich habe zuvor ffmpeg (latest SVN) compiliert und installiert und es gibt:
Code
ondrej@ondrej-laptop:/usr/local/include/ffmpeg$ ls -l
total 160
-rw-r--r-- 1 root root 77421 2006-07-08 16:01 avcodec.h
-rw-r--r-- 1 root root 20450 2006-07-08 16:01 avformat.h
-rw-r--r-- 1 root root 6365 2006-07-08 16:01 avio.h
-rw-r--r-- 1 root root 2927 2006-07-08 16:01 avutil.h
-rw-r--r-- 1 root root 14436 2006-07-08 16:01 common.h
-rw-r--r-- 1 root root 1529 2006-07-08 16:01 integer.h
-rw-r--r-- 1 root root 435 2006-07-08 16:01 intfloat_readwrite.h
-rw-r--r-- 1 root root 888 2006-07-08 16:01 mathematics.h
-rw-r--r-- 1 root root 325 2006-07-08 16:01 md5.h
-rw-r--r-- 1 root root 1988 2006-07-08 16:01 rational.h
-rw-r--r-- 1 root root 3549 2006-07-08 16:01 rtp.h
-rw-r--r-- 1 root root 617 2006-07-08 16:01 rtspcodes.h
-rw-r--r-- 1 root root 3055 2006-07-08 16:01 rtsp.h
Alles anzeigen
Also warum laeuft das configure script nicht durch ? Kann mir da jemand helfen ?
Malden