LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2005, 05:38 PM   #1
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
autoslack Getopt/Mixed.pm not found


Hello there

I'm trying to use autoslack to update my slackware system / look for some additional inspiration for my own script. Alas not wanting to re-invent the wheel i'd like to actually test autoslack before touting my own superior intellect.

Sadly i can't get autoslack to work (so much for touting intellect period)

I get the following message:

root@laptix:/home/chakkerz# autoslack
Can't locate Getopt/Mixed.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl) at /usr/sbin/autoslack line 24.
BEGIN failed--compilation aborted at /usr/sbin/autoslack line 24.

I've seen this message (or something like it) before in dvd::rip ...and i never resolved it ... but the key to the problem ... according to various threads on forums and the like appears to be related to the perl installation (the @INC bit anyways).

The problem is i can't find the file (Mixed.pm) on my HDD (so i can't try to add it to @INC ... which i don't know where it is permanently defined anyway) and i can't find a download that will promise the file either. I saw a redhat post that it will go into a perl subdirectory ... but again, no leads as to where to get the file for my slackware system from.

Any help would be appreachiated.
 
Old 03-19-2005, 04:31 AM   #2
CARTMAN
Member
 
Registered: Feb 2002
Location: Turkiye
Distribution: Pardus
Posts: 147

Rep: Reputation: 16
You need GetOpt::Mixed perl module. Try www.cpan.org
 
Old 03-21-2005, 05:29 PM   #3
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Original Poster
Rep: Reputation: 32
Ok, that did help

But it keeps asking for more and more modules AND it is an utter pain to get @INC to recognize them.

From the documentation that is on the site i gather, you "just copy the [individual files] to the perl library" and presto ... but this is not globaly true for ALL modules (goodo :-) ).

Thankfully that explains the error message. Sadly this does not offer a clear way to resolve the problem. Is there a way to get the entire install up to date ?? get ALL modules (i hate screwing around).

Now as i am writting this i just ran 'install Bundle::CPAN' which appears to be installing ... a lot but not everything.

I notice i /<package>::*/ will list all available in a <package> but is there a way to install the lot? or a more efficient way to install what i need??

One way or another this has put me on the way. So thanks

Oh yes, even after using cpan to install stuff i still get @INC error about stuff not being found (though being there installed first manually and then using cpan) ... is there something i can run to verify the proper installation of module?

Last edited by chakkerz; 03-21-2005 at 05:31 PM.
 
  


Reply



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
getopt availability Bostonian Programming 2 12-26-2004 10:37 AM
getopt(3) Berhanie Programming 8 06-15-2004 09:50 PM
Getopt() newbie... AMMullan Programming 6 02-11-2004 01:02 PM
how do u get autoslack working matjazk Slackware 5 11-25-2003 04:58 PM
Using getopt in cplus UltimaGuy Programming 3 08-28-2003 05:35 AM

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

All times are GMT -5. The time now is 10:24 AM.

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
Open Source Consulting | Domain Registration