Great. I checked out libwin32-0.191 and it does seem to magically cascade to Makefile.PL's. But a little experimentation showed the trick is to ensure that each makefile is only one directory below the next. So even though h2xs builds a tree, the next set of modules only want the leaf directory of that tree, and in fact build totally correctly regardless as to what that leaf directory is called. (the latter fact is not shown below. Anyways thanks for the heads up on how to figure this out, I hope its as useful to scain as it has been to me.
D:\perl\Recursive\L1>dir
Volume in drive D is New Volume
Volume Serial Number is 0842-2896
Directory of D:\perl\Recursive\L1
2003/09/24 11:12 <DIR> .
2003/09/24 11:12 <DIR> ..
2003/09/24 00:12 168 Changes
2003/09/24 00:12 1,214 L1.pm
2003/09/24 11:12 <DIR> L2
2003/09/24 10:00 498 Makefile.PL
2003/09/24 00:12 56 MANIFEST
2003/09/24 00:12 1,112 README
2003/09/24 11:12 <DIR> Recurse
2003/09/24 11:12 <DIR> Recursive
2003/09/24 00:12 487 test.pl
6 File(s) 3,535 bytes
5 Dir(s) 6,143,295,488 bytes free
D:\perl\Recursive\L1>tree D:\perl\Recursive
Folder PATH listing for volume New Volume
Volume serial number is 0006FE80 0842:2896
D:\PERL\RECURSIVE
+---L1
+---L2
+---Recurse
+---Recursive
+---Recursive
D:\perl\Recursive\L1>perl makefile.pl
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Recursive::L2
Checking if your kit is complete...
Looks good
Writing Makefile for Second::Recurse
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Recursive::Recursive::Recursive
Writing Makefile for Recursive::Recursive
Writing Makefile for Recursive::L1
D:\perl\Recursive\L1>nmake
Microsoft (R) Program Maintenance Utility Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
cp L1.pm blib\lib\Recursive\L1.pm
cp L2.pm ..\blib\lib\Recursive\L2.pm
cp Recurse.pm ..\blib\lib\Second\Recurse.pm
cp Recursive.pm ..\blib\lib\Recursive\Recursive.pm
cp Recursive.pm ..\..\blib\lib\Recursive\Recursive\Recursive.pm
D:\perl\Recursive\L1>tree D:\perl\Recursive
Folder PATH listing for volume New Volume
Volume serial number is 0006FE80 0842:2896
D:\PERL\RECURSIVE
+---L1
+---blib
| +---arch
| | +---auto
| | +---Recursive
| | | +---L1
| | | +---L2
| | | +---Recursive
| | | +---Recursive
| | +---Second
| | +---Recurse
| +---lib
| +---auto
| | +---Recursive
| | | +---L1
| | | +---L2
| | | +---Recursive
| | | +---Recursive
| | +---Second
| | +---Recurse
| +---Recursive
| | +---Recursive
| +---Second
+---L2
+---Recurse
+---Recursive
+---Recursive
D:\perl\Recursive\L1>
Cheers mate.
---
demerphq
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|