LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-20-2007, 12:21 AM   #1
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Rep: Reputation: 21
Cannot play dvds or install libdvdcss


I couldn't get the dvd player that came with Ubuntu to work, so I installed Kaffeine, but I'm still having a problem (I'm not sure, but I think the problem with both Kaffeine and Totem are the same).

I downloaded libdvdcss, and followed the instructions, but after running ./configure --prefix=/usr it gave me this--

Quote:
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I looked at config.log, but I have no idea what any of it meant. I'd post it here, but it's really long, so let me know if I need to copy-paste that.

Thanks in advance.
 
Old 10-20-2007, 01:48 AM   #2
jagwah
LQ Newbie
 
Registered: Jun 2006
Location: Australia
Distribution: SimplyMEPIS 8.0, debian 5.0
Posts: 22

Rep: Reputation: 15
Follow [edit 2]

Why are you trying to compile it? It would be much better if you just got it through the repo's via Synaptic/apt-get, or downloaded the .deb.

I'm not sure now, but if you set up the correct repo's, isn't it available through Synaptic/apt-get? (Multimedia repo's)

You can download the .deb here, http://download.videolan.org/pub/libdvdcss/1.2.9/deb/
it's just a matter of installing it then. But by far the best way is to do it via Synaptic/apt-get. I'm not on Ubuntu at the moment so I can't check.

[edit]libdvdcss2_1.2.9-1_i386.deb is the one you want, not the -dev one

[edit 2]Go here and follow the instructions to set up your multimedia repo's for Ubuntu, once you've done that, you'll be able to install dvdcss with a couple of clicks, and everything is done for you
https://help.ubuntu.com/community/Medibuntu

Remember, installing software via Synaptic/apt-get/Ubuntu repo's, is by far the easiest way to do it. Generally speaking, everything is done for you, dependencies are taken care of, everything. It's a no brainer.

Compiling from source isn't really that hard, but you must learn to do it, and how to deal with the little problems that may pop up, it is a good learning experience though. You might only want to try it when it is absolutely necessary, for example there is something you need, which isn't available via Synaptic/apt-get, the repo's, or pre-compiled binary, or if you have a test machine

Anyway, good luck.

Last edited by jagwah; 10-20-2007 at 02:07 AM.
 
Old 10-21-2007, 08:57 PM   #3
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Well, when I try that deb file, I get an error that it's the wrong architecture. Is there one of those for amd64?

I'm not understanding the medibuntu page at all. Like, in the "installing individual package" section, it directs to a page where there are a lot of .deb packages, and I don't know which one to install. Does that make any sense? The directions just don't match what's on my screen. I tried browsing around in those folders, but there are so many deb packages that I don't know which one to use.
 
Old 10-22-2007, 02:35 AM   #4
jagwah
LQ Newbie
 
Registered: Jun 2006
Location: Australia
Distribution: SimplyMEPIS 8.0, debian 5.0
Posts: 22

Rep: Reputation: 15
[Edit] First off, are you using ubuntu 7.04? I was just assuming you were using the latest, but I just read your sig.

Quote:
Is there one of those for amd64?
Ah, sorry, I don't even think of 64.

What you have got to do is set up your repositories to use with Synaptic or apt-get or whatever. You do use Synaptic don't you? It's basically a nice easy to use front end for apt.

All you would have to do, is open a terminal/konsole, whatever you like to call it, and type in the following, just copy and paste it out of the code boxes is fine

If you use Ubuntu Feisty Fawn 7.04
Code:
sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list
If you use Ubuntu Gutsy Gibbon 7.10
Code:
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
hit enter, then type in the following, regardless of what version Ubuntu you use

Code:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
hit enter, now you will have the Mediabuntu sources set up, all that is left to do is install libdvdcss2, you can do that either via the console by typing in the following,

Code:
sudo apt-get install libdvdcss2
hit enter, and just sit back and wait until it's done. Or you can do it via Synaptic, just fire up Synaptic, it's a good idea to reload the sources/repositories list, just hit the reload (whatever it's called) button, then in the search field, just type in libdvdcss, or just dvdcss, hit enter, then select it once it is found, mark it for installation, hit apply, sit back, it will download and install it for you. That should be it.

One question, are you familiar with setting up your sources/Repositories for installing extra software and updates? and using Synaptic?

Last edited by jagwah; 10-22-2007 at 02:57 AM.
 
Old 10-22-2007, 05:13 AM   #5
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
You want libdvdcss2 from the medibuntu repos. It works with amd64. You'll also probably want w64codecs as well.

If you don't want to add the repo, you can always just download the .deb from http://packages.medibuntu.org.
 
Old 10-22-2007, 03:03 PM   #6
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Ah, great, I got it working, thanks to those commands you listed. I can't get menus, but that doesn't really matter to me.

Yes, I'm using 7.04 instead of 7.10. I saw 7.10 when I downloaded it, but since it was still beta I figured it'd be better for me to use 7.04 since I'm so unfamiliar with it.

Quote:
One question, are you familiar with setting up your sources/Repositories for installing extra software and updates? and using Synaptic?
Well, I've used Synaptic with SimplyMEPIS before I switched to Ubuntu, but as for setting up sources/Repositories, nope I don't think I've done that. I suppose it's possible that I've done that without knowing what I was doing, but it doesn't sound familiar.

Anyway, thanks for helping me getting it to work!
 
Old 10-23-2007, 02:09 AM   #7
jagwah
LQ Newbie
 
Registered: Jun 2006
Location: Australia
Distribution: SimplyMEPIS 8.0, debian 5.0
Posts: 22

Rep: Reputation: 15
You should really make sure you set up your repositories, then install Synaptic, (can't remember, but it might not be installed by default) then you will have available to you so much software in so many categories, it's just awesome. Even after using Linux for a couple of years, I'm still amazed by the amount of stuff you can get.

At the very least, install Synaptic if it is not already, you can do this via typing the following in a terminal/console

Code:
sudo apt-get install synaptic
Then fire it up, and look through the menu's for 'Manage Repositories' (I think it is), go in, enable all the available repo's, then when you exit the Manage repo's thing, reload the sources/repo's list, this makes sure it is up to date, and is a good thing to do daily. Then, enjoy.

Glad you got it going, and glad I could be of some help.





oh, and if you get the chance, try Ubuntu 7.10, it's real nice.
 
Old 10-23-2007, 02:51 AM   #8
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
Synaptic is installed by default on Ubuntu. Adding repositories within Synaptic adds them to your sources.list file, so you really don't need to add the repos first.

Ubuntu 7.10 is no longer in beta by the way.
 
Old 10-23-2007, 01:44 PM   #9
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Quote:
Ubuntu 7.10 is no longer in beta by the way.
That's good to know, I'll update when I have the time.

I always forget that Synaptic is there, mostly because I'm not fully aware of what it's capable of. Thanks again for all the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libdvdcss -- I can play some DVDs, but not others! Adrohak Linux - Software 38 05-10-2007 09:53 AM
Libdvdcss errors on unencrypted DVDs cothrige Linux - Software 0 08-27-2006 02:13 AM
mplayer/libdvdcss does not play DVDs snooo Slackware 1 08-05-2004 08:52 AM
Totem with libdvdcss still not playing dvds marsonist Linux - Software 1 04-05-2004 03:08 PM
Cannot play DVDs even with libdvdcss! BlueCarrot Linux - Software 8 12-29-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration