<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<pre>1) Entered in sane source and executed make uninstall that<br>removed<br>/usr/local/bin<br><br>2nd typed the command <b>./configure /usr/etc --disable-locking</b><br><br>3rd make<br><br>4th typed the command rm -rf /etc/sane.d<br><br>5th make install<br><br><b>RESULT:</b><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><b>This error comes</b><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': machine<br>`/usr/etc' not recognized<br>configure: error: /bin/sh ./config.sub /usr/etc failed<br><br><b>So please let me know is --disable-locking some argument ?</b><br><br>Thanks<br><br></pre><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 <rohitsharma36@hotmail.com> 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': 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 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 <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': 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 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 <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 by 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' that<br>> >> >> >> > removed<br>> >> >> >> > /usr/local/bin<br>> >> >> >> ><br>> >> >> >> > 2nd typed the command ./configure /usr/etc --disable-locking<br>> >> >> >><br>> >> >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>> >> >> >> this above is not what i told you to type. try all steps 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 /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 supported 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 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 /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 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 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, the<br>> >> >> >> >> >> system<br>> >> >> >> >> >> copy<br>> >> >> >> >> >> in /usr does not. Your $PATH has set /usr/local/bin to come<br>> >> >> >> >> >> first,<br>> >> >> >> >> >> so<br>> >> >> >> >> >> you are running that copy of scanimage, which is linked<br>> >> >> >> >> >> against<br>> >> >> >> >> >> the<br>> >> >> >> >> >> newer sane you built from source. Your program compiles and<br>> >> >> >> >> >> links<br>> >> >> >> >> >> against the system copy, because your linker does not look in<br>> >> >> >> >> >> /usr/local/lib first.<br>> >> >> >> >> >><br>> >> >> >> >> >> The fix for this is something i mentioned about 50 mails ago:<br>> >> >> >> >> >> you<br>> >> >> >> >> >> should remove the copy of sane from /usr/local, and instead<br>> >> >> >> >> >> rerun<br>> >> >> >> >> >> configure with the proper arguments to overwrite the 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. 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. Catch 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 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 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! Try it<br>> > now!<br>> <br>> <br>> <br>> -- <br>> "The truth is an offense, but not a sin"<br><br /><hr />Get a view of the world through MSN Video. Some things just cannot be left unseen. <a href='http://video.msn.com/?mkt=en-in' target='_new'>Try it!</a></body>
</html>