> Is it as simple as checking whether the OS is Windows, and setting
%options
> to contain appropriate paths, e.g.

It's no use while checking if the OS is Windows, 'cause the distribution is
intended
for only Win 32 users. So you should predefine the hash below.

> %options = ( buildprefix => '',
>                 prefix => 'c:\parrot',
>                 exec_prefix => 'c:\parrot',
>                 bindir => 'c:\parrot\bin',
>                 libdir => 'c:\parrot\lib',
>                 includedir => 'c:\parrot\include',
>               );
>

>As these directories may not exist in Windows, and I don't see anything
that
>creates non-existent directories, I believe I'll need to write something
>that checks if they are there and creates them if they are not.

IMHO, you better try tweaking some directories out of Perl.
So if I had my perl installed at D:\Perl\5.6.1, I would be overflowed
with joy having found your script installed Parrot as D:\Perl\Parrot
and be cussing if it woudn't be so.


Reply via email to