LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-05-2003, 03:33 AM   #1
kdowney
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.2
Posts: 4

Rep: Reputation: 0
can't get drakconf to start...


I was trying to install Perl from source and I broke something!
When I try to launch my control panel, it just quits. From the command line I get this:

Can't locate MDK/Common.pm in @INC (@INC contains: /usr/lib/libDrakX /usr/local/lib/perl5/5.8.1/i686-linux /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/i686-linux /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl /usr/lib/perl5/5.8.1 .) at /usr/lib/libDrakX/common.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/common.pm line 3.
Compilation failed in require at /usr/sbin/drakconf line 26.
BEGIN failed--compilation aborted at /usr/sbin/drakconf line 26.

how do I fix it? I can't locate a directory 'MDK' with the file 'Common.pm' in my filesystem. Unsure how to proceed.
Anyone have any ideas?

 
Old 10-18-2004, 11:04 AM   #2
polarbear
LQ Newbie
 
Registered: Mar 2004
Location: here
Distribution: gentoo mandrake, xandros
Posts: 23

Rep: Reputation: 15
same

I have the same problem!
I hope I can fix it.
 
Old 10-18-2004, 11:25 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Probably, the perl install has been written to the wrong folder for MDK. Always try bin files, already compiled for your distro, *.mdk.rpm.

I'd do an install from cd. I'm a newb when it comes to code.
 
Old 10-18-2004, 01:19 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
First find which perl modules you had installed.

e.g. rpm -qa | grep perl

then reinstall them

e.g.

urpmi `rpm -qa | grep perl` --force

(Note: I don't remember if my --force arguments to urpmi is correct... it works in rpm though...)

This will restore the working perl.

If you need to upgrade make sure that you only use the updates available from the repositories for your Mandrake version.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mandriva LE 2005 drakconf doesn't start a.gilles Mandriva 3 06-06-2005 03:53 PM
drakconf charnel Linux - Newbie 1 03-24-2005 03:34 PM
Cannot start Drakconf as normal user davcefai Mandriva 4 01-18-2005 11:49 PM
How to start drakconf in text mode, question raxxal Mandriva 5 08-03-2004 02:51 PM
9.2 Drakconf MCC Maurice Arthur Mandriva 3 05-02-2004 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration