error running"sudo /usr/share/doc/libdvdread3/install-css.sh"

Asked by gaddo

When running the following cmd
sudo /usr/share/doc/libdvdread3/install-css.sh
the script has error as follows (at the bottom)

 sudo /usr/share/doc/libdvdread3/install-css.sh
No prebuilt binary available. Will try to build and install it.
You need to have debhelper and fakeroot installed.
If not, interrupt now, install them and rerun this script.

This is higly experimental, look out for what happens below.
If you want to stop, interrupt now (control-c), else press
return to proceed

--21:01:58-- http://www.dtek.chalmers.se/groups/dvd/deb/libdvdcss_1.2.5.orig.tar.gz
           => `libdvdcss_1.2.5.orig.tar.gz'
Resolving www.dtek.chalmers.se... 129.16.30.198
Connecting to www.dtek.chalmers.se|129.16.30.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 267,699 (261K) [application/x-tar]

100%[====================================>] 267,699 280.35K/s

21:01:59 (279.56 KB/s) - `libdvdcss_1.2.5.orig.tar.gz' saved [267699/267699]

--21:01:59-- http://www.dtek.chalmers.se/groups/dvd/deb/libdvdcss_1.2.5-1.diff.gz
           => `libdvdcss_1.2.5-1.diff.gz'
Resolving www.dtek.chalmers.se... 129.16.30.198
Connecting to www.dtek.chalmers.se|129.16.30.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20 [text/plain]

100%[====================================>] 20 --.--K/s

21:02:00 (1.36 MB/s) - `libdvdcss_1.2.5-1.diff.gz' saved [20/20]

--21:02:00-- http://www.dtek.chalmers.se/groups/dvd/deb/libdvdcss_1.2.5-1.dsc
           => `libdvdcss_1.2.5-1.dsc'
Resolving www.dtek.chalmers.se... 129.16.30.198
Connecting to www.dtek.chalmers.se|129.16.30.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 341 [text/plain]

100%[====================================>] 341 --.--K/s

21:02:00 (695.21 KB/s) - `libdvdcss_1.2.5-1.dsc' saved [341/341]

dpkg-source: warning: extracting unsigned source package (./libdvdcss_1.2.5-1.dsc)
dpkg-source: extracting libdvdcss in libdvdcss-1.2.5
dpkg-source: unpacking libdvdcss_1.2.5.orig.tar.gz
dpkg-source: applying ./libdvdcss_1.2.5-1.diff.gz
dh_testdir
./configure --prefix=/usr --mandir=${prefix}/share/man \
                --infodir=${prefix}/share/info
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [build-stamp] Error 77

Anyone know what it is and how to fix?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
gaddo
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Seems you are missing some basic development tools, try installing the package build-essential.
Note that you might be better off by installing the package directly from the medibuntu repository:

https://help.ubuntu.com/community/Medibuntu

Revision history for this message
gaddo (gaddofly-googlemail) said :
#2

That did it
Thanks

Revision history for this message
Mayuresh Kshirsagar (mayuresh-kshirsagar) said :
#3

I stumbled with this same problem, and following the documentation as it is didn't help until I goggle'd and got to this page. Do you think we should put this in the documentation as a precondition, as fakeroot and debhelper?