[sane-devel] Which HP-AIO Devices are supported by SANE

rohit bal rohitsharma36 at hotmail.com
Fri Feb 6 11:04:29 UTC 2009


Hi Simon,

After typing the command

rpm -V sane-backends sane-backends-devel sane-backends-libs

OUTPUT IS :
S.5....T c /etc/sane.d/dll.conf
package sane-backends-devel is not installed

and when  I do a which scanimage 

output is /usr/bin/scanimage


> Date: Fri, 6 Feb 2009 10:09:03 +0100
> Subject: RE: [sane-devel] Which HP-AIO Devices are supported by SANE
> From: simon.matter at invoca.ch
> To: rohitsharma36 at hotmail.com
> CC: kitno455 at gmail.com; sane-devel at lists.alioth.debian.org
> 
> >
> > Hi Simon,
> >
> > Thanks for the deails.
> >
> > I have loaded Fedora 8 & on top of that I loaded
> >
> > sane-backends-1.0.19-10.fc9.i386.rpm
> > sane-backends-devel-1.0.19-10.fc9.i386.rpm
> > sane-backends-libs-1.0.19-10.fc9.i386.rpmand compiled the sane tar ball.
> 
> Why any tarball, why compiling from source. If you compile from source you
> don't need the rpm, if you installed the rpms, you don't need compiling
> from source.
> 
> The HP 5590 is supported in sane-backends-libs-1.0.19-10.fc9.i386.rpm
> which you installed, just look at the package with 'less
> sane-backends-libs-1.0.19-10.fc9.i386.rpm' and you'll see the 5590 .so
> file.
> 
> > ./configure
> > make
> > make install
> 
> With this you have messed your system. As I said, remove the stuff you
> installed from source and check the integrity of the installed rpms with
> 
> rpm -V sane-backends sane-backends-devel sane-backends-libs
> 
> If that doesn't show anything wrong and there is no sane related stuff in
> /usr/local, it should work.
> 
> Simon
> 
> >
> > with this I am able to run my hp 4370 scanner.
> >
> > But I am not able to run my HP 5590 scanner. as the so file for 5590 is
> > missing in  /usr/lib/sane, please let me know how to get that so file for
> > 5590.
> >
> > Thanks
> >
> >
> >
> >> Date: Fri, 6 Feb 2009 08:07:01 +0100
> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by SANE
> >> From: simon.matter at invoca.ch
> >> To: rohitsharma36 at hotmail.com
> >> CC: kitno455 at gmail.com; sane-devel at lists.alioth.debian.org
> >>
> >> OK, you have messed up your box by wildly installing rpm packages and
> >> compile from source. At least that's what I consider it.
> >>
> >> So, maybe you should just tell us what distribution you have and what
> >> you
> >> are trying to achieve.
> >>
> >> From what I read before you are running Fedora 9, is this correct? If
> >> yes,
> >> then you don't need to compile anything from source just install the
> >> correct packages and it should work.
> >>
> >> If you really run Fedora 9, I suggest to remove all the stuff compiled
> >> from source first. If you did that already you should not find any sane
> >> related thing anywhere under /usr/local.
> >>
> >> Then installing the following packages should give you a running sane:
> >> sane-backends-1.0.19-10.fc9.i386.rpm
> >> sane-backends-devel-1.0.19-10.fc9.i386.rpm
> >> sane-backends-libs-1.0.19-10.fc9.i386.rpm
> >>
> >> If rpm complains that one or more of the packages are already installed,
> >> you can still reinstall the package by doing 'rpm -Uvh --replacefiles
> >> --replacepkgs ...'
> >>
> >> Hope that helps,
> >> Simon
> >>
> >> >
> >> > 1) Entered in sane source and executed make uninstall that
> >> > removed
> >> > /usr/local/bin
> >> >
> >> > 2nd typed the command ./configure /usr/etc --disable-locking
> >> >
> >> > 3rd make
> >> >
> >> > 4th typed the command rm -rf /etc/sane.d
> >> >
> >> > 5th make install
> >> >
> >> > RESULT:
> >> > if i type the command `./configure --prefix=/usr --sysconfdir=/etc
> >> > --disable-locking`
> >> >  bash: checking: command not found
> >> >
> >> > if I type  ./configure /usr/etc --disable-locking
> >> > This error comes
> >> > configure: WARNING: you should use --build, --host, --target
> >> > configure: WARNING: invalid host type: /usr/etc
> >> > checking build system type... Invalid configuration `/usr/etc':
> >> machine
> >> > `/usr/etc' not recognized
> >> > configure: error: /bin/sh ./config.sub /usr/etc failed
> >> >
> >> > So please let me know is --disable-locking some argument ?
> >> >
> >> > Thanks
> >> >
> >> >
> >> >
> >> >> Date: Thu, 5 Feb 2009 10:16:24 -0500
> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by SANE
> >> >> From: kitno455 at gmail.com
> >> >> To: rohitsharma36 at hotmail.com
> >> >>
> >> >> run the first command, without the quotes around it.
> >> >>
> >> >> allan
> >> >>
> >> >> On Thu, Feb 5, 2009 at 10:13 AM, rohit bal
> >> <rohitsharma36 at hotmail.com>
> >> >> wrote:
> >> >> > hi Allan,
> >> >> >
> >> >> > if i type the command `./configure --prefix=/usr --sysconfdir=/etc
> >> >> > --disable-locking`
> >> >> > bash: checking: command not found
> >> >> >
> >> >> >
> >> >> > if I type  ./configure /usr/etc --disable-locking
> >> >> > This error comes
> >> >> > configure: WARNING: you should use --build, --host, --target
> >> >> > configure: WARNING: invalid host type: /usr/etc
> >> >> > checking build system type... Invalid configuration `/usr/etc':
> >> >> machine
> >> >> > `/usr/etc' not recognized
> >> >> > configure: error: /bin/sh ./config.sub /usr/etc failed
> >> >> >
> >> >> > So please let me know is --disable-locking some argument ?
> >> >> >
> >> >> > Regards,
> >> >> > Roh
> >> >> >
> >> >> >
> >> >> >
> >> >> >> Date: Thu, 5 Feb 2009 09:59:59 -0500
> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by
> >> SANE
> >> >> >> From: kitno455 at gmail.com
> >> >> >> To: rohitsharma36 at hotmail.com
> >> >> >>
> >> >> >> WHY CAN YOU NOT RUN THE COMMANDS AS I SENT THEM TO YOU?
> >> >> >>
> >> >> >> allan
> >> >> >>
> >> >> >> On Thu, Feb 5, 2009 at 9:59 AM, rohit bal
> >> <rohitsharma36 at hotmail.com>
> >> >> >> wrote:
> >> >> >> > step 2 gives error
> >> >> >> >
> >> >> >> > ./configure /usr/etc --disable-locking
> >> >> >> >
> >> >> >> > configure: WARNING: you should use --build, --host, --target
> >> >> >> > configure: WARNING: invalid host type: /usr/etc
> >> >> >> > checking build system type... Invalid configuration `/usr/etc':
> >> >> machine
> >> >> >> > `/usr/etc' not recognized
> >> >> >> > configure: error: /bin/sh ./config.sub /usr/etc failed
> >> >> >> >
> >> >> >> >
> >> >> >> >> Date: Thu, 5 Feb 2009 09:55:22 -0500
> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported by
> >> >> SANE
> >> >> >> >> From: kitno455 at gmail.com
> >> >> >> >> To: rohitsharma36 at hotmail.com
> >> >> >> >>
> >> >> >> >> I said all.
> >> >> >> >>
> >> >> >> >> allan
> >> >> >> >>
> >> >> >> >> On Thu, Feb 5, 2009 at 9:53 AM, rohit bal
> >> >> <rohitsharma36 at hotmail.com>
> >> >> >> >> wrote:
> >> >> >> >> > shall I follow all steps 1 to 5 or only 3 to 5
> >> >> >> >> >
> >> >> >> >> >> Date: Thu, 5 Feb 2009 09:50:11 -0500
> >> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are supported
> >> by
> >> >> SANE
> >> >> >> >> >> From: kitno455 at gmail.com
> >> >> >> >> >> To: rohitsharma36 at hotmail.com
> >> >> >> >> >>
> >> >> >> >> >> On Thu, Feb 5, 2009 at 9:47 AM, rohit bal
> >> >> >> >> >> <rohitsharma36 at hotmail.com>
> >> >> >> >> >> wrote:
> >> >> >> >> >> > Hi Allan,
> >> >> >> >> >> >
> >> >> >> >> >> > The steps I followed were
> >> >> >> >> >> >
> >> >> >> >> >> > 1) Entered in sane source and executed 'make uninstall'
> >> that
> >> >> >> >> >> > removed
> >> >> >> >> >> > /usr/local/bin
> >> >> >> >> >> >
> >> >> >> >> >> > 2nd typed the command ./configure /usr/etc
> >> --disable-locking
> >> >> >> >> >>
> >> >> >> >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >> >> >> >> >> this above is not what i told you to type. try all steps
> >> again.
> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> > 3rd make
> >> >> >> >> >> >
> >> >> >> >> >> > 4th typed the command rm -rf /etc/sane.d
> >> >> >> >> >> >
> >> >> >> >> >> > 5th make install
> >> >> >> >> >> >
> >> >> >> >> >> > After that I saw there is a copy of sane folder in
> >> >> /usr/local/lib
> >> >> >> >> >> >
> >> >> >> >> >> > in /usr/local/bin I have only 3
> >> >> >> >> >> >
> >> >> >> >> >> > executables(scanimage,gamma4scanimage,sane-find-scanner,sane-config
> >> >> >> >> >> > file).
> >> >> >> >> >> >
> >> >> >> >> >> > and Which scanimage stills shows old path /usr/local/bin
> >> >> >> >> >> >
> >> >> >> >> >> > Thanks
> >> >> >> >> >> >
> >> >> >> >> >> >> Date: Thu, 5 Feb 2009 09:29:14 -0500
> >> >> >> >> >> >> Subject: Re: [sane-devel] Which HP-AIO Devices are
> >> supported
> >> >> by
> >> >> >> >> >> >> SANE
> >> >> >> >> >> >> From: kitno455 at gmail.com
> >> >> >> >> >> >> To: rohitsharma36 at hotmail.com
> >> >> >> >> >> >> CC: sane-devel at lists.alioth.debian.org
> >> >> >> >> >> >>
> >> >> >> >> >> >> 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
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> >>
> >> >> >> >> >> >> 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"
> >> >> >> >> >> >
> >> >> >> >> >> > ________________________________
> >> >> >> >> >> > 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"
> >> >> >> >> >
> >> >> >> >> > ________________________________
> >> >> >> >> > Get a view of the world through MSN Video. Some things just
> >> >> cannot be
> >> >> >> >> > left
> >> >> >> >> > unseen. Try it!
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> "The truth is an offense, but not a sin"
> >> >> >> >
> >> >> >> > ________________________________
> >> >> >> > Need more space to upload pictures? Get 25 GB online storage
> >> with
> >> >> >> > Windows
> >> >> >> > Live SkyDrive! Try it!
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> "The truth is an offense, but not a sin"
> >> >> >
> >> >> > ________________________________
> >> >> > Discover your phone style & WIN a Windows Mobile phone. Your style!
> >> >> Try it
> >> >> > now!
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> "The truth is an offense, but not a sin"
> >> >
> >> > _________________________________________________________________
> >> > Find a better job. We have plenty. Visit MSN Jobs
> >> > http://www.in.msn.com/jobs--
> >> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> >> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >> >              to sane-devel-request at lists.alioth.debian.org
> >>
> >>
> >
> > _________________________________________________________________
> > Wish to Marry Now? Join MSN Matrimony FREE!
> > http://www.in.msn.com/matrimony
> 
> 

_________________________________________________________________
Plug in to the MSN Tech channel for a full update on the latest gizmos that made an impact.
http://computing.in.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090206/2b1aede0/attachment-0001.htm 


More information about the sane-devel mailing list