LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-29-2011, 08:46 AM   #16
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 48

Quote:
Originally Posted by Diantre View Post
I use readcd to check for faulty media:

Code:
readcd dev=/dev/dvd f=/dev/null
Hi Diantre:

Here is my output:

Code:
bash-4.1# readcd dev=/dev/dvd f=/dev/null
Read  speed:  4234 kB/s (CD  24x, DVD  3x, BD  0x).
Write speed:     0 kB/s (CD   0x, DVD  0x, BD  0x).
Capacity: 1836688 Blocks = 3673376 kBytes = 3587 MBytes = 3761 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (3,0,0) disk to file '/dev/null'
end:   1836688
readcd: Input/output error. read_g1: scsi sendcmd: no error
CDB:  28 00 00 01 0E C0 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 02 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 7.044s timeout 40s
readcd: Input/output error. Cannot read source disk
readcd: Retrying from sector 69312.
.................................~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~
readcd: Input/output error. Error on sector 69344 not corrected. Total of 1 errors.
I quess this means my disk is broken, right?

Thanks,
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-29-2011, 10:08 AM   #17
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by Robert.Thompson View Post
Hi Daedra:

I installed libdvddcss a long time ago, so it's there.

What commands do I use to rebuild k3b?

Thanks,

Here is the slackbuild I use. I used Pat's as a template and just edited a few lines. http://www.mostlyslack.com/slackstuf...lds/k3b.tar.gz

Download the source from here http://downloads.sourceforge.net/pro...mirror=surfnet

just untar k3b.tar.gz, download the source and save it in the k3b directory then run ./k3b.Slackbuild and the finished package will be waiting for you in /tmp.

You can also install ffmpeg and other dependencies too that k3b can take advantage off. If you install all the dependencies k3b becomes quite a feature rich program. Just check the configure script and it will tell you which ones it finds and which ones it didn't. Then you can go to SBo and install the missing ones and rebuild k3b again till you get them all.

Last edited by Daedra; 06-29-2011 at 11:27 PM.
 
1 members found this post helpful.
Old 06-29-2011, 10:42 AM   #18
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by Mark Pettit View Post
OK - you have a golf training video. This is a perfect candidate for ripping. Assuming no surface defects (as suggested by others), use Handbrake (get the one from AlienBobs restricted packages), and then rip it to a mkv file. This way, you can use your vlc/mplayer to watch it with far better control than from the original DVD, which has to spin up and down all the time, and jumping around is just pain awful with slow media.
Hi Mark:

I made sure that I met all the dependencies first and then downloaded and tried to install Alien Bob's handbrake.SlackBuild but got the following error msg:

Code:
<snip>

make[3]: Entering directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[4]: Entering directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[3]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[2]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
make[1]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.4/build/gtk'
cp: cannot stat `BUILD': No such file or directory
cat: /home/rob/Downloads/slack-desc: No such file or directory
handbrake.SlackBuild.txt FAILED at line 333
What did I do wrong?

Thanks for any assistance,
 
Old 06-29-2011, 11:52 AM   #19
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I'm pretty sure the disk is messed up. Again check for scratches or get a refund.
 
Old 06-29-2011, 01:16 PM   #20
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,300

Rep: Reputation: Disabled
Quote:
Originally Posted by Robert.Thompson View Post
Hi Mark:

I made sure that I met all the dependencies first and then downloaded and tried to install Alien Bob's handbrake.SlackBuild
I made sure to fix my omission and upload the handbrake 0.9.5 stuff that I had ready for some time but misplaced:

http://taper.alienbase.nl/mirrors/pe...lds/handbrake/

The handbrake 0.9.5 package does not have any external dependencies anymore (you have to have yasm installed in order to compile it, but yasm is part of Slackware since 13.37).


Eric
 
Old 06-29-2011, 02:04 PM   #21
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by Alien Bob View Post
I made sure to fix my omission and upload the handbrake 0.9.5 stuff that I had ready for some time but misplaced:

http://taper.alienbase.nl/mirrors/pe...lds/handbrake/

The handbrake 0.9.5 package does not have any external dependencies anymore (you have to have yasm installed in order to compile it, but yasm is part of Slackware since 13.37).


Eric
Hi Eric:

I must be doing something wrong. I got this error msg after using the link that you provived:

Code:
 
<snip>


 : Traceback (most recent call last):
  :   File "/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/../gtk/src/makedeps.py", line 4, in <module>
  :     import plistlib
  : ImportError: No module named plistlib
  : gmake[3]: *** [widget.deps] Error 1
  : gmake[3]: *** Waiting for unfinished jobs....
  : mv -f .deps/presets.Tpo .deps/presets.Po
  : gmake[3]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk/src'
  : gmake[2]: *** [all-recursive] Error 1
  : gmake[2]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk'
  : gmake[1]: *** [all] Error 2
  : gmake[1]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk'
  : gmake: *** [gtk.build] Error 2
-------------------------------------------------------------------------------
time end: Wed Jun 29 18:56:17 2011
duration: 9 minutes, 50 seconds (590.09s)
result: FAILURE (code 2)
-------------------------------------------------------------------------------
Build is finished!
You may now cd into ./build and examine the output.
make: *** No targets specified and no makefile found.  Stop.
/bin/mkdir -p /tmp/build/package-handbrake/usr/bin/
/bin/cp ./HandBrakeCLI /tmp/build/package-handbrake/usr/bin/HandBrakeCLI
make -C ./gtk/ prefix=/usr install
make[1]: Entering directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk'
Making install in src
make[2]: Entering directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk/src'
gcc -o create_resources create_resources-native.o plist-native.o values-native.o -pthread -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  
python /tmp/build/tmp-handbrake/HandBrake-0.9.5/build/../gtk/src/makedeps.py
Traceback (most recent call last):
  File "/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/../gtk/src/makedeps.py", line 4, in <module>
    import plistlib
ImportError: No module named plistlib
make[2]: *** [widget.deps] Error 1
make[2]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/build/tmp-handbrake/HandBrake-0.9.5/build/gtk'
make: *** [gtk.install] Error 2
handbrake.SlackBuild.txt FAILED at line 307
Any assistance would be appreciated.

Thanks,
 
Old 06-29-2011, 02:13 PM   #22
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,300

Rep: Reputation: Disabled
Code:
ImportError: No module named plistlib
Then your python is broken. Did you do a full Slackware install? Are you running a real Slackware?

Also, why don't you just install the package I provide? It's not like you should be afraid of downloading and installing something I built... lots of packages I built went straight into the original slackware64.

Eric

Last edited by Alien Bob; 06-29-2011 at 02:14 PM.
 
Old 06-29-2011, 02:55 PM   #23
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by Alien Bob View Post
Code:
ImportError: No module named plistlib
Then your python is broken. Did you do a full Slackware install? Are you running a real Slackware?

Also, why don't you just install the package I provide? It's not like you should be afraid of downloading and installing something I built... lots of packages I built went straight into the original slackware64.

Eric
Sorry Eric, it was not my intention cause you trouble.

To the best of my knowledge, and that is not much, I am running a full Slackware 13.37 system - I was running current until current became 13.37, then I switched mirrors.

The reason why I was using handbreak.SlackBuild is I thought that was what I was suppose to do, guess not. Adding packages/software to Slackware confuses the hell out of me, obviously.

I went back to the link that you provided and downloaded the build - it installed perfectly.

I used sbopkg to get a new python but there are so many python apps I don't know which one I should download.

Anyway, sorry for wasting your time and thanks for you help.
 
Old 06-29-2011, 03:05 PM   #24
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,300

Rep: Reputation: Disabled
No, you did not cause me trouble Robert, nor did you waste my time. I post these replies on my own free will ;-)

It's just that some people think that every Slackware package should be compiled by hand... and that it is somehow "unworthy" to use ready-built binary packages. You have to know your sources, that is true: don't just trust anyone's packages but check the packager's credibility in the community.
I think I can safely say that you can trust my packages.

Slackware is not a "from source" distribution like Gentoo. It is perfectly OK to install a package. It is equally fine to grab the sources and a SlackBuild script, and compile that package yourself. But correctly compiling software depends on so many factors where the process can fail that it is sometimes not worth the trouble. I provide my SlackBuild scripts as a service, and for those who care to read them, as a learning experience, but essentially it's the packages that I provide.
Try compiling LibreOffice... it will take a large part of a day to finish. There are other examples of cumbersome builds. And if you do not care about the compilation experience but just need that package... well then, go ahead and download/install ! There is nothing "unworthy" about that. Nobody compiles all of Slackware either, just to run it.

Eric
 
4 members found this post helpful.
Old 06-29-2011, 03:13 PM   #25
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 48
Thanks to:
  1. H_TexMex_H
  2. dive
  3. MarkPettit
  4. Woodsman
  5. saulegoode
  6. Daedra
  7. dugan
  8. gorilus
  9. frankbell
  10. jefro
  11. Diantre
  12. AlienBob

Edit June 30, 2011: After installing Eric's handbreak package, I used it to make a copy of the 'defective' DVD on my hard disk - the copy works perfectly when opened with VLC. Go figure.


Marking as SOLVED.

Last edited by Robert.Thompson; 06-30-2011 at 07:31 AM.
 
  


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
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 12:41 AM
Copy data from one hard disk to another hard disk vino87 Linux - Desktop 4 08-06-2009 11:37 PM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Which DVD software can play DVD from hard drive tho_x_tran Linux - Software 5 08-05-2004 09:15 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration