plunger has asked for the wisdom of the Perl Monks concerning the following question:

Good monks, I am having a heck of a time installing libnet on my xp machine and was hoping for some guidance. I should preface this question by saying that the machine that I wish to install on does not have direct access to the outside world. So I am unable to hit any online repositories.

I figured the best option was simply to download the module from cpan and use nmake. I'm fairly new to compiling on Win32 and am thinking that my problem may be with nmake.

Anyway, this is what happens when I try to build libnet with nmake:


C:\pflat\perl\Modules\libnet-1.19>perl Makefile.PL
Checking for Socket...ok
Checking for IO::Socket...ok
Writing Makefile for Net

C:\pflat\perl\Modules\libnet-1.19>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.


C:\pflat\perl\Modules\libnet-1.19>nmake test

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl ib\lib', 'blib\arch')" t\config.t t\datasend.t t\ftp.t t\hostname.t t\netrc.t t\ nntp.t t\require.t t\smtp.t
t\config......ok
t\datasend....ok
t\ftp.........skipped
all skipped: no reason given
t\hostname....ok
t\netrc.......ok
4/20 skipped: incompatible stat() handling for OS
t\nntp........skipped
all skipped: no reason given
t\require.....ok
t\smtp........skipped
all skipped: no reason given
All tests successful, 3 tests and 4 subtests skipped.
Files=8, Tests=92, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

C:\pflat\perl\Modules\libnet-1.19>


-> In particular, I need net::smtp. Can anyone help me understand why it was skipped?

Thanks,

-p

Replies are listed 'Best First'.
Re: libnet build problems
by chromatic (Archbishop) on Feb 03, 2005 at 20:44 UTC

    Those are the tests, not the module building itself. To know why that particular test excused itself, either read the text of the test file or run it manually:

    perl.exe -Mblib t\smtp.t
Re: libnet build problems
by plunger (Initiate) on Feb 03, 2005 at 22:31 UTC
    Thanks c. I was under the impression that if the test did not run, the install would fail. I ran nmake install and all is now well with net::smtp. Sorry for the simple question, much appreciated though. -p