On March 2, 2006 00:32, JoeHill wrote: > On Wed, 01 Mar 2006 23:01:34 -0700 > > Ron Hunter-Duvar got an infinite number of monkeys to type out: > > Start by checking if you have a recent version of Sane. Not sure if > > you're on 2006, but I know 10.1 shipped with an ancient version. Probably > > worth a try to download & install the latest stable tarball. > > One problem with this method. If I want to install the latest version of > sane-backends, that means I have to remove my current version, which > unfortunately gives me this: > > [EMAIL PROTECTED] sane-backends-1.0.17]# urpme sane-backends > To satisfy dependencies, the following 7 packages will be removed (9 MB): > drakconf-10.3-5mdk.i586 (due to unsatisfied harddrake-ui > 10-12mdk) > drakfirsttime-1.3-1mdk.noarch (due to unsatisfied hwdb-clients >= > 0.15.1-1mdk) harddrake-10.3-0.64mdk.i586 (due to missing hwdb-clients) > harddrake-ui-10.3-0.64mdk.i586 (due to missing sane-backends) > hwdb-clients-0.18-1mdk.noarch (due to missing sane-backends) > mdkonline-1.3-1mdk.noarch (due to unsatisfied hwdb-clients >= 0.15.1-1mdk) > sane-backends-1.0.16-5mdk.i586 > Is this OK? (y/N) > > I don't think I want to do that! LOL!
You don't have to remove the old one. I compiled the new one into /usr/local. I just had some trouble with getting the new libraries invoked. I'm trying to remember what I did exactly. Someone suggested using LD_PRELOAD, but then you have to do that every time. Oh, yeah, I created the file /etc/ld.so.conf.d/ld_usr_local.conf containing these two lines: /usr/local/lib /usr/local/lib/sane Then I added this line to the top of /etc/ld.so.conf include ld.so.conf.d/*.conf This way, any libraries in /usr/local/lib or /usr/local/lib/sane will override the libraries in the standard locations (/usr/lib and maybe some others). I was a little worried that this might break something, if an older program used a newer library, but no obvious problems. I figured I could always compile new versions of any programs I broke too. I think it's a good idea to do the sane-frontends as well, so they're both on new versions. At least that's what I did. Not sure if it was really necessary. -- Ron (ronhd at users dot sourceforge dot net) Opinions expressed here are all mine ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
