Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9532 - i cannot install my printer with Add Printer Wizard
Summary: i cannot install my printer with Add Printer Wizard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 02:15 UTC by Patrick
Modified: 2002-10-28 06:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2002-10-23 02:15:08 UTC
after the printer choise  i get the error  "unable to load the request driver"  
the stderr report:  
 
perl: warning: Setting locale failed. 
perl: warning: Please check that your locale settings: 
        LANGUAGE = (unset), 
        LC_ALL = (unset), 
        LANG = "en" 
    are supported and installed on your system. 
perl: warning: Falling back to the standard locale ("C"). 
Can't locate Foomatic/Defaults.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 
/usr/lib/perl5/site_perl .) at /usr/bin/foomatic-datafile line 3. 
BEGIN failed--compilation aborted at /usr/bin/foomatic-datafile line 3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-23 03:40:26 UTC
please try this:

emerge ExtUtils-MakeMaker
emerge foomatic

and then try again and let us know..
Comment 2 Patrick 2002-10-24 01:13:31 UTC
I discover that there's an additional library path:
/usr/lib/site_perl/5.6.1/
that contains:
ExtUtils  Foomatic  Parse  Text  XML  i686-linux

and that path is not included in @INC
i dont know witch package installed Footmatic & friends,
im new to gentoo and i've made the standard installtion with
the emerge X+kde-beta2

pch

Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-24 01:58:53 UTC
hmm, this occurred after emerge ExtUtils-MakeMaker foomatic ?
Comment 4 Patrick 2002-10-24 02:53:28 UTC
no i do not merge (yet):
emerge ExtUtils-MakeMaker
emerge foomatic

because I discover the /usr/lib/site_perl/5.6.1/
before your answer  and i've made a symlink from 
/usr/lib/site_perl/5.6.1/Foomatic
to 
/usr/lib/perl5/site_perl/5.6.1 

after that i was able to finish the kde printing wizard (i.e. compile with perl)

Comment 5 Michael Cummings (RETIRED) gentoo-dev 2002-10-24 08:33:13 UTC
Your solution, though working, can cause problems later down the road if you 
continue to use perl based apps (that symlink isn't a part of @INC, which perl 
refers to for its module loading). If this works for you, that's fine, but you 
should be aware that the cleaner (and easier to help you in the future) 
solution would be to do as Seemant suggested, which is emerge ExtUtils-
MakeMaker foomatic
Comment 6 Patrick 2002-10-24 09:16:35 UTC
i've removed the symlink and made the emerge and now it works!
thanks for the support!
let me know if i can help you in some way.

pch
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2002-10-24 09:47:28 UTC
Patrick,

     Thanks :) Was just worried that the symlink could cause problems later 
down the road. If this is working good for you, is it safe to mark this as 
resolved?