[DVDnav-discuss] quick explanation needed
gui42
gui42 at free.fr
Sat Jul 28 11:21:02 CEST 2007
Hi
> you did the wrong thing. I modified mplayer to use dvdnav-config --minilibs
> for a very good reason (remove the embedded dvdread and permit to
> use the system-wide one, more likely to be up to date).
ok, here is what I tried this morning :
1) Install a libdvdcss package
2) Compile libdvdread
./configure --prefix=/usr --with-libdvdcss=/usr
make
make install
cd ..
3) Compile libdvdnav
svn checkout svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
cd libdvdnav
./configure2 --prefix=/usr --enable-shared --disable-static
--with-dvdread=/usr/include/dvdread/
make
make install
cd ..
ldconfig
4) Compile mplayer (or try, btw !)
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/
cd trunk
./configure --enable-gui --enable-menu --prefix=/usr --confdir=/etc
--language=fr --disable-dvbhead --disable-arts --disable-ossaudio
--disable-esd --disable-polyp --disable-jack --disable-smb --disable-ftp
--disable-tv-v4l2 --enable-dynamic-plugins --disable-dvdread-internal
--with-dvdnav-config=/usr/bin/dvdnav-config
and here is the result in configure.log :
============ Checking for DVD support (libdvdnav) ============
4.1.1
-L/usr/lib -ldvdnav -lpthread
#include <inttypes.h>
#include <dvdnav.h>
int main(void) { dvdnav_t *dvd=0; return 0; }
cc -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11/include
-I/usr/include/ -I/usr/include/SDL -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -L/usr/lib -L/usr/lib -Wl,-z,noexecstack
/usr/lib/live/liveMedia/libliveMedia.a
/usr/lib/live/groupsock/libgroupsock.a
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a
/usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lncurses -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread
-ldvdread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig
-L/usr/lib -lfribidi -lz -lmad -ltheora -logg -lmpcdec -lstdc++ -ldv
-lxvidcore -lm -lpthread -ldl -rdynamic -lXext -lX11 -lpthread -lXv
-lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -lcaca -lcucul -lvga
-Wl,-rpath,/usr/lib -lSDL -lpthread -lfaac -lx264 -lpthread -lmp3lame
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -lglib-2.0 -lfaac -lx264 -lpthread -lmp3lame -o
/tmp/mplayer-conf-26075-29314.o /tmp/mplayer-conf-26592-29314.c
-I/usr/include -I/usr/include/dvdnav -I/usr/include/dvdread/
-DDVDNAV_USES_EXTERNAL_DVDREAD -L/usr/lib -ldvdnav -ldvdread -lpthread
-ldl -lpthread
/tmp/mplayer-conf-26592-29314.c: In function 'main':
/tmp/mplayer-conf-26592-29314.c:3: warning: unused variable 'dvd'
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:
cannot find -ldvdnav
collect2: ld returned 1 exit status
Result is: no
##################################
What is wrong with what I do ? :-(
Thanks, have a nice day,
Guillaume
More information about the DVDnav-discuss
mailing list