[sane-devel] SANE on Mac OS X.3 ?

R.Welz R.Welz
Sun, 14 Dec 2003 18:23:05 +0100


Hello.
I have an old scanner with ADF which is not supported by the 
Manufactorer (we have no drivers). Its a Microtek ScanMaker E6.
Under Linux the Scanner works. Can I compile and install SANE for Mac 
OS X (Panther) ?

I have tried
./configure (works ok)
make gives a lot of errors like:

I post the first few ones:
making all in sanei
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d     
-DPATH_SANE_DATA_DIR=/usr/local/share        -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
sanei_scsi.c: In function `sanei_scsi_open':
sanei_scsi.c:1168: warning: implicit declaration of function 
`CreateGUIDFromDevName'
sanei_scsi.c:1168: warning: assignment makes pointer from integer 
without a cast
sanei_scsi.c:849: warning: unused variable `real_dev'
sanei_scsi.c: In function `sanei_scsi_cmd2_old_api':
sanei_scsi.c:4914: error: `IOSCSIDeviceInterface' undeclared (first use 
in this function)
sanei_scsi.c:4914: error: (Each undeclared identifier is reported only 
once
sanei_scsi.c:4914: error: for each function it appears in.)
sanei_scsi.c:4914: error: `scsiDeviceInterface' undeclared (first use 
in this function)

Can someone help?

Thank you very much.
Robert