Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
I would like to install the most recent version of libdvdcss, in hopes that it might be able to decode one of my newer DVDs. However, it does not have an installer. How do I install the most recent version of libdvdcss?
 

jdogg836

macrumors 6502
Jul 28, 2010
298
219
Oklahoma
I would like to install the most recent version of libdvdcss, in hopes that it might be able to decode one of my newer DVDs. However, it does not have an installer. How do I install the most recent version of libdvdcss?


From the text file included:

In order to install libdvdcss.2.dylib in OS X, you must copy it to

/usr/lib/

ex: put libdvdcss.2.dylib in ~/Downloads

From terminal:

sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/
 

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
Dylib Missing

From the text file included:

In order to install libdvdcss.2.dylib in OS X, you must copy it to

/usr/lib/

ex: put libdvdcss.2.dylib in ~/Downloads

From terminal:

sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/

There's no dylib file in the livdvdcss folder. It's just executables and source code. I wish it was that easy, but it's not.
 

Naio

Cancelled
Apr 2, 2015
75
11
Have you considered doing it with Homebrew?

If you want to install it with Homebrew, follow the instructions on: http://brew.sh

When Homebrew is installed, you can type the following in the Terminal to install libdvdcss:
Code:
brew install libdvdcss
 
  • Like
Reactions: brettmelton

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
I Might Try It

Have you considered doing it with Homebrew?

If you want to install it with Homebrew, follow the instructions on: http://brew.sh

When Homebrew is installed, you can type the following in the Terminal to install libdvdcss:
Code:
brew install libdvdcss

Okay. I think I might try that. It would be nice to see if the most recent version of libdvdcss can copy my DVD of Paul Blart.
 

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
From the text file included:

In order to install libdvdcss.2.dylib in OS X, you must copy it to

/usr/lib/

ex: put libdvdcss.2.dylib in ~/Downloads

From terminal:

sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/
I tried that, but it gave me the response:
cp: directory /user/lib does not exist
 

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
There's no e in "usr".
Joshs-MacBook-Pro:Run jfblagden$ sudo cp ~/Downloads/libdvdcss.2.dylib /usr/lib/

Password:

cp: /Users/jfblagden/Downloads/libdvdcss.2.dylib: No such file or directory
 

chrfr

macrumors G5
Jul 11, 2009
13,680
7,218
cp: /Users/jfblagden/Downloads/libdvdcss.2.dylib: No such file or directory
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
Code:
./configure
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enter
Code:
./configure
again (press return after each of these)
and then type or paste
Code:
sudo make install
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.
 

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
Code:
./configure
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enter
Code:
./configure
again (press return after each of these)
and then type or paste
Code:
sudo make install
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.
I tried that. It worked fine during the configure stage. But when I ran the "sudo make install" command, I got these error messages:
Code:
Joshs-MacBook-Pro:libdvdcss-1.3.99 jfblagden$ sudo make install
Password:
  CC       src/libdvdcss.lo
  CC       src/device.lo
  CC       src/css.lo
  CC       src/ioctl.lo
src/ioctl.c:162:5: warning: missing field 'reserved0008' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:162:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:162:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:298:5: warning: missing field 'reserved0008' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:298:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:298:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:428:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:428:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:428:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:545:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:545:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:545:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:640:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:640:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:640:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:748:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:748:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:748:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:858:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:858:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:858:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:953:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:953:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:953:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1046:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1046:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1046:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1155:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1155:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1155:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1272:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1272:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1272:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
33 warnings generated.
  CC       src/error.lo
  CCLD     libdvdcss.la
./install-sh -c -d '/usr/local/lib'
/bin/sh ./libtool   --mode=install /usr/bin/install -c   libdvdcss.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdvdcss.2.dylib /usr/local/lib/libdvdcss.2.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libdvdcss.2.dylib libdvdcss.dylib || { rm -f libdvdcss.dylib && ln -s libdvdcss.2.dylib libdvdcss.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /usr/local/lib/libdvdcss.la
libtool: install: /usr/bin/install -c .libs/libdvdcss.a /usr/local/lib/libdvdcss.a
libtool: install: chmod 644 /usr/local/lib/libdvdcss.a
libtool: install: ranlib /usr/local/lib/libdvdcss.a
./install-sh -c -d '/usr/local/share/doc/libdvdcss'
/usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/usr/local/share/doc/libdvdcss'
./install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 src/libdvdcss.pc '/usr/local/lib/pkgconfig'
./install-sh -c -d '/usr/local/include/dvdcss'
/usr/bin/install -c -m 644 src/dvdcss/dvdcss.h '/usr/local/include/dvdcss'
 

bradl

macrumors 603
Jun 16, 2008
5,951
17,445
I tried that. It worked fine during the configure stage. But when I ran the "sudo make install" command, I got these error messages:
Code:
Joshs-MacBook-Pro:libdvdcss-1.3.99 jfblagden$ sudo make install
Password:
  CC       src/libdvdcss.lo
  CC       src/device.lo
  CC       src/css.lo
  CC       src/ioctl.lo
src/ioctl.c:162:5: warning: missing field 'reserved0008' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:162:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDCopyrightInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:162:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:298:5: warning: missing field 'reserved0008' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:298:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_read_structure_t, DVDDiscKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:298:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:428:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:428:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDTitleKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:428:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:545:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:545:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationGrantIDInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:545:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:640:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:640:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDChallengeKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:640:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:748:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:748:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDAuthenticationSuccessFlagInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:748:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:858:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:858:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDKey1Info,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:858:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:953:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:953:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDAuthenticationGrantIDInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:953:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1046:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1046:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDChallengeKeyInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1046:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1155:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1155:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_send_key_t, DVDKey2Info,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1155:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
src/ioctl.c:1272:5: warning: missing field 'keyClass' initializer
      [-Wmissing-field-initializers]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
    ^
src/ioctl.h:63:26: note: expanded from macro 'INIT_DVDIOCTL'
    DKDVD_TYPE dvd = { 0 }; \
                         ^
src/ioctl.c:1272:5: warning: suggest braces around initialization of subobject
      [-Wmissing-braces]
    INIT_DVDIOCTL( dk_dvd_report_key_t, DVDRegionPlaybackControlInfo,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioctl.h:64:27: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                          ^
src/ioctl.c:1272:5: warning: missing field 'reserved' initializer
      [-Wmissing-field-initializers]
src/ioctl.h:64:29: note: expanded from macro 'INIT_DVDIOCTL'
    BUFFER_TYPE dvdbs = { 0 }; \
                            ^
33 warnings generated.
  CC       src/error.lo
  CCLD     libdvdcss.la
./install-sh -c -d '/usr/local/lib'
/bin/sh ./libtool   --mode=install /usr/bin/install -c   libdvdcss.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdvdcss.2.dylib /usr/local/lib/libdvdcss.2.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libdvdcss.2.dylib libdvdcss.dylib || { rm -f libdvdcss.dylib && ln -s libdvdcss.2.dylib libdvdcss.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /usr/local/lib/libdvdcss.la
libtool: install: /usr/bin/install -c .libs/libdvdcss.a /usr/local/lib/libdvdcss.a
libtool: install: chmod 644 /usr/local/lib/libdvdcss.a
libtool: install: ranlib /usr/local/lib/libdvdcss.a
./install-sh -c -d '/usr/local/share/doc/libdvdcss'
/usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/usr/local/share/doc/libdvdcss'
./install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 src/libdvdcss.pc '/usr/local/lib/pkgconfig'
./install-sh -c -d '/usr/local/include/dvdcss'
/usr/bin/install -c -m 644 src/dvdcss/dvdcss.h '/usr/local/include/dvdcss'


These are warnings, not errors from the compile, let alone the install. If it were an actual error, make would have bailed out with a specific error code, and indicated where the problem may be.

In this case, warnings are okay, as it did compile cleanly, and did the install. So you are good to go here.

BL.
 
  • Like
Reactions: Toutou

jblagden

macrumors 65816
Original poster
Aug 16, 2013
1,162
641
Currently they show 1.3.0 as their 'current' release. I got the impression that 1.3.99 is beta code.

Did it work with handbrake? That's the important question...
Yeah, libdvdcss 1.3.99 works with Handbrake. The only problem is that it doesn’t come with an installer. Version 1.3.0 has an installer, but version 1.3.99 doesn’t. You have to compile and install it yourself in Terminal, which is a bit of a pain, but at least you can install the latest version of libdvdcss somehow. You might be able to install it via brew.sh, but you’ll have to disable SIP to be able to use that. I don’t want to disable SIP just to be able to use brew.sh again. It was nice, but I’m not sure I want to go through all of the work of disabling SIP just for a program. I’ll disable it for TRIM Enabler and automate-eGPU.sh, but not brew.sh. I know some people are either afraid of using Terminal or are uncomfortable with it, but you’ll become more comfortable with it the more you use it. Besides, if you get a command wrong, you’ll just get a response which is like “what? I didn’t get that. Try again”.

However, I haven’t seen any improvements in libdvdcss. I was hoping it would enable me to copy my Paul Blart DVD, but it didn’t. Maybe it is a beta. I suppose that might be why it doesn’t have an installer. That might also be why only version 1.3.99 can be installed with MacPorts.
 

Tiemmothi

macrumors newbie
Nov 17, 2015
1
0
Is there a way to verify what version of libdvdcss is currently installed? I did the above compile and make and aside from seeing the file is in the proper location is there a way to get any kind of feed back from terminal to check?
 

eizen

macrumors member
Nov 18, 2012
40
6
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
Code:
./configure
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enter
Code:
./configure
again (press return after each of these)
and then type or paste
Code:
sudo make install
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.

Thanks! This worked for me.
 

Belg

macrumors newbie
Feb 13, 2016
2
0
Belgium
If you're downloading 1.3.99, it's just source code and must be compiled. In the directory where you downloaded the libdvdcss files, in Terminal, type:
Code:
./configure
If you don't have Xcode installed, you'll be prompted to download and install the Xcode Command Line Tools, which are required to compile this. Download and install those, then enter
Code:
./configure
again (press return after each of these)
and then type or paste
Code:
sudo make install
and enter your password when prompted. libdvdcss is then compiled and installed to /usr/local/lib rather than /usr/lib, but that's fine.
Great solution really works. Before handbrake crashed after 5% completion. Now it runs without any trouble.
 

co.ag.2005

macrumors 68020
Jun 17, 2009
2,364
1,809
Fort Worth, TX
Great solution really works. Before handbrake crashed after 5% completion. Now it runs without any trouble.

how did you get handbrake to work after installing libdvdcss? I installed 1.4.0 according to post #9 above, but handbrake keep telling me there's no valid source after scanning my dvd for a while. sorry to bring up an old thread!
 

brettmelton

macrumors newbie
Nov 30, 2017
1
0
Have you considered doing it with Homebrew?

If you want to install it with Homebrew, follow the instructions on: http://brew.sh

When Homebrew is installed, you can type the following in the Terminal to install libdvdcss:
Code:
brew install libdvdcss

Dude! Why didn't I think of that. I've tried so many ways to get this installed but never occurred to me to use brew. That worked like a charm. You Rock!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.