[sane-devel] Updating sane-backends
I am in desperate need of advice from people more knowledgable than I (which means most, if not all, of you) about the workings of Linux. I was advised by several people (Henning Meir-Geinitz and Gerhart Jaeger in particular) that most of my problems with the UMAX scanner using the Plustek backend would be resolved if I upgraded my sane-backends from version 1.0.8 to version 1.0.11. I much appreciate the advice. So I downloaded the sane-backends -1.0.11 tar file and attempted to install it. When I ran ./configure, I got the following warning: *** WARNING: SANE is already installed (version 1.0.8). The old *** installation is at /usr while SANE will now be installed *** at /usr/local. It is recommended to uninstall the old SANE version *** before installing the new one to avoid problems. So I tried to uninstall the old version with rpm -e sane-backends-1.0.8 and got the following response: error: Failed dependencies: libsane.so.1 is needed by (installed) sane-frontends-1.0.8-4 libsane.so.1 is needed by (installed) xsane-0.84-8 libsane.so.1 is needed by (installed) xsane-gimp-0.84-8 sane-backends = 1.0.8 is needed by (installed) sane-frontends-1.0.8-4 (libsane.so.1 is a link to libsane.so.1.0.8, which is in the same directory) In other words (or so it would appear), I can't install the new files until I uninstall the old ones, and I can't uninstall the old ones because of the dependencies. Can someone please offer a suggestion? I would prefer not to have to uninstall and reinstall sane-frontends, xsane and gimp in order to update the backends files. Or better yet, is there a way to upgrade the Plustek driver, without disturbing anything else? Oh, BTW, I am running Red Hat Linux 2.4.18-14 on an Intel Pentium III with a UMAX Astra 3400 scanner connected to the USB port. Thanks for the help, Rich Teitel
[sane-devel] Updating sane-backends
Hi, On Tue, Mar 11, 2003 at 03:15:52PM -0500, Richard M. Teitel wrote: I am in desperate need of advice from people more knowledgable than I (which means most, if not all, of you) about the workings of Linux. I was advised by several people (Henning Meir-Geinitz and Gerhart Jaeger in particular) that most of my problems with the UMAX scanner using the Plustek backend would be resolved if I upgraded my sane-backends from version 1.0.8 to version 1.0.11. T. Ribbrock emga...@gmx.net wrote in the last therad you initiated that he has made RPMs for Redhat. That would be more clean than to install from .tar.gz. I much appreciate the advice. So I downloaded the sane-backends -1.0.11 tar file and attempted to install it. When I ran ./configure, I got the following warning: *** WARNING: SANE is already installed (version 1.0.8). The old *** installation is at /usr while SANE will now be installed *** at /usr/local. It is recommended to uninstall the old SANE version *** before installing the new one to avoid problems. That's a warning, not an error. You can install anyway. scanimage (from /usr/local/bin) will work but xscanimage/xsane will use your old SANE installation. So I tried to uninstall the old version with rpm -e sane-backends-1.0.8 and got the following response: error: Failed dependencies: libsane.so.1 is needed by (installed) sane-frontends-1.0.8-4 libsane.so.1 is needed by (installed) xsane-0.84-8 libsane.so.1 is needed by (installed) xsane-gimp-0.84-8 sane-backends = 1.0.8 is needed by (installed) sane-frontends-1.0.8-4 (libsane.so.1 is a link to libsane.so.1.0.8, which is in the same directory) In other words (or so it would appear), I can't install the new files until I uninstall the old ones, No, see above. and I can't uninstall the old ones because of the dependencies. You can force the uninstall. You can also remove the dependencies and compile them from source. Can someone please offer a suggestion? I would prefer not to have to uninstall and reinstall sane-frontends, xsane and gimp in order to update the backends files. That only works if you install from source anyway. rpm igonres software that was installed from source completely. Or better yet, is there a way to upgrade the Plustek driver, without disturbing anything else? The clean way is to install a current sane-backends RPM. If you don't have one, you could do one of the things I mentioned above or overwrite the files of your distribution. That's done by running configure in sane-backends with the arguments --prefix=/usr --sysconfigdir=/etc. Check configure --help for the meaning. Bye, Henning
[sane-devel] Updating sane-backends
*** WARNING: SANE is already installed (version 1.0.8). The old *** installation is at /usr while SANE will now be installed *** at /usr/local. It is recommended to uninstall the old SANE version *** before installing the new one to avoid problems. You can still install yours in /usr/local, but you must be careful with the frontends -- the ones you currently have from your RPMs will probably continue using your old SANE backends. error: Failed dependencies: libsane.so.1 is needed by (installed) sane-frontends-1.0.8-4 libsane.so.1 is needed by (installed) xsane-0.84-8 libsane.so.1 is needed by (installed) xsane-gimp-0.84-8 sane-backends = 1.0.8 is needed by (installed) sane-frontends-1.0.8-4 Uninstall these as well, and install them from source. As far as I know, xsane-gimp and xsane RPMs are complementary to each other, you don't need xsane if xsane-gimp works (i.e. if you have GIMP installed). After removing these RPMs, you need to compile sane-backends from source, and install xsane from source as well. If you want to use xscanimage as well, also install sane-frontends (but it's not required by xsane or sane-backends). Can someone please offer a suggestion? I would prefer not to have to uninstall and reinstall sane-frontends, xsane and gimp in order to update the backends files. Or better yet, is there a way to upgrade the Plustek driver, without disturbing anything else? You don't need to reinstall GIMP. The only thing you might want to do is to create a symlink from your GIMP plugin directory to the xsane binary that you installed from source. Another solution would be saned, that way you could use your existing RPMs for the frontends and the net backend, and a new SANE in /usr/local that runs saned, but that's a bit over the top, if you ask me. It's easiest to install things from source. RPMs are easy to install, so why not just remove the abovementioned ones and retry? Andras === Major Andras e-mail: and...@users.sourceforge.net www:http://andras.webhop.org/ ===
[sane-devel] Updating sane-backends
Henning Meier-Geinitz wrote: T. Ribbrock emga...@gmx.net wrote in the last therad you initiated that he has made RPMs for Redhat. That would be more clean than to install from .tar.gz Perhaps I misread T. Ribbrocks message. I thought he said he had rpms for sane-backends-1.0.9, but not yet for 1.0.11. My impression was that 1.0.11 would solve the problems but 1.0.9 might not. So I opted for the tar version. you could . . . overwrite the files of your distribution. That's done by running configure in sane-backends with the arguments --prefix=/usr --sysconfigdir=/etc. Check configure --help for the meaning. That's extremely useful information that never occured to me. I will check the configure --help files and figure out how to install the new files on top of the old ones. I will also uninstall the old files by forcing rpm to ignore the dependencies. Thanks for the suggestions. And for your patience with one who knows so little. Rich Teitel