LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2006, 06:57 PM   #1
sandman545
Member
 
Registered: May 2005
Posts: 43

Rep: Reputation: 15
Exclamation libdvdcss


Ok im fallowing the instructions on this site http://www.thejemreport.com/mambo/content/view/178/42/ for the 64 bit users to install libdvdcss iv done
rpmbuild --rebuild --target=x86_64 /home/sandman/downloads/libdvdcss-1.2.9-1.src.rpm
and that went ok i think (see information below)

i cant do step 2
rpm -ihv /home/user/downloads/libdvdcss2-1.2.9-1.x86_64.rpm


i get this on step 2

linux:/home/sandman/downloads # rpm -ihv /home/sandman/downloads/libdvdcss2-1.2.9-1.x86_64.rpm
error: open of /home/sandman/downloads/libdvdcss2-1.2.9-1.x86_64.rpm failed: No such file or directory


how should i go about doing this install

Thanx


......................information.........................


Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/libdvdcss-1.2.9-1-root
Wrote: /usr/src/packages/RPMS/x86_64/libdvdcss2-1.2.9-1.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/libdvdcss2-devel-1.2.9-1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.64736
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd libdvdcss-1.2.9
+ '[' /var/tmp/libdvdcss-1.2.9-1-root '!=' / ']'
+ rm -Rf /var/tmp/libdvdcss-1.2.9-1-root
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.64736
+ umask 022
+ cd /usr/src/packages/BUILD
+ rm -rf libdvdcss-1.2.9
+ exit 0
linux:/home/sandman/downloads
 
Old 02-21-2006, 07:55 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
why don't you move the file into that dir then run ur stuff, instead of redirecting the output. I would also use the tab key when running
rpm -ihv /home/user/downloads/libdvdcss2-1.2.9-1.x86_64.rpm

to be sure u are calling the correct location and file
 
Old 02-21-2006, 08:00 PM   #3
sandman545
Member
 
Registered: May 2005
Posts: 43

Original Poster
Rep: Reputation: 15
im sorry what directory do you mean??

the file is at

/home/sandman/downloads
 
Old 02-21-2006, 09:10 PM   #4
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Hi sandman545,

If you can't install the file with the command:

Quote:
# rpm -ihv /home/sandman/downloads/livdvdcss2-1.2.9-1.x86_64.rpm
then most likely you have typed wrong the filename.

One tip, if you have only one file that starts with livdvd in your directory and you type rpm -ihv /home/sandman/downloads/livdvd and then you press TAB, the bash shell will complete the file name for you, so you avoid typing it all without worrying about points or numbers. This is bash file-name completion.

Last edited by victorh; 02-21-2006 at 09:18 PM.
 
Old 02-21-2006, 10:18 PM   #5
sandman545
Member
 
Registered: May 2005
Posts: 43

Original Poster
Rep: Reputation: 15
victorh and bosewicht the tab thing did work

ok i made a little progress

linux:/home/sandman/downloads # rpm -ihv /home/sandman/downloads/libdvdcss-1.2.9-1.src.rpm
1:libdvdcss warning: user sam does not exist - using root
warning: group sam does not exist - using root
warning: user sam does not exist - using root 98%)
warning: group sam does not exist - using root
########################################### [100%]
linux:/home/sandman/downloads #


So did it install or what i couldnt find it in yast so i guess not


What should i do next
 
Old 02-22-2006, 07:50 AM   #6
sandman545
Member
 
Registered: May 2005
Posts: 43

Original Poster
Rep: Reputation: 15
sry but bump! need alittle more help
 
Old 02-22-2006, 06:51 PM   #7
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
It seems that you have installed the package libdvd.css-1.2.9-1.src.rpm.

This is I believe the rpm with the source code of this package. So you skip one step, do first:

Quote:
rpmbuild --rebuild --target=x86_64 /home/sandman/downloads/libdvdcss-1.2.9-1.src.rpm
and then:

Quote:
rpm -ihv /home/sandman/downloads/libdvdcss2-1.2.9-1.x86_64.rpm
again watch out the exact name of the file that is created in the first step.
 
Old 02-22-2006, 09:27 PM   #8
sandman545
Member
 
Registered: May 2005
Posts: 43

Original Poster
Rep: Reputation: 15
Installed and happy


i tracked it down and it went to

/usr/src/packages/RPMS/x86_64/
thought i would tell in case someone found this useful

linux:/home/sandman/downloads # rpm -ihv /usr/src/packages/RPMS/x86_64/libdvdcss2-1.2.9-1.x86_64.rpm
Preparing... ########################################### [100%]
1:libdvdcss2 ########################################### [100%]


THANK YOU ALL

Last edited by sandman545; 02-22-2006 at 09:29 PM.
 
Old 02-24-2006, 12:57 AM   #9
garymd
LQ Newbie
 
Registered: Apr 2004
Location: Olympia, wa
Distribution: Mandrake 10, 10.1
Posts: 29

Rep: Reputation: 15
I thought I would stick my question here since you just managed to solve a similar problem. Yes I am an idiot when it come to Linux. I just keep fooling around with it. I had no problem getting xine to work with FDC4 x86. Anyway I guess this output that occurs when i try the rpmbuild command suggested above indicates that I am missing a few other packages that have to do with c and c compilers. I am going to try to find them, but if anyone else has a thought from looking at this output I would appreciate it.

Installing /home/dooz/Documents/libdvdcss-1.2.9-1.src.rpm
warning: user sam does not exist - using root
warning: group sam does not exist - using root
warning: user sam does not exist - using root
warning: group sam does not exist - using root
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf libdvdcss-1.2.9
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/libdvdcss-1.2.9.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libdvdcss-1.2.9
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/libdvdcss-1.2.9-1-root
++ dirname /var/tmp/libdvdcss-1.2.9-1-root
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/libdvdcss-1.2.9-1-root
+ cd libdvdcss-1.2.9
+ CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ export FFLAGS
+ ./configure --host=x86_64-suse-linux --build=x86_64-suse-linux --target=x86_64-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking target system type... x86_64-suse-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 x86_64-suse-linux-gcc... no
checking for gcc... no
checking for x86_64-suse-linux-cc... no
checking for cc... no
checking for cc... no
checking for x86_64-suse-linux-cl... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.77254 (%build)
 
Old 02-24-2006, 01:25 AM   #10
garymd
LQ Newbie
 
Registered: Apr 2004
Location: Olympia, wa
Distribution: Mandrake 10, 10.1
Posts: 29

Rep: Reputation: 15
progress

Well I have made it past the initial problem and indeed received a good installation of my rebuild rpm just as sandman described but it still does not allow play of dvd in XINE. ANy thoughts as to where to check next?
 
Old 02-25-2006, 12:00 PM   #11
garymd
LQ Newbie
 
Registered: Apr 2004
Location: Olympia, wa
Distribution: Mandrake 10, 10.1
Posts: 29

Rep: Reputation: 15
I found a c compiler and now I got the installation to work , after finding the newly built x86 package as yo described, however, my xine player still does not work.
 
Old 02-25-2006, 12:23 PM   #12
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
garymd,
2 points:
1] 'Tis better to start your own thread when you have a new question.
2] You are using mandrake. Mandrake has an amazing installer caled "urpmi", which takes all the hassle away for you.
Search this site for "easy urpmi" and follow the instructions to set it up.
Then if you want something like xine installed do
urpmi xine as root, then update-menus and you are done.

HTH
 
Old 02-26-2006, 05:29 PM   #13
garymd
LQ Newbie
 
Registered: Apr 2004
Location: Olympia, wa
Distribution: Mandrake 10, 10.1
Posts: 29

Rep: Reputation: 15
Would it take of the problem of 32 bit vs 63 bit though?
 
Old 02-27-2006, 04:22 AM   #14
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Link:

http://www.urpmi-addmedia.org/

See step [1] - Choose the architecture of your computer: "If you own a 32Bit processor, select i586 from the list. If you own a 64Bit processor, select x86_64 from the list."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I downgrade from a libdvdcss-1.2.9 rpm to libdvdcss-1.2.6 compiled from source LiquidSlumber Linux - Software 2 02-18-2006 12:18 AM
libdvdcss quietguy47 Linux - Software 5 01-17-2005 05:47 PM
libdvdcss Pi Of Five Linux - Newbie 1 12-21-2004 05:03 PM
libdvdcss anky Mandriva 12 10-26-2004 03:17 PM
libdvdcss Pedroski Linux - Software 1 03-27-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration