Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Prerequisite module [FindBin] not known?

by romandas (Pilgrim)
on Aug 06, 2009 at 22:23 UTC ( #786609=perlquestion: print w/ replies, xml ) Need Help??
romandas has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, fellow Monks:

I have been a longtime ActivePerl user on Windows, but have recently heard many good things about Strawberry Perl, so I decided to give it a whirl. Unfortunately, I hit a snag very early on and humbly request your assistance.

Specifically, I installed Strawberry Perl (strawberry-perl-5.10.0.6.msi) on a freshly installed XP (w/ SP3) test machine. I noticed that the libwin32 bundle that normally is included in the ActivePerl install is not included by default in Strawberry, so I fired up cpan to rectify that.

A 'get Bundle::libwin32' later, I got some of the modules, but then I received about 5 errors, all stating: prerequisite moduleFindBin not known.

I'm not sure what to make of this. I queried (cpan> i /FindBin/) and it returned FindBin::Real and FindBin::libs. My questions are:
1. Do either of these satisfy the dependency I'm missing?
2. How can I find out specifically which module needs FindBin? The cpan output was only what I pasted above -- nothing more informative.
3. Will I regret switching? :)

Comment on Prerequisite module [FindBin] not known?
Re: Prerequisite module [FindBin] not known?
by Anonymous Monk on Aug 06, 2009 at 22:49 UTC
    1. Do either of these satisfy the dependency I'm missing?

    No. FindBind has been a core module (part of perl) since 5.00307. StrawberryPerl includes FindBin ( perldoc -l FindBin ).

    2. How can I find out specifically which module needs FindBin? The cpan output was only what I pasted above -- nothing more informative.

    I suggest you find the debug/verbose setting and turn it on, or install each module individually

    cpan Win32 cpan Win32::ChangeNotify cpan Win32::Clipboard cpan Win32::Console cpan Win32::Event cpan Win32::EventLog cpan Win32::File cpan Win32::FileSecurity cpan Win32::IPC cpan Win32::Internet cpan Win32::Job cpan Win32::Mutex cpan Win32::NetAdmin cpan Win32::NetResource cpan Win32::ODBC cpan Win32::OLE cpan Win32::PerfLib cpan Win32::Pipe cpan Win32::Process cpan Win32::Registry cpan Win32::Semaphore cpan Win32::Service cpan Win32::Shortcut cpan Win32::Sound cpan Win32::TieRegistry cpan Win32::WinError cpan Win32API::File cpan Win32API::Net cpan Win32API::Registry

    3. Will I regret switching? :)

    Testicles :)

Re: Prerequisite module [FindBin] not known?
by romandas (Pilgrim) on Aug 07, 2009 at 02:23 UTC
    What is particularly strange is when I ran the install (cpan> install Bundle::libwin32), it seems to have been successful, even though I haven't figured out where the 'module not known' error is coming from.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://786609]
Approved by AnomalousMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-30 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (385 votes), past polls