Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Unable to install perl module win32:driveinfo

Reply
Thread Tools

Unable to install perl module win32:driveinfo

 
 
shaahul
Guest
Posts: n/a
 
      10-18-2005
Hi

I am trying to install the perl module driveInfo, but have been
unsuccessful.

I downloaded Win32-DriveInfo-0.06.tar.gz from
http://www.cpan.org/modules/01modules.index.html and unzipped to a
directory.

- From that directory, I ran "perl Makefile.PL". This was the output-
Checking if your kit is complete...
Looks good
Writing Makefile for Win32:riveInfo


- Then ran "make" and "make test", but get this error.
makefile:653: *** missing separator. Stop.

I am new to Perl and am unable to figure out the fix for this problem.
Can someone tell me what I might be missing?

Thanks.

 
Reply With Quote
 
 
 
 
Randy Kobes
Guest
Posts: n/a
 
      10-18-2005
shaahul wrote:
> Hi
>
> I am trying to install the perl module driveInfo, but have been
> unsuccessful.
>
> I downloaded Win32-DriveInfo-0.06.tar.gz from
> http://www.cpan.org/modules/01modules.index.html and unzipped to a
> directory.
>
> - From that directory, I ran "perl Makefile.PL". This was the output-
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Win32:riveInfo
>
>
> - Then ran "make" and "make test", but get this error.
> makefile:653: *** missing separator. Stop.


If you're using ActivePerl, it's more straightforward
to use Microsoft's "nmake":
http://johnbokma.com/perl/make-for-windows.html
However, again for ActivePerl, it's easier again to
first check if a ppm package is available:
http://cpan.uwinnipeg.ca/dist/Win32-DriveInfo
See
http://aspn.activestate.com/ASPN/doc...Perl-faq2.html
for help on getting started with ppm.

--
best regards,
randy kobes
 
Reply With Quote
 
 
 
 
shaahul
Guest
Posts: n/a
 
      10-18-2005
Thanks a lot Randy

I was able to use nmake and these are the commands I ran.

1. perl Makefile.PL
Output
----------
Checking if your kit is complete...
Looks good
Writing Makefile for Win32:riveInfo

2. nmake
Output
----------

Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cp DriveInfo.pm blib\lib\Win32\DriveInfo.pm

3. nmake test
Output
----------

Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

C:\Perl\bin\perl.exe -Iblib\arch -Iblib\lib -IC:\Perl\lib
-IC:\Perl\lib
test.pl
1..11
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
Drive C: `dir' and module returned not the same
not ok 11

4. nmake install
Output
----------
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Skipping C:\Perl\site\lib\Win32\DriveInfo.pm (unchanged)
Writing C:\Perl\site\lib\auto\Win32\DriveInfo\.packlist
Appending installation info to C:\Perl\lib/perllocal.pod

Could you please let me know if the installation was successful.

Thanks.

Shaahul

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install a perl module to the main perl lib dir Thomas Steinbach Perl Misc 1 02-13-2009 08:25 AM
Trying to install module, No module named scipy_distutils.core (but ihave scipy) process Python 1 10-17-2008 06:19 PM
unable to install module GD Rose Perl Misc 0 02-16-2008 12:11 PM
How to install module when I am not allowed to install moudule in system directory? zaifengwang@gmail.com Perl Misc 13 08-20-2006 02:36 PM
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM



Advertisments