Roger Pack | 1 Dec 04:54
Picon

Re: assertion failure with certain DVD's

>
> Does it report this error message for both mplayer and VLC (does VLC still
> loop)?

I'm unable to tell if VLC is fixed by it or not.  My "guess" is that
it would be fixed, however, since it fixed mplayer which seemed to be
doing about the same behavior if I commented out the assertion line
that failed.

As a note, when I try to compile libdvdread (as a precursor to
compiling libdvdnav), to then use it to compile VLC, I run into some
snags in building under msys...

$./configure2
./configure2: line 95: cd: /usr/local/: No such file or directory #
needs to be run in bash I believe
Checking if we're big-endian... ./configure2: line 113: mktemp:
command not found # this one might be my fault

Done, type 'make install' to build and install
bash-3.1$ make
sh "/c/dev/ruby/downloads/libdvdread"/version.sh
"/c/dev/ruby/downloads/libdvdread" "4.2.0"
cd obj && gcc -fPIC -DPIC -MD -O3  -g -Wall -funsigned-char
-I/c/dev/ruby/downloads/libdvdread
-I"/c/dev/ruby/downloads/libdvdread"/src -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -DHAVE_DLFCN_H
-I"/c/dev/ruby/downloads/libdvdread"/src -c -o dvd_input.so
/c/dev/ruby/downloads/libdvdread/src/dvd_input.c
c:/dev/ruby/downloads/libdvdread/src/dvd_input.c:1:0: warning: -fPIC
(Continue reading)

Rafaël Carré | 1 Dec 05:54
Favicon

Re: assertion failure with certain DVD's

Le Wed, 30 Nov 2011 20:54:25 -0700,
Roger Pack <rogerdpack2 <at> gmail.com> a écrit :

> >
> > Does it report this error message for both mplayer and VLC (does VLC still
> > loop)?
> 
> I'm unable to tell if VLC is fixed by it or not.  My "guess" is that
> it would be fixed, however, since it fixed mplayer which seemed to be
> doing about the same behavior if I commented out the assertion line
> that failed.
> 
> As a note, when I try to compile libdvdread (as a precursor to
> compiling libdvdnav), to then use it to compile VLC, I run into some
> snags in building under msys...
> 
> $./configure2
> ./configure2: line 95: cd: /usr/local/: No such file or directory #
> needs to be run in bash I believe

Nope, you need to set the install prefix with --prefix=blabla

> Checking if we're big-endian... ./configure2: line 113: mktemp:
> command not found # this one might be my fault
> 
> Done, type 'make install' to build and install
> bash-3.1$ make
> sh "/c/dev/ruby/downloads/libdvdread"/version.sh
> "/c/dev/ruby/downloads/libdvdread" "4.2.0"
> cd obj && gcc -fPIC -DPIC -MD -O3  -g -Wall -funsigned-char
(Continue reading)

John Stebbins | 1 Dec 08:38

Re: [PATCH] use newer dll name

On 11/30/2011 01:50 PM, Erik Hovland wrote:
> On Wed, Nov 30, 2011 at 10:56 AM, Roger Pack<rogerdpack2@...>  wrote:
>> For some reason on windows the dll name these days is almost always
>> libdvdcss-2.dll
>> instead of
>> libdvdcss.dll
>> (gstreamer, xbmc, etc.)
>> This patch seems to work, and would make it to match, which seems
>> better from my vantage.
> Is there any way to tell which file name should be used? Is there
> a patch like this in either handbrake or VLC? I suspect VLC doesn't care
> because they just hook dvdcss into the library w/ the patch that
> Rafael reported to us.
>
> E
>
HandBrake doesn't officially support usng dvdcss on windows.  Users that 
care enough to make it work just rename the dll.
Roger Pack | 1 Dec 19:18
Picon

cross/mingw compilation (was assertion failure with certain DVD's)

>> $./configure2
>> ./configure2: line 95: cd: /usr/local/: No such file or directory #
>> needs to be run in bash I believe
>
> Nope, you need to set the install prefix with --prefix=blabla

Sweet that fixed it, as long as the prefix exists, otherwise same
error message different path :)

>> Checking if we're big-endian... ./configure2: line 113: mktemp: command not found

This meant I didn't have msys installed, only mingw (my bad).

>> Done, type 'make install' to build and install

>> (appears to set HAVE_DLFCN_H in error)
>
> Without using autotools, dlfcn.h presence is not detected

Is there a way to use autotools with libdvdread?  I'm a bit lost, as
is evident.  though I can work around it for now.  This actually makes
me wonder how anybody is compiling it for their windows distros today.
 I know mplayer just uses the src directory and its own configs (which
work), dunno about VLC/others.  It seems like both msys and cross
compiling don't work, or can somebody give me an example of how they
do work, somehow?

> ./msvc/config.h:#define HAVE_DLFCN_H 1
>
> And it is assumed to exist (is this file made for Visual Studio?)
(Continue reading)

Rafaël Carré | 1 Dec 19:27
Favicon

Re: cross/mingw compilation (was assertion failure with certain DVD's)

Le Thu, 1 Dec 2011 11:18:59 -0700,
Roger Pack <rogerdpack2 <at> gmail.com> a écrit :

> >> $./configure2
> >> ./configure2: line 95: cd: /usr/local/: No such file or directory #
> >> needs to be run in bash I believe
> >
> > Nope, you need to set the install prefix with --prefix=blabla
> 
> Sweet that fixed it, as long as the prefix exists, otherwise same
> error message different path :)
> 
> >> Checking if we're big-endian... ./configure2: line 113: mktemp: command not found
> 
> This meant I didn't have msys installed, only mingw (my bad).
> 
> >> Done, type 'make install' to build and install
> 
> >> (appears to set HAVE_DLFCN_H in error)
> >
> > Without using autotools, dlfcn.h presence is not detected
> 
> Is there a way to use autotools with libdvdread?

Yep, use ./configure and not ./configure2

>  I'm a bit lost, as
> is evident.  though I can work around it for now.  This actually makes
> me wonder how anybody is compiling it for their windows distros today.
>  I know mplayer just uses the src directory and its own configs (which
(Continue reading)

Roger Pack | 1 Dec 20:37
Picon

Re: cross/mingw compilation (was assertion failure with certain DVD's)

>> Is there a way to use autotools with libdvdread?
>
> Yep, use ./configure and not ./configure2

Oh gotcha.  I saw configure2 and didn't notice the configure.ac file.

Using autoconf does create a ./configure file

Running it outputs the following:
$ ./configure
/configure: line 2153: syntax error near unexpected token `1.6'
/configure: line 2153: `AM_INIT_AUTOMAKE(1.6)'

(same in Linux, though configure2 does work in Linux).

Any thoughts?
Thanks.
-roger-
Rafaël Carré | 1 Dec 20:45
Favicon

Re: cross/mingw compilation (was assertion failure with certain DVD's)

Le Thu, 1 Dec 2011 12:37:55 -0700,
Roger Pack <rogerdpack2 <at> gmail.com> a écrit :

> >> Is there a way to use autotools with libdvdread?
> >
> > Yep, use ./configure and not ./configure2
> 
> Oh gotcha.  I saw configure2 and didn't notice the configure.ac file.
> 
> Using autoconf does create a ./configure file
> 
> Running it outputs the following:
> $ ./configure
> /configure: line 2153: syntax error near unexpected token `1.6'
> /configure: line 2153: `AM_INIT_AUTOMAKE(1.6)'
> 
> (same in Linux, though configure2 does work in Linux).
> 
> Any thoughts?
> Thanks.
> -roger-

install automake, possibly libtool too to be sure, try to run autoreconf

--

-- 
Rafaël Carré
_______________________________________________
DVDnav-discuss mailing list
DVDnav-discuss <at> mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
(Continue reading)

Roger Pack | 1 Dec 21:04

Re: cross/mingw compilation (was assertion failure with certain DVD's)

> install automake, possibly libtool too to be sure, try to run autoreconf

appears from apt-get that I have the latest installed.

running autoreconf in Linux:

$ autoreconf
autlibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
oconf
configure.ac:26: required file `./config.guess' not found
configure.ac:26:   `automake --add-missing' can install `config.guess'
configure.ac:26: required file `./config.sub' not found
configure.ac:26:   `automake --add-missing' can install `config.sub'
configure.ac:22: required file `./install-sh' not found
configure.ac:22:   `automake --add-missing' can install `install-sh'
configure.ac:22: required file `./missing' not found
configure.ac:22:   `automake --add-missing' can install `missing'
src/Makefile.am: required file `./depcomp' not found
src/Makefile.am:   `automake --add-missing' can install `depcomp'
autoreconf: automake failed with exit status: 1

My guess is that people only use configure2 these days, or something...
Thanks for your help BTW.
-roger-
Rafaël Carré | 1 Dec 21:14
Favicon

Re: cross/mingw compilation (was assertion failure with certain DVD's)

Le Thu, 1 Dec 2011 13:04:13 -0700,
Roger Pack <rogerdpack2 <at> gmail.com> a écrit :

> > install automake, possibly libtool too to be sure, try to run autoreconf
> 
> appears from apt-get that I have the latest installed.
> 
> running autoreconf in Linux:
> 
> $ autoreconf
> autlibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> oconf
> configure.ac:26: required file `./config.guess' not found
> configure.ac:26:   `automake --add-missing' can install `config.guess'
> configure.ac:26: required file `./config.sub' not found
> configure.ac:26:   `automake --add-missing' can install `config.sub'
> configure.ac:22: required file `./install-sh' not found
> configure.ac:22:   `automake --add-missing' can install `install-sh'
> configure.ac:22: required file `./missing' not found
> configure.ac:22:   `automake --add-missing' can install `missing'
> src/Makefile.am: required file `./depcomp' not found
> src/Makefile.am:   `automake --add-missing' can install `depcomp'
> autoreconf: automake failed with exit status: 1
> 
> 
> My guess is that people only use configure2 these days, or something...
> Thanks for your help BTW.
> -roger-
(Continue reading)

Roger Pack | 1 Dec 22:41
Picon

Re: cross/mingw compilation (was assertion failure with certain DVD's)

> or just run automake --add-missing like suggested (agreed it's not
> exactly explicit, that's one of numerous autoconf problems)

Nice.
On Linux this clear it up:

$ autoreconf
$ automake --add-missing
$ autoreconf

in mingw I don't get the libtoolize messages:

$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

and so it still fails, but at least I have a working cross compiler now, thanks!

Also I noticed that linking libdvdnavmini is missing the "-ldvdread"
for some reason, for it fails..

-roger-

Gmane