Page 1 of 1

how to compile libbluray?

Posted: 04 Aug 2010 10:02
by tropalor
Hi,

I now see that we can test libbluray:
http://www.videolan.org/developers/libbluray.html

But once I recovered the files, I can not compile.

Code: Select all

cd libbluray make make: *** No targets specified and no makefile found. Stop. make install make: *** No rule to make target 'install'. Stop. sudo ./premake --install sudo: ./premake: command not found ./configure bash : No such file or Directory exists
So please how to?

Thank you

Re: how to compile libbluray?

Posted: 04 Aug 2010 15:52
by Jean-Baptiste Kempf
./bootstrap

Re: how to compile libbluray?

Posted: 04 Aug 2010 19:52
by tropalor

Code: Select all

./bootstrap ./bootstrap: 3: autoreconf: not found
:(

Re: how to compile libbluray?

Posted: 04 Aug 2010 22:41
by Jean-Baptiste Kempf
Then install autoconf...

Re: how to compile libbluray?

Posted: 05 Aug 2010 09:45
by tropalor
Thank you

Code: Select all

aptitude install autoconf libtool

Code: Select all

~/libbluray$ ./bootstrap Can't exec "libtoolize": Aucun fichier ou dossier de ce type at /usr/bin/autoreconf line 189. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 189. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force configure.ac:65: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 hackurx@admin:~/libbluray$ ./bootstrap autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --install --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/config.guess' libtoolize: copying file `build-aux/config.sub' libtoolize: copying file `build-aux/install-sh' libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:6: installing `build-aux/missing' src/Makefile.am: installing `build-aux/depcomp' autoreconf: Leaving directory `.'
:cry:

Re: how to compile libbluray?

Posted: 05 Aug 2010 10:21
by Jean-Baptiste Kempf
All seems fine. Configure and make now.

Re: how to compile libbluray?

Posted: 05 Aug 2010 11:44
by tropalor
Thank you very much.
No problem for "configure" and "make"
By cons, if I "make install", how to works libbluray?
Sorry I not find a tutorial Explaining how to use it. :oops:

Re: how to compile libbluray?

Posted: 05 Aug 2010 15:36
by tropalor
I tried to compile but I do not know how, I just download vlc git and type this:

Code: Select all

./configure --enable-libbluray configure: WARNING: unrecognized options: --enable-libbluray checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes .....
Do I copy files in the vlc folder for add libbluray?

Thank you

Re: how to compile libbluray?

Posted: 05 Aug 2010 22:21
by tropalor
How do I add libbluray in VLC and Mplayer?

Thank you

Re: how to compile libbluray?

Posted: 07 Aug 2010 10:30
by tropalor
I found a site (in French) but he said nothing more for now there are also blocked :cry:
http://doc.ubuntu-fr.org/libbluray

Please help me...

Re: how to compile libbluray?

Posted: 26 Aug 2010 21:42
by diafygi
I found a site (in French) but he said nothing more for now there are also blocked :cry:
http://doc.ubuntu-fr.org/libbluray
In the instructions (English translation) it says that once you compile libbluray, you can use it in a player that has uses libbluray. So how do you enable libbluray in VLC? Instructions? In which version of VLC did libbluray start being supported?

Re: how to compile libbluray?

Posted: 27 Aug 2010 04:15
by RĂ©mi Denis-Courmont
VLC does not support libbluray currently.

Re: how to compile libbluray?

Posted: 23 Sep 2010 19:49
by diafygi
FYI, I saw that experimental libbluray support was added to vlc.

Re: how to compile libbluray?

Posted: 24 Sep 2010 00:38
by Jean-Baptiste Kempf
indeed.

Compile and install libbluray, reconfigure vlc.

Re: how to compile libbluray?

Posted: 04 Oct 2010 09:46
by tropalor
YES thank you ! ! ! I installed libbluray but how do with vlc?
I have never installed a patch.

Re: how to compile libbluray?

Posted: 10 Oct 2010 19:15
by Jean-Baptiste Kempf
Use vlc 1.2.0-git version of VLC.

Re: how to compile libbluray?

Posted: 18 Oct 2010 09:43
by HacKurx
hi,

I updated the documentation on the ubuntu-fr.org site:
http://doc.ubuntu-fr.org/libbluray
http://doc.ubuntu-fr.org/libaacs

It is in French.

Re: how to compile libbluray?

Posted: 16 Sep 2012 14:38
by PMKnecht
Hi,

i followed your instruction and the compile process was successful. Anyway i do not get the libaacs.dll, but i have a libaacs.dll.a. The example binaries are also created as well.
What am i do wrong?

Re: how to compile libbluray?

Posted: 16 Sep 2012 19:17
by Jean-Baptiste Kempf
Look at your .libs/ folder?

Re: how to compile libbluray?

Posted: 17 Sep 2012 10:45
by PMKnecht
yes, i have a cygaacs-0.dll there a bunch of object files (aacs, crypto, file_posix, keydbcfg, -lexer, -parser, logging, mkb, mmc, strutl, xdg) and libaacs.a, libaaca.la, libaacs.lai and libaacs.dll.a.

Neither configure nor the make script was listing an error.

Re: how to compile libbluray?

Posted: 04 Apr 2014 07:48
by Inmate #001
edit:
ooops, n/m this is in the wrong forum lmao.