View previous topic :: View next topic |
Author |
Message |
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Tue Mar 26, 2013 4:46 pm Post subject: [SOLVED] Can't locate Device/USB.pm in @INC |
|
|
Hello All
I have a scanner canon lide 600f. According to sane db this scanner is not supported. Someone developed a SANE backend for "CanoScan LiDE 600F" written in perl. It can be found here: [url]
http://www.juergen-ernst.de/info_sane.html
[/url].
If I try to run the script canoscan600f-20130118.pl I get this error:
Code: |
Can't locate Device/USB.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at ./canoscan600f-20130118.pl line 2.
BEGIN failed--compilation aborted at ./canoscan600f-20130118.pl line 2.
|
Anyone has any idea how to solve it?
Last edited by queen on Tue Mar 26, 2013 6:06 pm; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Mar 26, 2013 5:20 pm Post subject: |
|
|
You need Device::USB, which doesn't exist in the main portage tree. Run "cpan Device::USB" as the same user you run that script as to install it. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Tue Mar 26, 2013 5:49 pm Post subject: |
|
|
Ant P. wrote: | You need Device::USB, which doesn't exist in the main portage tree. Run "cpan Device::USB" as the same user you run that script as to install it. |
Thanks. I ran this command. It needed Inline also. So I ran emerge Inline and then cpan Device::USB
These worked fine. Now the scanner works fine. Thanks a lot for the help.
I am going to write a howto for this scanner. |
|
Back to top |
|
|
|