Today, weeks later, I had another try to see what's the status of the Win32::Dokan bundle. The results are disappointing:
- dokan.h has advanced to revision 26, but the .xs code used by Win32::Dokan does not use the new API introduced a few revisions earlier.
- dokan-0.4.2.1238 x86 2008/12/31 is out (don't know if that was the version I was using earlier) but I still does not "magically solve problems"...
- Win32::Dokan now advanced to a tagged revision _0.03_1, but problems remain, a compile agains dokan.h r7 and r26 failed on strawberry perl
Some code is untouched for over six months now. I hope the Win32::Dokan developer reads this here and will invest a bit more work...
My process was:
1. download the dokan release, extract the zip and do the .msi installer, to C:\Programs\DokanLibrary.
2. extract the Win32::Dokan .tar.gz archive to a directory
3. Download the dokan.h, rev7 into the Win32::Dokan directory
4. go to console and do > perl Makefile.PL -l "C:\Programs\DokanLibrary"
5. > dmake (ran okay)
6. > dmake test (lots of errors, "can't locate Win32/Dokan/Const.pm" among others)
A few minutes later I tried another process and was SUCCESSFUL!:
1. download the
latest trunk tar.gz SVN revision of Win32:Dokan (as the tagged version misses some files, for example Const.pm...)
2. extract trunk.tar.gz into a directory and cd into it
3. Edit Makefile.PL manually to hardcode/'make sure' it the path variable points to a working dokan.h and we don't need to mess with the -l option (in my case:
my $dokan_library = "C:/Programme/DokanLibrary"; - this is the dokan.h that comes with the .msi installer, I did not try to again use the dokan.h, in any revision, from the Dokan google code page this time!)
4. reboot, so Dokan is really working (low level system driver, so this makes sense)
5. perl Makefile.PL - ok -dmake - ok - dmake test - ok - dmake install - ok!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.