Hi,

i had it running fine on Vista until a few days ago, but at the moment
win32 is no go, because the perl-scripts generates many many temporary
files while rendering, and the whole deleting process doesn't work on
win.

All i had to do was installing inkscape, ActivePerl 5.8.8, pngcrush
and xmlstarlet, the required perl packages and putting the right paths
into tilesAtHome.conf.
The only change in the code was in compress.pl that it uses 7.zip,
i've attached a diff.

Forking was no go (neither rendering, nor uploading) and the script
always stopped with an error in loop-mode after rendering some tiles,
but apart from this it worked.

At the moment i am trying to get [EMAIL PROTECTED] running again on windows, 
i've
installed a Perl-Plugin in Eclipse so i can debug the code. But with
no perl experience it is rather difficult to get around the whole
temp-file-creation/deletion bugs...

And a few days ago a new Beta from ActivePerl was released, perhaps it
provides a better implementation of fork(), but right now the package
manager doesn't provide the required packages for [EMAIL PROTECTED]

Tino

2007/11/26, Milenko <[EMAIL PROTECTED]>:
>
>
> Is there a different guide to getting [EMAIL PROTECTED] running under 
> windows?  The wiki
> page seems to be outdated.
>
> I'm having trouble with the inkscape command line as well as making the
> changes in upload.pl.  The function that the wiki references doesn't seem to
> exist in upload.pl???
>
> The wiki says to change the inkscape command line to:
>
>      my $Cmd = sprintf("%s\"c:\\program files\\inkscape\\inkscape\" -w %d -h
> %d --export-area=%f:%f:%f:%f
>    --export-png=c:\\tilesAtHome\\%s  c:\\tilesAtHome\\%s",
>    "", # Blank this out for use on windows
>    $Size,
>    $Size,
>    $X1,$Y1,$X2,$Y2,
>    $PNG,
>    $SVG);
>
> Doing so generates an error when running the script:
>
>     Global symbol "$PNG" requires explicit package name at tilesgen.pl line
> 1192.
>     Global symbol "$SVG" requires explicit package name at tilesgen.pl line
> 1193.
>     Execution of tilesgen.pl aborted due to compilation errors.
>
> Any points from anyone running on windows?
>
>
> _______________________________________________
> Tilesathome mailing list
> [email protected]
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
>

Attachment: 7zip.diff
Description: Binary data

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome

Reply via email to