<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi allan,<div><br></div><div>Thanks for your advice -&nbsp;I have managed to get there - almost..</div><div>I have modified the backend file, run the script and make.</div><div><br></div><div>However I have been stumped with your instructions..</div><div><br></div><div><font class="Apple-style-span" color="#1F0BFB">2. copy the file backend/.libs/libsane-genesys.so.1.0.23 over top of<br>the copy provided by your distro, not sure where it is on a Mac.<br>Probably in /usr/local/lib?<br>Note that the file name will change- your current file might end in<br>.21 or .22, that's fine. We want the new one to have the same name. We<br>are replacing the old file. You can save the old one before you<br>overwrite it if you want.</font></div><div><font class="Apple-style-span" color="#1F0BFB"><br></font></div><div><font class="Apple-style-span" color="#1F0BFB"><br></font></div><div><font class="Apple-style-span" color="#1F0BFB"><font class="Apple-style-span" color="#000000">In the newly modified SANE backends folder, under the same directory</font></font></div><div>downloads/sane-backends-git20110221/backend/.libs/... i have the following..</div><div><br></div><div><div>libdll.a<span class="Apple-tab-span" style="white-space:pre">                        </span>libgenesys_la-genesys_gl841.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-dll.so<span class="Apple-tab-span" style="white-space:pre">                        </span>libsane.dylib</div><div>libdll.la<span class="Apple-tab-span" style="white-space:pre">                        </span>libgenesys_la-genesys_gl843.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-genesys.1.so<span class="Apple-tab-span" style="white-space:pre">                </span>libsane.la</div><div>libdll_la-dll.o<span class="Apple-tab-span" style="white-space:pre">                        </span>libgenesys_la-genesys_gl847.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-genesys.1.so.dSYM<span class="Apple-tab-span" style="white-space:pre">        </span>libsane.lai</div><div>libgenesys.a<span class="Apple-tab-span" style="white-space:pre">                        </span>libgenesys_la-genesys_low.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-genesys.la<span class="Apple-tab-span" style="white-space:pre">                </span>libsane_dll_la-dll-s.o</div><div>libgenesys.la<span class="Apple-tab-span" style="white-space:pre">                        </span>libsane-dll.1.so<span class="Apple-tab-span" style="white-space:pre">                </span>libsane-genesys.lai<span class="Apple-tab-span" style="white-space:pre">                </span>libsane_genesys_la-genesys-s.o</div><div>libgenesys_la-genesys.o<span class="Apple-tab-span" style="white-space:pre">                </span>libsane-dll.1.so.dSYM<span class="Apple-tab-span" style="white-space:pre">                </span>libsane-genesys.so<span class="Apple-tab-span" style="white-space:pre">                </span>libsane_la-dll-s.o</div><div>libgenesys_la-genesys_gl124.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-dll.la<span class="Apple-tab-span" style="white-space:pre">                        </span>libsane.1.dylib<span class="Apple-tab-span" style="white-space:pre">                        </span>sane_strstatus.o</div><div>libgenesys_la-genesys_gl646.o<span class="Apple-tab-span" style="white-space:pre">        </span>libsane-dll.lai<span class="Apple-tab-span" style="white-space:pre">                        </span>libsane.1.dylib.dSYM</div></div><div><br></div><div>is the file here - named differently? - or am i on the wrong page? or has something not worked?</div><div><br></div><div><br></div><div>ALSO</div><div>in the system folder where I need to copy over the file..</div><div>&nbsp;/usr/local/lib/sane i have the file" libsane-genesys.1.0.21.so"</div><div><br></div><div>this IS(?) the file i need to replace - correct?</div><div>and i need to re-name the new file to match this file? or i can just leave the file name that copies across?</div><div><br></div><div><br></div><div><br></div><div>Thanks for your help..</div><div><br></div><div>Ben</div><div><br></div><div><br></div><div><br></div><div><font class="Apple-style-span" color="#1F0BFB"><font class="Apple-style-span" color="#000000"><br></font></font><div><div><div>On 16 Feb 2011, at 01:30, m. allan noah wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>wow- you're pretty far down the curve on this one. I'll try to be more explicit.<br><br>We are talking about source code. Not conf files (yet). Not compiled<br>libraries (yet). You don't currently have any source code on your box<br>unless you have explicitly downloaded it. We are going to download,<br>modify, and compile that source code into a library. I've never done<br>any of this on a Mac, so every detail here is suspect. The general<br>idea is the same.<br><br>1. install the libusb-dev package (or libusb-devel, not sure what your<br>OS calls it)<br><br>2. install gcc package and it's required dependencies<br><br>3. install the utility 'make' (it might be called gmake on your platform)<br><br>4. download latest sane-backends from <a href="http://www.sane-project.org/snapshots/">http://www.sane-project.org/snapshots/</a><br>It will be named something like: sane-backends-git20110215.tar.gz<br><br>----------use the terminal from here on out--------------------<br><br>5. extract the file you just downloaded with this command (correct<br>filename if different):<br>tar xzf sane-backends-git20110215.tar.gz<br>This will create a new directory, named something like:<br>sane-backends-git20110215<br><br>6. Change in this new directory:<br>cd sane-backends-git20110215<br><br>7. edit backend/genesys_devices.c file. I like vim, you can use<br>whatever editor you want, including some icky gui thing, as long as it<br>does not try to reformat the text.<br><br>8. around line 1573 you will see a section of data for the lide 60.<br>Near the end of that section, there are a bunch of flags, separated by<br>the '|' symbol. Remove the lines with 'CALIBRATION' in them, and add<br>one in their place that says:<br>'| GENESYS_FLAG_NO_CALIBRATION'<br><br>9. save the file.<br><br>10. Run the following command (all on one line)<br>BACKENDS=genesys ./configure --prefix=/usr --sysconfdir=/etc --disable-locking<br><br>11. Run the following command (takes awhile)<br>make<br><br>12. copy the file backend/.libs/libsane-genesys.so.1.0.23 over top of<br>the copy provided by your distro, not sure where it is on a Mac.<br>Probably in /usr/local/lib?<br>Note that the file name will change- your current file might end in<br>.21 or .22, that's fine. We want the new one to have the same name. We<br>are replacing the old file. You can save the old one before you<br>overwrite it if you want.<br><br>13. test with scanimage or xsane and various options.<br><br>Only step #12 needs to be done as root.<br><br>allan<br>-- <br>"The truth is an offense, but not a sin"<br></div></blockquote></div><br></div></div></body></html>