[Tilesathome] Windows installation
Tino Miegel
tino.miegel at googlemail.com
Mon Nov 26 17:38:06 GMT 2007
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 t at g 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 t at h...
Tino
2007/11/26, Milenko <milenko at king-nerd.com>:
>
>
> Is there a different guide to getting t at h 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
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7zip.diff
Type: application/octet-stream
Size: 851 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20071126/a1835c09/attachment.obj>
More information about the Tilesathome
mailing list