First, thanks for updating this distribution on the CPAN, and
for setting up this mailing list.

I tried to build libwin32-0.24, but in the nmake step, xsubpp
choked with:

"Didn't find a 'MODULE ... PACKAGE ... PREFIX' line"

on the following files:

NetAdmin.xs
ODBC.xs
Pipe.xs
Win32.xs

Googling around, I applied this ParseXS patch from Steve Hay which
seemed to work around my build problem:

http://rt.cpan.org/NoAuth/Bug.html?id=11472

However, it seems better to fix the offending modules so that they
don't choke on the standard perl 5.8.6 version of ParseXS.

Can anyone confirm that after applying the ParseXS patch, I now
have a clean build of libwin32?

After completing the build, I got test failures in:

APINet   (Can't add a user)
NetAdmin (I guess due to permissions creating users/groups)
Shortcut

Generally, lacking sufficient permissions, tests should SKIP, not FAIL.

More details of test failures below:

'APINet': -----------------

C:\perl586\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'..\blib\lib', '..\blib\arch')" t\test.t
t\test....not ok 5
Can't add a user so there really isn't any point in continuing...
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-18

'NetAdmin': -----------------

C:\perl586\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'..\blib\lib', '..\blib\arch')" t\netadmin.t
t\netadmin....Use of uninitialized value in numeric le (<=) at t\netadmin.t
line 37.
Use of uninitialized value in numeric ge (>=) at t\netadmin.t line 37.
Use of uninitialized value in numeric eq (==) at t\netadmin.t line 43.
Use of uninitialized value in string eq at t\netadmin.t line 51.
Use of uninitialized value in string eq at t\netadmin.t line 54.
Use of uninitialized value in bitwise and (&) at t\netadmin.t line 57.
Use of uninitialized value in string eq at t\netadmin.t line 60.
FAILED tests 1-2, 5-8, 15
        Failed 7/15 tests, 53.33% okay

'Shortcut': -----------------

C:\perl586\bin\perl.exe "-I..\blib\lib" "-I..\blib\arch" test.pl

Win32::Shortcut 0.03 TEST

1. Creating a shortcut to Notepad...
                Path = C:\WINDOWS\Notepad.exe
    WorkingDirectory = C:\DOCUME~1\andrews\LOCALS~1\Temp
             ShowCmd = 3
   Saving "test1.lnk"...OK

2. Reloading the shortcut...
                Path = C:\WINDOWS\notepad.exe
    WorkingDirectory = C:\DOCUME~1\andrews\LOCALS~1\Temp
             ShowCmd = 3
         Description = 
              Hotkey = 0
        IconLocation = 
          IconNumber = 0

   Changing shortcut data...
   Saving to "test2.lnk"...OK

   Reloading "test2.lnk"...
                Path = C:\WINDOWS\Write.exe
    WorkingDirectory = C:\WINDOWS
             ShowCmd = 1
         Description = This is a description
              Hotkey = 823
        IconLocation = 
          IconNumber = 0

3. Resolving a shortcut...
   Creating a dummy file "dummy.txt"...OK
   Creating the shortcut...OK
    WorkingDirectory = C:/balls/libwin32-0.24/Shortcut
                Path = dummy.txt
   Saving to "test3.lnk"...OK

   Renaming "dummy.txt" to "dummy2.txt"...OK
   Attempting resolve...Resolve failed
FAILED

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Reply via email to