[sane-devel] SANE OS X 10.3 Install Problems

Guy Brooker guy_brooker at mac.com
Fri Nov 21 16:51:36 GMT 2003


It's been a while since I've been able to concentrate on SANE, apologies for
my absence.

I added the OSX_ONLY_10_2_API and OSX_ONLY_10_1_API defines as I knew the
old API was going to go, but didn't have time to test on Panther at the
time.

Could someone add a test to the config script ?

The new API works fine in Panther (at least if it is compiled on Jaguar),
and I've got a bit of extra code to handle the sense codes to submit to CVS,
unless someone has added that already.

I'll try and take a look at this over the weekend.

Cheers
Guy

 
On 20/11/03 10:02 am, "Phil Barrett" <phil at cambridgeanimation.com> wrote:

>> Well, I can't help because I don't have any MacOS X experience but
>> maybe one of the OS X hackers can. So I quote everything and send it
>> to sane-devel. Please reply to sane-devel, not to me personally.
>> 
>>> -DV_MAJOR=1 -DV_MINOR=0 -D_REENTRANT -g -O2 -W -Wall sanei_scsi.c
>>> sanei_scsi.c:210:35: IOKit/cdb/IOSCSILib.h: No such file or directory
> ...
> 
> Simple enough: this header is an old API, which is not included in OS X 10.3
> (Panther).
> 
> The code for the new API is in sanei_scsi.c already, so the solution is just
> to define OSX_ONLY_10_2_API somewhere.
> 
> It seems this wasn't defined before, so I suspect the code using the new API
> has to be considered untested and potentially buggy.
> 
> (Note that it fails to compile using gcc 2.95 without some reorganisation of
> variable and function declarations in the new API code.)
> 
> Phil
> 





More information about the sane-devel mailing list