<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Simon,<br><br>After typing the command<br><br>rpm -V sane-backends sane-backends-devel sane-backends-libs<br><br>OUTPUT IS :<br>S.5....T c /etc/sane.d/dll.conf<br>package sane-backends-devel is not installed<br><br>and when I do a which scanimage <br><br>output is /usr/bin/scanimage<br><br><br>> Date: Fri, 6 Feb 2009 10:09:03 +0100<br>> Subject: RE: [sane-devel] Which HP-AIO Devices are supported by SANE<br>> From: simon.matter@invoca.ch<br>> To: rohitsharma36@hotmail.com<br>> CC: kitno455@gmail.com; sane-devel@lists.alioth.debian.org<br>> <br>> ><br>> > Hi Simon,<br>> ><br>> > Thanks for the deails.<br>> ><br>> > I have loaded Fedora 8 & on top of that I loaded<br>> ><br>> > sane-backends-1.0.19-10.fc9.i386.rpm<br>> > sane-backends-devel-1.0.19-10.fc9.i386.rpm<br>> > sane-backends-libs-1.0.19-10.fc9.i386.rpmand compiled the sane tar ball.<br>> <br>> Why any tarball, why compiling from source. If you compile from source you<br>> don't need the rpm, if you installed the rpms, you don't need compiling<br>> from source.<br>> <br>> The HP 5590 is supported in sane-backends-libs-1.0.19-10.fc9.i386.rpm<br>> which you installed, just look at the package with 'less<br>> sane-backends-libs-1.0.19-10.fc9.i386.rpm' and you'll see the 5590 .so<br>> file.<br>> <br>> > ./configure<br>> > make<br>> > make install<br>> <br>> With this you have messed your system. As I said, remove the stuff you<br>> installed from source and check the integrity of the installed rpms with<br>> <br>> rpm -V sane-backends sane-backends-devel sane-backends-libs<br>> <br>> If that doesn't show anything wrong and there is no sane related stuff in<br>> /usr/local, it should work.<br>> <br>> Simon<br>> <br>> ><br>> > with this I am able to run my hp 4370 scanner.<br>> ><br>> > But I am not able to run my HP 5590 scanner. as the so file for 5590 is<br>> > missing in /usr/lib/sane, please let me know how to get that so file for<br>> > 5590.<br>> ><br>> > Thanks<br>> ><br>> ><br>> ><br>> >> Date: Fri, 6 Feb 2009 08:07:01 +0100<br>> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by SANE<br>> >> From: simon.matter@invoca.ch<br>> >> To: rohitsharma36@hotmail.com<br>> >> CC: kitno455@gmail.com; sane-devel@lists.alioth.debian.org<br>> >><br>> >> OK, you have messed up your box by wildly installing rpm packages and<br>> >> compile from source. At least that's what I consider it.<br>> >><br>> >> So, maybe you should just tell us what distribution you have and what<br>> >> you<br>> >> are trying to achieve.<br>> >><br>> >> From what I read before you are running Fedora 9, is this correct? If<br>> >> yes,<br>> >> then you don't need to compile anything from source just install the<br>> >> correct packages and it should work.<br>> >><br>> >> If you really run Fedora 9, I suggest to remove all the stuff compiled<br>> >> from source first. If you did that already you should not find any sane<br>> >> related thing anywhere under /usr/local.<br>> >><br>> >> Then installing the following packages should give you a running sane:<br>> >> sane-backends-1.0.19-10.fc9.i386.rpm<br>> >> sane-backends-devel-1.0.19-10.fc9.i386.rpm<br>> >> sane-backends-libs-1.0.19-10.fc9.i386.rpm<br>> >><br>> >> If rpm complains that one or more of the packages are already installed,<br>> >> you can still reinstall the package by doing 'rpm -Uvh --replacefiles<br>> >> --replacepkgs ...'<br>> >><br>> >> Hope that helps,<br>> >> Simon<br>> >><br>> >> ><br>> >> > 1) Entered in sane source and executed make uninstall that<br>> >> > removed<br>> >> > /usr/local/bin<br>> >> ><br>> >> > 2nd typed the command ./configure /usr/etc --disable-locking<br>> >> ><br>> >> > 3rd make<br>> >> ><br>> >> > 4th typed the command rm -rf /etc/sane.d<br>> >> ><br>> >> > 5th make install<br>> >> ><br>> >> > RESULT:<br>> >> > if i type the command `./configure --prefix=/usr --sysconfdir=/etc<br>> >> > --disable-locking`<br>> >> > bash: checking: command not found<br>> >> ><br>> >> > if I type ./configure /usr/etc --disable-locking<br>> >> > This error comes<br>> >> > configure: WARNING: you should use --build, --host, --target<br>> >> > configure: WARNING: invalid host type: /usr/etc<br>> >> > checking build system type... Invalid configuration `/usr/etc':<br>> >> machine<br>> >> > `/usr/etc' not recognized<br>> >> > configure: error: /bin/sh ./config.sub /usr/etc failed<br>> >> ><br>> >> > So please let me know is --disable-locking some argument ?<br>> >> ><br>> >> > Thanks<br>> >> ><br>> >> ><br>> >> ><br>> >> >> Date: Thu, 5 Feb 2009 10:16:24 -0500<br>> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by SANE<br>> >> >> From: kitno455@gmail.com<br>> >> >> To: rohitsharma36@hotmail.com<br>> >> >><br>> >> >> run the first command, without the quotes around it.<br>> >> >><br>> >> >> allan<br>> >> >><br>> >> >> On Thu, Feb 5, 2009 at 10:13 AM, rohit bal<br>> >> <rohitsharma36@hotmail.com><br>> >> >> wrote:<br>> >> >> > hi Allan,<br>> >> >> ><br>> >> >> > if i type the command `./configure --prefix=/usr --sysconfdir=/etc<br>> >> >> > --disable-locking`<br>> >> >> > bash: checking: command not found<br>> >> >> ><br>> >> >> ><br>> >> >> > if I type ./configure /usr/etc --disable-locking<br>> >> >> > This error comes<br>> >> >> > configure: WARNING: you should use --build, --host, --target<br>> >> >> > configure: WARNING: invalid host type: /usr/etc<br>> >> >> > checking build system type... Invalid configuration `/usr/etc':<br>> >> >> machine<br>> >> >> > `/usr/etc' not recognized<br>> >> >> > configure: error: /bin/sh ./config.sub /usr/etc failed<br>> >> >> ><br>> >> >> > So please let me know is --disable-locking some argument ?<br>> >> >> ><br>> >> >> > Regards,<br>> >> >> > Roh<br>> >> >> ><br>> >> >> ><br>> >> >> ><br>> >> >> >> Date: Thu, 5 Feb 2009 09:59:59 -0500<br>> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by<br>> >> SANE<br>> >> >> >> From: kitno455@gmail.com<br>> >> >> >> To: rohitsharma36@hotmail.com<br>> >> >> >><br>> >> >> >> WHY CAN YOU NOT RUN THE COMMANDS AS I SENT THEM TO YOU?<br>> >> >> >><br>> >> >> >> allan<br>> >> >> >><br>> >> >> >> On Thu, Feb 5, 2009 at 9:59 AM, rohit bal<br>> >> <rohitsharma36@hotmail.com><br>> >> >> >> wrote:<br>> >> >> >> > step 2 gives error<br>> >> >> >> ><br>> >> >> >> > ./configure /usr/etc --disable-locking<br>> >> >> >> ><br>> >> >> >> > configure: WARNING: you should use --build, --host, --target<br>> >> >> >> > configure: WARNING: invalid host type: /usr/etc<br>> >> >> >> > checking build system type... Invalid configuration `/usr/etc':<br>> >> >> machine<br>> >> >> >> > `/usr/etc' not recognized<br>> >> >> >> > configure: error: /bin/sh ./config.sub /usr/etc failed<br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> >> Date: Thu, 5 Feb 2009 09:55:22 -0500<br>> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by<br>> >> >> SANE<br>> >> >> >> >> From: kitno455@gmail.com<br>> >> >> >> >> To: rohitsharma36@hotmail.com<br>> >> >> >> >><br>> >> >> >> >> I said all.<br>> >> >> >> >><br>> >> >> >> >> allan<br>> >> >> >> >><br>> >> >> >> >> On Thu, Feb 5, 2009 at 9:53 AM, rohit bal<br>> >> >> <rohitsharma36@hotmail.com><br>> >> >> >> >> wrote:<br>> >> >> >> >> > shall I follow all steps 1 to 5 or only 3 to 5<br>> >> >> >> >> ><br>> >> >> >> >> >> Date: Thu, 5 Feb 2009 09:50:11 -0500<br>> >> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported<br>> >> by<br>> >> >> SANE<br>> >> >> >> >> >> From: kitno455@gmail.com<br>> >> >> >> >> >> To: rohitsharma36@hotmail.com<br>> >> >> >> >> >><br>> >> >> >> >> >> On Thu, Feb 5, 2009 at 9:47 AM, rohit bal<br>> >> >> >> >> >> <rohitsharma36@hotmail.com><br>> >> >> >> >> >> wrote:<br>> >> >> >> >> >> > Hi Allan,<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > The steps I followed were<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > 1) Entered in sane source and executed 'make uninstall'<br>> >> that<br>> >> >> >> >> >> > removed<br>> >> >> >> >> >> > /usr/local/bin<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > 2nd typed the command ./configure /usr/etc<br>> >> --disable-locking<br>> >> >> >> >> >><br>> >> >> >> >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>> >> >> >> >> >> this above is not what i told you to type. try all steps<br>> >> again.<br>> >> >> >> >> >><br>> >> >> >> >> >> ><br>> >> >> >> >> >> > 3rd make<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > 4th typed the command rm -rf /etc/sane.d<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > 5th make install<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > After that I saw there is a copy of sane folder in<br>> >> >> /usr/local/lib<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > in /usr/local/bin I have only 3<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > executables(scanimage,gamma4scanimage,sane-find-scanner,sane-config<br>> >> >> >> >> >> > file).<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > and Which scanimage stills shows old path /usr/local/bin<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > Thanks<br>> >> >> >> >> >> ><br>> >> >> >> >> >> >> Date: Thu, 5 Feb 2009 09:29:14 -0500<br>> >> >> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are<br>> >> supported<br>> >> >> by<br>> >> >> >> >> >> >> SANE<br>> >> >> >> >> >> >> From: kitno455@gmail.com<br>> >> >> >> >> >> >> To: rohitsharma36@hotmail.com<br>> >> >> >> >> >> >> CC: sane-devel@lists.alioth.debian.org<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> 1. cd into your source and run 'make uninstall'. that<br>> >> should<br>> >> >> >> >> >> >> remove<br>> >> >> >> >> >> >> everything sane related from /usr/local<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> 2. `./configure --prefix=/usr --sysconfdir=/etc<br>> >> >> >> >> >> >> --disable-locking`<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> 3. make<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >><br>> >> >> >> >> >> ><br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> 5. make install<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> allan<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> On Thu, Feb 5, 2009 at 9:16 AM, rohit bal<br>> >> >> >> >> >> >> <rohitsharma36@hotmail.com><br>> >> >> >> >> >> >> wrote:<br>> >> >> >> >> >> >> > Hi Allan,<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > So shall I remove the /usr/local/bin one or<br>> >> /usr/lib/sane.<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > in /usr/local/bin I have only 3<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > executables(scanimage,gamma4scanimage,sane-find-scanner,sane-config<br>> >> >> >> >> >> >> > file).<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > In /usr/lib/sane I have all .so files.<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > What is the command to uninstall sane.<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > Thanks,<br>> >> >> >> >> >> >> > Rohi<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> >> Date: Thu, 5 Feb 2009 09:02:19 -0500<br>> >> >> >> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are<br>> >> >> supported<br>> >> >> >> >> >> >> >> by<br>> >> >> >> >> >> >> >> SANE<br>> >> >> >> >> >> >> >> From: kitno455@gmail.com<br>> >> >> >> >> >> >> >> To: rohitsharma36@hotmail.com;<br>> >> >> >> >> >> >> >> sane-devel@lists.alioth.debian.org<br>> >> >> >> >> >> >> >><br>> >> >> >> >> >> >> >> On Thu, Feb 5, 2009 at 8:54 AM, rohit bal<br>> >> >> >> >> >> >> >> <rohitsharma36@hotmail.com><br>> >> >> >> >> >> >> >> wrote:<br>> >> >> >> >> >> >> >> > ohh I am very sorry I did not understand what you<br>> >> said<br>> >> >> >> >> >> >> >> > earlier.<br>> >> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> >> > now I typed which scanimage , the output is below<br>> >> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> >> > OUTPUT:>/usr/local/bin/scanimage<br>> >> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> >><br>> >> >> >> >> >> >> >> and there is your problem. You have two copies of sane<br>> >> >> >> >> >> >> >> installed.<br>> >> >> >> >> >> >> >> The<br>> >> >> >> >> >> >> >> copy in /usr/local has support for the newer scanners,<br>> >> >> the<br>> >> >> >> >> >> >> >> system<br>> >> >> >> >> >> >> >> copy<br>> >> >> >> >> >> >> >> in /usr does not. Your $PATH has set /usr/local/bin to<br>> >> >> come<br>> >> >> >> >> >> >> >> first,<br>> >> >> >> >> >> >> >> so<br>> >> >> >> >> >> >> >> you are running that copy of scanimage, which is<br>> >> linked<br>> >> >> >> >> >> >> >> against<br>> >> >> >> >> >> >> >> the<br>> >> >> >> >> >> >> >> newer sane you built from source. Your program<br>> >> compiles<br>> >> >> and<br>> >> >> >> >> >> >> >> links<br>> >> >> >> >> >> >> >> against the system copy, because your linker does not<br>> >> >> look in<br>> >> >> >> >> >> >> >> /usr/local/lib first.<br>> >> >> >> >> >> >> >><br>> >> >> >> >> >> >> >> The fix for this is something i mentioned about 50<br>> >> mails<br>> >> >> ago:<br>> >> >> >> >> >> >> >> you<br>> >> >> >> >> >> >> >> should remove the copy of sane from /usr/local, and<br>> >> >> instead<br>> >> >> >> >> >> >> >> rerun<br>> >> >> >> >> >> >> >> configure with the proper arguments to overwrite the<br>> >> >> system<br>> >> >> >> >> >> >> >> copy<br>> >> >> >> >> >> >> >> of<br>> >> >> >> >> >> >> >> sane, then make && make install.<br>> >> >> >> >> >> >> >><br>> >> >> >> >> >> >> >> allan<br>> >> >> >> >> >> >> >> --<br>> >> >> >> >> >> >> >> "The truth is an offense, but not a sin"<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> > ________________________________<br>> >> >> >> >> >> >> > Akshay Kumar takes on the two reigning Bollywood Khans.<br>> >> >> Catch<br>> >> >> >> >> >> >> > the<br>> >> >> >> >> >> >> > action<br>> >> >> >> >> >> >> > on<br>> >> >> >> >> >> >> > MSN Entertainment! Check it out!<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >><br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> --<br>> >> >> >> >> >> >> "The truth is an offense, but not a sin"<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > ________________________________<br>> >> >> >> >> >> > Akshay Kumar takes on the two reigning Bollywood Khans.<br>> >> Catch<br>> >> >> the<br>> >> >> >> >> >> > action<br>> >> >> >> >> >> > on<br>> >> >> >> >> >> > MSN Entertainment! Check it out!<br>> >> >> >> >> >><br>> >> >> >> >> >><br>> >> >> >> >> >><br>> >> >> >> >> >> --<br>> >> >> >> >> >> "The truth is an offense, but not a sin"<br>> >> >> >> >> ><br>> >> >> >> >> > ________________________________<br>> >> >> >> >> > Get a view of the world through MSN Video. Some things just<br>> >> >> cannot be<br>> >> >> >> >> > left<br>> >> >> >> >> > unseen. Try it!<br>> >> >> >> >><br>> >> >> >> >><br>> >> >> >> >><br>> >> >> >> >> --<br>> >> >> >> >> "The truth is an offense, but not a sin"<br>> >> >> >> ><br>> >> >> >> > ________________________________<br>> >> >> >> > Need more space to upload pictures? Get 25 GB online storage<br>> >> with<br>> >> >> >> > Windows<br>> >> >> >> > Live SkyDrive! Try it!<br>> >> >> >><br>> >> >> >><br>> >> >> >><br>> >> >> >> --<br>> >> >> >> "The truth is an offense, but not a sin"<br>> >> >> ><br>> >> >> > ________________________________<br>> >> >> > Discover your phone style & WIN a Windows Mobile phone. Your style!<br>> >> >> Try it<br>> >> >> > now!<br>> >> >><br>> >> >><br>> >> >><br>> >> >> --<br>> >> >> "The truth is an offense, but not a sin"<br>> >> ><br>> >> > _________________________________________________________________<br>> >> > Find a better job. We have plenty. Visit MSN Jobs<br>> >> > http://www.in.msn.com/jobs--<br>> >> > sane-devel mailing list: sane-devel@lists.alioth.debian.org<br>> >> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel<br>> >> > Unsubscribe: Send mail with subject "unsubscribe your_password"<br>> >> > to sane-devel-request@lists.alioth.debian.org<br>> >><br>> >><br>> ><br>> > _________________________________________________________________<br>> > Wish to Marry Now? Join MSN Matrimony FREE!<br>> > http://www.in.msn.com/matrimony<br>> <br>> <br><br /><hr />Rediscover the magic of Windows & WIN a Windows Vista laptop & Windows mobile phone at www.windowsandme.com <a href='http://www.windowsandme.com' target='_new'>Try it now!</a></body>
</html>