After doing an emerge ufed I get the following error message on running it. Can't locate Term/ReadKey.pm in @INC(@INC contains ......)at /usr/sbin/ufed line 11 Reproducible: Always Steps to Reproduce: 1.emerge ufed 2.ufed 3. Actual Results: error message Expected Results: ran properly
emerge TermReadKey should solve your probem. The question is why. Both perl ane TermReadKey are dependancies of ufed. I will test later tonight.
I must apoligize for my lack of detail as I did in fact successfully do the emerge of TermReadKey but it did not solve the problem
Sounds like a problem with your @INC variable. I am just leaving for home and I wont be able to look at it until at least 10pm PST. I will have to get back to you later.
Sorry about the delay. Can you please check a few things for me. 1) Please confirm that the file /usr/lib/perl5/site_perl/5.8.0/i686-linux/Term/ReadKey.pm exists. If that file does not exist at that location it should be somewhere else in the /usr/lib/perl5 directory tree. 2) Attach the full error message, I am most interested in the (@INC contains .....) part.
I have the same problem. I'm doing an incremental system update from the 030715 portage snapshot to the 040101 snapshot. I first noticed the ufed problem after I had unmerged ExtUtils-MakeMaker, Test-Simple and File-Spec as they were blocking the system update (new perl). The ufed problem might have been there before, I haven't used ufed since 0308xx. ufed error message: jiroburk root # ufed Can't locate Term/ReadKey.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) at /usr/sbin/ufed line 11. BEGIN failed--compilation aborted at /usr/sbin/ufed line 11. ReadKey.pm location: jiroburk root # find /usr/lib/perl5/ -name 'ReadKey.pm' -print /usr/lib/perl5/site_perl/5.8.0/i586-linux/Term/ReadKey.pm Emerging/updating ReadTermKey doesn't help: jiroburk root # emerge -p TermReadKey These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-perl/TermReadKey-2.21 I don't know much about perl, but might the problem be related to the file being in i586-linux instead of in i686-linux, where the @INC thingie looks?
I'm baffled. I just forgot that ufed wasn't working and tried ufed again ... and it did work !? The unparallelled power of the forgetful mind... I have updated some other packages since posting my previous comment, but none that I can see is directly related to perl. Updated: mozilla, netscape-flash, netscape-navigator, netscape-plugger, opera, gaim, openmosix-user, samba, nedit, xxdiff, ispell, aspell, and the dependencies they brought with them. The problem must have been the location of the ReadKey.pm file since that is now in i686-linux: jiroburk root # find /usr/lib/perl5/ -name 'ReadKey.pm' -print /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Term/ReadKey.pm
"emerge TermReadKey should solve your probem." it did, thanx fred van andel ;)
old bug