LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-05-2006, 07:07 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Unable to compile dvdrtools in Slackware?


Has anybody successfully compiled dvdrtools in Slackware? I don't find any binaries in linuxpackages.net.

I was unable to compile dvdrtools. Here's the message on make:
Code:
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../libmagic.a(compress.o)(.text+0x4ce): In function `uncompressgzipped':
: undefined reference to `inflateInit2_'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../libmagic.a(compress.o)(.text+0x4e0): In function `uncompressgzipped':
: undefined reference to `inflate'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../libmagic.a(compress.o)(.text+0x50f): In function `uncompressgzipped':
: undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make[3]: *** [mkisofs] Error 1
make[3]: Leaving directory `/home/hari/dvdrtools-0.3.1/mkisofs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hari/dvdrtools-0.3.1/mkisofs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hari/dvdrtools-0.3.1'
make: *** [all] Error 2
 
Old 08-05-2006, 08:40 AM   #2
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 21
Pardon my lack of knowledge on the subject, but is dvdrtools a different package than dvd+rw-tools? I ask because Slack already comes with a package for dvd+rw-tools.
 
Old 08-05-2006, 09:02 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
From my slack-desc (of an uneleased package I once planned building):

dvdrtools is a fork of cdrtools, with the primary goals of remaining
dvdrtools: 100% Free Software (dvdrtools is a fork of the last version of
dvdrtools: cdrtools without any "you are not allowed to modify this section"
dvdrtools: comments), and adding support for DVD-R/DVD-RW drives and media.
dvdrtools:
dvdrtools:
dvdrtools:
dvdrtools: dvdrtools home: http://www.arklinux.org/projects/dvdrtools/

Eric
 
Old 08-05-2006, 09:03 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Dvd+rw-tools is not dvdrtools. dvdrtools is a full replacement for cdrtools while dvd+rw-tools is for +R(W) writing.

Anyway Alien bob is there a way to get Slackware binaries for this as compiling from source seems to be a problem?

After reading some of the so-called "error" messages that cdrecord throws up (particularly some unwarranted cheap digs at the Linux kernel) I decided that I am not going to use it any more. I think this developer cannot live without mentioning the word Solaris in most of his writings.

Also reading some of the "README" files at the cdrecord site make me sick as a Open Source/Free Software guy.

Last edited by vharishankar; 08-05-2006 at 09:08 AM.
 
Old 08-05-2006, 10:14 AM   #5
AgentX
Member
 
Registered: Sep 2005
Location: India
Distribution: Solaris Express snv_44
Posts: 43

Rep: Reputation: 15
Joerg Schilling has had some problems with the Linux kernel and ide-scsi emulation in general. It is not fair to suggest
that it's him entirely at fault, as many developers have suggested in LKML and even Torwalds has accepted that ide-scsi
has always been broken. It's the weird implementation of this emulation that drives both cdrecord and Schilling crazy.
He definitely loves Solaris, and so do I. But that's not because he is a mindless zealot shouting for Solaris all the time.

You gain nothing in dissing the guy and his excellent CD/DVD writing tools. If he gets frustrated by all the "your cdrecord
is broken on my xx distro" messages, he has no choice but to explain that the problems arise because of the unmaintained
emulation layer and distro-patched ancient versions of cdrtools. He is particularly annoyed by the GPL because of all
the bad credit he's getting for distro-patched broken ancient versions of cdrtools.

You may want to read this: http://programming.linux.com/article.../12/09/1341236

I'm not an apologist, but "this guy" was one of the first to come up with a working OpenSolaris distribution: Schillix.

Last edited by AgentX; 08-05-2006 at 10:16 AM.
 
Old 08-05-2006, 10:36 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I'll look into the politics of the issue later as it seems interesting but I'd also like some suggestions to get dvdrtools to compile.
 
Old 08-05-2006, 11:03 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
OK, I decided to pick up the old SlackBuild and finish the job. Get my package at:
http://www.slackware.com/~alien/slackbuilds/dvdrtools/

Don't forget: this package is meant as a replacement for cdrtools - I suggest you run
Code:
removepkg cdrtools
before you install dvdrtools. Let me know if the package works! Also note that dvdrtools is in fact a fork from an older release of cdrtools, so functionality might be different from the current version of cdrtools. The dvdrtools do have support for writing to DVD media, so this is an extremely useful addition.

Cheers, Eric
 
Old 08-05-2006, 11:06 AM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Alien Bob thanks a dozen. I'll get back to you as soon as I install it!

Again, thanks a dozen. I hope this fixes the problem.
 
Old 08-05-2006, 11:11 AM   #9
AgentX
Member
 
Registered: Sep 2005
Location: India
Distribution: Solaris Express snv_44
Posts: 43

Rep: Reputation: 15
cdrtools supports DVD writing too, and you don't need no free keys anymore for that. The ProDVD functionality has now been
merged with the cdrecord for good. No wonder, most Linux distributions are still stuck with older versions with reduced
and/or broken functionality.

@Harishankar: Both your posts made it clear that you were more interested in politics rather than having your problem solved.
Seldom do I see a user bashing program author for incompatibilities with his/her choice of distributions, especially if they
are coping with very old patched versions of the program.
 
Old 08-05-2006, 11:12 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Hmm... I still get the error as a normal user while as root it works with the dev=ATAPI option.

I want to avoid having to use root just for cd/dvd writing. Is there a way to get this to work as a user?

As root I get this when I issue cdrecord -scanbus dev=ATAPI
Code:
dvdrtools v0.3.1
Portions (C) 2002-2006 Ark Linux <bero@arklinux.org>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING.  If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i486-slackware-linux-gnu) Copyright (C) 1995-2001 Jörg Schilli                                 ng
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Using libscg version 'bero-0.5a'
cdrecord: Warning: using inofficial version of libscg (bero-0.5a '@(#)scsitransp                                 .c      1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
scsibus0:
        0,0,0     0) 'HP      ' 'DVD Writer 635d ' 'JPS3' Removable CD-ROM
        0,1,0     1) 'SONY    ' 'DVD-ROM DDU1621 ' 'S3.2' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
 
Old 08-05-2006, 11:14 AM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Quote:
@Harishankar: Both your posts made it clear that you were more interested in politics rather than having your problem solved.
That's Bull Shit. I got the problem, I googled for it, found some mailing list archives which discussed this issue and that's how I realized how much politics is behind this cdrecord issue. I still cannot burn a dvd or a cd at this point and I'm bloody well more interested in resolving that than finding out who said what to whom.

I don't have any stance on the politics of this particular issue... but I've made it clear than I am a Linux user, not a Solaris one so I pretty well don't give a shit if the author of cdrecord has to tell me to use Solaris instead of Linux in the form of an "error" message.

I couldn't give a damn who's right or who's wrong but I hate the politics and the fuss made by the developers who pass on their frustrations to the users. It's wrong of this Schilling guy to vent out at the users who know absolutely nothing or want to know absolutely nothing about who's right and who's wrong and who just want the software to work.

It's the functionality which I want which is missing and I couldn't care less whether the developer blames himself or his maiden aunt. Sure I'm biased as a Linux user and I don't like pettiness in these people who diss Linux but my most important thing is I need it to work (tm).

Quote:
Seldom do I see a user bashing program author for incompatibilities with his/her choice of distributions, especially if they
are coping with very old patched versions of the program.
Lots of people do and will continue doing so. And no, I'm not coping with old patched versions. And I will use the program of my choice, not what is dictated by others.

Last edited by vharishankar; 08-05-2006 at 11:26 AM.
 
Old 08-05-2006, 11:25 AM   #12
AgentX
Member
 
Registered: Sep 2005
Location: India
Distribution: Solaris Express snv_44
Posts: 43

Rep: Reputation: 15
First of all, you need to configure setuid root dvdrecord/cdrecord, and add the user to cdrom group to enable CD/DVD writing as a normal user.

As for the politics, it's not that I like heated arguments and broken programs. But IMHO, Schilling shouldn't be blamed or flamed for
patched older versions that still ship with most distributions. I don't care who is right and who is wrong, either. But if the distro
maintainers care so much about the users, why don't they bundle latest working versions alongwith?

Let's take your dvdrecord as an example. It's a patched version of a VERY OLD cdrecord release, with Schilling's name still in place.
He is bound to get bad publicity for free if this doesn't work correctly on a machine. This is what bugs most software developers.

Of course, let's focus on whatever gets your drive laser humming, and forget about the boring political issues. It's not really productive!

Last edited by AgentX; 08-05-2006 at 11:29 AM.
 
Old 08-05-2006, 11:28 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I agree. Sorry for that. I was just trying to solve this problem and it's frustrated me all day long. I apologize if I came across as too harsh. But yes, I would like whichever version works as long as it does.

Thanks for the tips. I'll try it out.
 
Old 08-05-2006, 11:29 AM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Harishankar
Hmm... I still get the error as a normal user while as root it works with the dev=ATAPI option.
What is the error that you get?

I can use cdrecord as user since Linus and Jens Axbode patched it.
Code:
cdrecord -v -eject driveropts=burnfree dev=/dev/hda /path/to/file.iso
is how I can burn ISO images to CD as user.

However, there is some memory lock that you can't get as user, and
that will at times cause you to burn a coaster.

Use the device name, which you can find with this command:
Code:
mingdao@silas:~$ dmesg | grep -i atapi
hda: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
hdc: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
I also add my user to these groups:
Code:
audio::17:mingdao
video::18:mingdao
cdrom::19:mingdao

Last edited by Bruce Hill; 08-05-2006 at 11:34 AM. Reason: no need for rehashing Schillings problems
 
Old 08-05-2006, 11:42 AM   #15
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
This was the message: with dev=ATAPI
Code:
dvdrtools v0.3.1
Portions (C) 2002-2006 Ark Linux <bero@arklinux.org>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING.  If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i486-slackware-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
And with dev=/dev/hdc I get this
Code:
dvdrtools v0.3.1
Portions (C) 2002-2006 Ark Linux <bero@arklinux.org>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING.  If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i486-slackware-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
cdrecord: Permission denied. Cannot open '/dev/hdc'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
The thing is, till a few months ago, CD writing worked perfectly (I hadn't a dvd writer at that time). For a long time I didn't write any cds and recently after many upgrades I found that it was not working.

Last edited by vharishankar; 08-05-2006 at 11:43 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
Unable to compile C++ code kirtimaan_bkn Programming 8 07-01-2006 06:40 AM
Unable to compile kernel-2.6.x on Slackware 10.1 Basel Slackware 21 09-01-2005 11:02 AM
Unable to compile vte-0.11.10 powerloony Linux - Software 2 01-25-2005 04:56 AM
dvdrtools? - Is it dead? rignes Linux - Software 0 05-17-2004 11:04 PM
dvdrtools... :-( phishman3579 Slackware 0 04-06-2004 06:14 PM


All times are GMT -5. The time now is 09:40 AM.

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