1. cd into your source and run 'make uninstall'. that should remove everything sane related from /usr/local
2. `./configure --prefix=/usr --sysconfdir=/etc --disable-locking` 3. make 4. rm -rf /etc/sane.d 5. make install allan On Thu, Feb 5, 2009 at 9:16 AM, rohit bal <rohitsharma36 at hotmail.com> wrote: > Hi Allan, > > So shall I remove the /usr/local/bin one or /usr/lib/sane. > > in /usr/local/bin I have only 3 > executables(scanimage,gamma4scanimage,sane-find-scanner,sane-config file). > > In /usr/lib/sane I have all .so files. > > What is the command to uninstall sane. > > Thanks, > Rohi > >> Date: Thu, 5 Feb 2009 09:02:19 -0500 >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by SANE >> From: kitno455 at gmail.com >> To: rohitsharma36 at hotmail.com; sane-devel at lists.alioth.debian.org >> >> On Thu, Feb 5, 2009 at 8:54 AM, rohit bal <rohitsharma36 at hotmail.com> >> wrote: >> > ohh I am very sorry I did not understand what you said earlier. >> > >> > now I typed which scanimage , the output is below >> > >> > OUTPUT:>/usr/local/bin/scanimage >> > >> >> and there is your problem. You have two copies of sane installed. The >> copy in /usr/local has support for the newer scanners, the system copy >> in /usr does not. Your $PATH has set /usr/local/bin to come first, so >> you are running that copy of scanimage, which is linked against the >> newer sane you built from source. Your program compiles and links >> against the system copy, because your linker does not look in >> /usr/local/lib first. >> >> The fix for this is something i mentioned about 50 mails ago: you >> should remove the copy of sane from /usr/local, and instead rerun >> configure with the proper arguments to overwrite the system copy of >> sane, then make && make install. >> >> allan >> -- >> "The truth is an offense, but not a sin" > > ________________________________ > Akshay Kumar takes on the two reigning Bollywood Khans. Catch the action on > MSN Entertainment! Check it out! -- "The truth is an offense, but not a sin"
