libcdio-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-help] Does libcdio can work with macOS (Mac OS X)?


From: Rocky Bernstein
Subject: Re: [Libcdio-help] Does libcdio can work with macOS (Mac OS X)?
Date: Thu, 14 Sep 2017 12:31:42 -0400

The message

    ++ WARN: could not open input stream...

may mean that have to run this as root on OSX. If I recall correctly OSX restricts access to the CD drive for certain kinds of access I think for security reasons. And only one application can have "exclusive" access. So if another device as access already to the CD drive then another program won't be able to get access. So also check that nothing else is accessing the drive.

The fact that you were able to compile libcdio and run that program means that certain things do work. To get an idea of what works and what doesn't work run the tests via  "make check".

Finally OSX support on libcdio has been weak for several reasons. First traditionally has been a kind of secrecy in how you control and get access to the DVD device. Perhaps that's now fixed. I believe libcdio uses and older Mach/BSD compatibility calls still.
The second problem at least from my standpoint has been that I don't own a OSX box and have rarely had access to one for testing libcdio. So I can't test it. But I think others in the project do and do test this pretty regularly.

Finally, there is just a lack of people who want to work on those lower-level aspects that the code needs for running cd-info and cd-drive.

So if you are interested in working on the driver, by all means do. If you know of a way to give access to OSX boxes to developers for testing, by all means let us known.


On Thu, Sep 14, 2017 at 10:04 AM, 桃源老師 <address@hidden> wrote:
Hello,

I am trying to use libcdio's function on macOS (Mac OS X).

It seems that compiling works correctly, I can't run any of binaries such as cd-info, cd-drive, cd-read, cd-paranoia...


I'm using libcdio-0.94 and libcdio-paranoia-10.2+0.94+2

Configure command is: ./configure --prefix=${TARGET} --disable-cxx --disable-example-progs --disable-shared

Where  ${TARGET} is non-standard place (I mean not /usr/local)


binaries error message are:

$ cd-info /dev/disk4
cd-info version 0.94 x86_64-apple-darwin17.0.0
Copyright (c) 2003-2005, 2007-2008, 2011-2015 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
++ WARN: could not open input stream...
cd-info: Error in automatically selecting driver for input /dev/disk4.

$ cd-drive /dev/disk4
cd-drive version 0.94 x86_64-apple-darwin17.0.0
Copyright (c) 2003-2005, 2007-2008, 2011-2015 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Drivers available...
  cdrdao (TOC) disk image driver
  bin/cuesheet disk image driver
  Nero NRG disk image driver

Drive /dev/disk4
++ WARN: could not open input stream...
++ WARN: could not open input stream...
Uknown drive hardware properties
Uknown drive reading properties
Uknown drive writing properties


My Drive info:
$ drutil status
Vendor   Product           Rev
PIONEER  BD-RW   BDR-XD05  1.21

          Type: CD-ROM               Name: /dev/disk4
      Sessions: 1                  Tracks: 11
  Overwritable:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB
    Space Free:   00:00:00         blocks:        0 /   0.00MB /   0.00MiB
    Space Used:   38:25:28         blocks:   172903 / 354.11MB / 337.70MiB
   Writability:


Please let me know your software supports macOS (Mac OS X) or not!!


Best Regards,


// Miya aka. TougenRoushi


_______________________________________________
Libcdio-help mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/libcdio-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]