Thread Win7 64Bit - Dateitest mit -d verursacht Fehler (12 answers)
Opened by bianca at 2013-11-30 08:54

bianca
 2013-12-03 10:56
#172383 #172383
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
2013-11-30T08:41:22 GwenDragon

Quote
Database was generated on Tue, 03 Dec 2013 09:36:43 GMT
Running install for module 'Win32API::Resources'
Running make for B/BS/BSTURNER/Win32API-Resources-0.06.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/B/BS/BST...
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/B/BS/BST...
Checksum for C:\strawberry\cpan\sources\authors\id\B\BS\BSTURNER\Win32API-Resources-0.06.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE

Package seems to come without Makefile.PL.
(The test -f "C:\strawberry\cpan\build\BSTURNER-705TYk\Makefile.PL" returned false.)
Writing one on our own (setting NAME to Win32APIResources)

CPAN.pm: Building B/BS/BSTURNER/Win32API-Resources-0.06.tar.gz

Writing Makefile for Win32APIResources
Writing MYMETA.yml and MYMETA.json
cp Resources.pm blib\lib\Resources.pm
BSTURNER/Win32API-Resources-0.06.tar.gz
C:\strawberry\c\bin\dmake.exe -- OK
Running make test
'No tests defined for Win32APIResources extension.'
BSTURNER/Win32API-Resources-0.06.tar.gz
C:\strawberry\c\bin\dmake.exe test -- OK
Running make install
Installing C:\strawberry\perl\site\lib\Resources.pm
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
BSTURNER/Win32API-Resources-0.06.tar.gz
C:\strawberry\c\bin\dmake.exe install UNINST=1 -- OK

Testscript:
Code (perl): (dl )
1
2
3
4
5
6
7
8
#!/usr/bin/perl
use strict;
use warnings;
use Win32API::Resources;
use 5.010;

my @List = Win32API::Resources::GetDrives('DRIVE_REMOVABLE');
say join("\n",@List);

Quote
Can't locate Win32API/Resources.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at test_lw.pl line 4.
BEGIN failed--compilation aborted at test_lw.pl line 4.

Scheint was zu fehlen. Bekommt das jemand ans laufen?
10 print "Hallo"
20 goto 10

View full thread Win7 64Bit - Dateitest mit -d verursacht Fehler