On January 18, 2006 15:09, Kaj Haulrich wrote: > Per-Anton and I are in the process of installing 10.0 on his box with two > Intel P4 processors. Kernel is the vanilla 10.0 linux-sme. When trying to > install slocate we get : > > [EMAIL PROTECTED] home]# urpmi slocate > Can't locate URPM.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 > /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux > /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 > /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at > /usr/lib/perl5/vendor_perl/5.8.3/urpm.pm line 13. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.3/urpm.pm line 13. > Compilation failed in require at /usr/sbin/urpmi line 23. > BEGIN failed--compilation aborted at /usr/sbin/urpmi line 23. > [ > > The urpmi version is : urpmi-4.4.5-10.2.100mdk > > but it won't work as expected. Never saw this before. > > Clues anyone ? > > Kaj Haulrich.
I don't know if you're familiar with perl (or with the fact that urpmi is written in perl), so if I'm telling you something you already know, just ignore me... The error message specifically means that the perl "compiler" (it compiles to internal vm code, similar to java, but does it on the fly) can't find the perl library module URPM.pm in its search path (@INC). Beyond that, I can't tell you why that module would be missing. Mine is in: /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/URPM.pm My @INC value is also not the same as yours (I'm on 10.1): /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl I notice that 5.8.5 does not show up in your 5.8.7 search path. Maybe the file is there and the perl search path is messed up. If so, if you can change the search path (sorry, I've never tried to, so I don't know how), you might be able to make it work again. Don't know if any of this helps. -- Ron ronhd at users dot sourceforge dot net Opinions expressed here are all mine. ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
