[arch-general] Unable to build mplayer with dvdnav support
HI, im trying to build mplayer with dvdnav support but havnt managed yet. Without --enable-dvdnav it will build but configure doesnt find dvdnav, with it it fails to build with this error http://paste.pocoo.org/show/87205/ Iibdvdnav is installed like this: /usr/bin/dvdnav-config /usr/include/dvdnav /usr/include/dvdnav/dvd_reader.h /usr/include/dvdnav/dvd_types.h /usr/include/dvdnav/dvdnav.h /usr/include/dvdnav/dvdnav_events.h /usr/include/dvdnav/ifo_print.h /usr/include/dvdnav/ifo_read.h /usr/include/dvdnav/ifo_types.h /usr/include/dvdnav/nav_print.h /usr/include/dvdnav/nav_read.h /usr/include/dvdnav/nav_types.h /usr/lib/libdvdnav.so /usr/lib/libdvdnav.so.4 /usr/lib/libdvdnav.so.4.0.0 and is version 4.1.3. Now im stuck and cant get it to build
On Mon, Oct 6, 2008 at 6:18 AM, Chris Bannister <c.bannister@gmail.com> wrote:
HI, im trying to build mplayer with dvdnav support but havnt managed yet.
Without --enable-dvdnav it will build but configure doesnt find dvdnav, with it it fails to build with this error http://paste.pocoo.org/show/87205/
Iibdvdnav is installed like this:
/usr/bin/dvdnav-config /usr/include/dvdnav /usr/include/dvdnav/dvd_reader.h /usr/include/dvdnav/dvd_types.h /usr/include/dvdnav/dvdnav.h /usr/include/dvdnav/dvdnav_events.h /usr/include/dvdnav/ifo_print.h /usr/include/dvdnav/ifo_read.h /usr/include/dvdnav/ifo_types.h /usr/include/dvdnav/nav_print.h /usr/include/dvdnav/nav_read.h /usr/include/dvdnav/nav_types.h /usr/lib/libdvdnav.so /usr/lib/libdvdnav.so.4 /usr/lib/libdvdnav.so.4.0.0
and is version 4.1.3. Now im stuck and cant get it to build
If it is actually including <dvdnav.h> and not <dvdnav/dvdnav.h>, you will need to make sure the proper location gets on your Include paths when compiling. -Dan
There are at least two ways. First is to add -I/usr/include/dvdnav to CPFLAGS and possibly to CPPFLAGS. The other one is to replace every ocurence of #include <dvdnav.h> with #inlude <dvdnav/dvdnav.h>, which can be easily done using simple script like this one (not tested, but it should work): find /mplayer/source/directory -name "*.h" -exec sed -i 's|dvdnav\.h|dvdnav/dvdnav\.h|' '{}' ';' 2008/10/6 Dan McGee <dpmcgee@gmail.com>:
On Mon, Oct 6, 2008 at 6:18 AM, Chris Bannister <c.bannister@gmail.com> wrote:
HI, im trying to build mplayer with dvdnav support but havnt managed yet.
Without --enable-dvdnav it will build but configure doesnt find dvdnav, with it it fails to build with this error http://paste.pocoo.org/show/87205/
Iibdvdnav is installed like this:
/usr/bin/dvdnav-config /usr/include/dvdnav /usr/include/dvdnav/dvd_reader.h /usr/include/dvdnav/dvd_types.h /usr/include/dvdnav/dvdnav.h /usr/include/dvdnav/dvdnav_events.h /usr/include/dvdnav/ifo_print.h /usr/include/dvdnav/ifo_read.h /usr/include/dvdnav/ifo_types.h /usr/include/dvdnav/nav_print.h /usr/include/dvdnav/nav_read.h /usr/include/dvdnav/nav_types.h /usr/lib/libdvdnav.so /usr/lib/libdvdnav.so.4 /usr/lib/libdvdnav.so.4.0.0
and is version 4.1.3. Now im stuck and cant get it to build
If it is actually including <dvdnav.h> and not <dvdnav/dvdnav.h>, you will need to make sure the proper location gets on your Include paths when compiling.
-Dan
participants (3)
-
Chris Bannister
-
Dan McGee
-
Lukáš Jirkovský