[vlc-devel] Comments on latest CVS

Robert CHERAMY robert at cheramy.net
Thu Nov 28 02:17:52 CET 2002


I encountered some problems by building vlc (I use last CVS check out of
vlc, ffmpeg and libdvdcss). I hope this (long) mail will be clear
enought. Ask for more precision if needed.

ffmpeg is configured like this :
./configure --prefix=/share/local --enable-shared
make install

* first try : configuration of vlc (I ran ./bootstrap after my co) :
./configure --enable-gtk --enable-mad --enable-ffmpeg --prefix=/share/local/ --with-ffmpeg=/share/local/ --with-dvdcss=/share/local

[Wishlist note : would it be possible to test @prefix@ as default path for the
libraries ? It would be cool to avoid --with-ffmpeg=/share/local/ and

I encounter a compilation error on modules/codec/ffmpeg/ffmpeg.c ; the
first error line states :
modules/codec/ffmpeg/ffmpeg.c:41: avcodec.h: No such file or directory

In configure.ac, I see under ffmpeg item :
    CPPFLAGS_ffmpeg="${CPPFLAGS_ffmpeg} -I${with_ffmpeg}/include/libffmpeg"

But avcodec.h is in /share/local/include/ffmpeg on my disk.
Perhaps this changed between 2 versions of ffmpeg ?

* second try : I used --with-ffmpeg-tree :
./configure --enable-gtk --enable-mad --enable-ffmpeg --prefix=/share/local/ --with-ffmpeg-tree=/share/local/src/ffmpeg/ --with-dvdcss=/share/local

Compilation (make) is OK.

But "make install" fails on 2 points :

* first
 /usr/bin/install -c -m 644 lib/libvlc.a /share/local//lib/lib/libvlc.a
/usr/bin/install: cannot create regular file `/share/local//lib/lib/libvlc.a': No such file or directory

"mkdir -p /share/local//lib/lib/" Solves this point. But there may be a
problem here (I don't see the point to create @prefix@/lib/lib/)

* after runinng make install again :
 /usr/bin/install -c -m 644 modules/codec/ffmpeg/libffmpeg.a /share/local//lib/vlc/modules/codec/ffmpeg/libffmpeg.a
/usr/bin/install: cannot create regular file `/share/local//lib/vlc/modules/codec/ffmpeg/libffmpeg.a': No such file or directory

"mkdir -p /share/local//lib/vlc/modules/codec/ffmpeg/" solves the
problem. Again, is this OK ? (I see no other modules in this dir)

Well. And then vlc works great, I can see the AVIs created by my digital
camera (Canon powershot S30) (with no sound yet, but it may be my fault,
I have not investigated yet). Thanks a lot for MJPEG support, fenrir !

And thanks to all vlc developpers !

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list