[OSM-dev] Problems with Tiles at Home under Windows

Hansen akio.hansen at t-online.de
Sun Apr 22 10:25:20 BST 2007


Hi,

thanks for your help, but I can't install GD::Image via the PPM Console. If I start the PPM Manager in the Windows command line and use PPM to install GD::Image, it stops with the following error:

C:\>ppm
PPM interactive shell <2.2.0> - type 'help' for available commands.
PPM> install GD-Image-AnimatedGif
Install package 'GD-Image-AnimatedGif?' <y/N>: <
Installing package 'GD-Image-AnimatedGif'...
Error installing package 'GD-Image-AnimatedGif': Read a PPD for 'GD-Image-AnimatedGif',
but it is not intended for this build of Perl <MSWin32-x86-multi-thread>

PPM>

I use ActiveState ActivePerl 5.6.1.638 with Windows XP. So, how can I solve this GD::Image problem?

Thanks a lot for your help and have a nice day
Akio

  ----- Original Message ----- 
  From: D Tucny 
  To: Kristian Thy 
  Cc: dev at openstreetmap.org 
  Sent: Sunday, April 22, 2007 10:30 AM
  Subject: Re: [OSM-dev] Problems with Tiles at Home under Windows


  On 22/04/07, Kristian Thy <thy at 42.dk> wrote:
    On Sun, Apr 22, Hansen wrote:
    > thank you for your help. 7-Zip is now working perfect! I only added
    > "Zip=C:\7-Zip\7z.exe" to the tileAtHome.conf. But then I have two other
    > problems. One is "pngcrush" 

    As far as I can tell pngcrush isn't mandatory, but you can just dump the
    exe file from
    http://mesh.dl.sourceforge.net/sourceforge/pmt/pngcrush-1.6.4-win32.zip 
    into your t at h folder to get it working. I also had to change line 802 in
    tilesGen.pl from

            my $Cmd = sprintf("%s ./lines2curves.pl %s > %s",

    to

            my $Cmd = sprintf("%s perl lines2curves.pl %s > %s",

    in order to get t at h running.


  I use the $Bin variable in here to fix mine... 



    > and the other one is "GD::Image".

    I think I installed this using the ActiveState PPM, but I can't remember
    to be honest :) At any rate, I still get a lot of errors as well:

  I got this using ppm too... 


    This is version 2610 (Frederikssund) of tilesgen running on MSWin32 
    [#1   0% jobinit] Doing tileset 2185,1274 (area around 56.047421,12.084961)
    [#1   0% default] Beziercurvehinting zoom level 12... ERROR
      The following command produced an error message:
       perl lines2curves.pl c:\temp\osm\output-3408-z12.svg-temp.svg > c:\temp\osm\output-3408-z12.svg
      Debug output follows:
      | "terse" is not defined in %Math::Vec::EXPORT_TAGS at lines2curves.pl line 47
      |     main::BEGIN() called at C:/Perl/site/lib/Math/Vec.pm line 47 
      |     eval {...} called at C:/Perl/site/lib/Math/Vec.pm line 47
      | Can't continue after import errors at lines2curves.pl line 47
      | BEGIN failed--compilation aborted at lines2curves.pl line 47.
    [#1   0% default] Error on Bezier Curve hinting, rendering without bezier curves 

    I get this for each zoom layer; it's rendered to SVG but without
    Beziers. Then, when it comes to doing the PNGs:


  That's fixable by installing a more recent Math::Vec from http://theoryx5.uwinnipeg.ca/ppms/
  (add this as a repository in the ppm tool) 


    [#1   0% default] Splitting c:\temp\osm\/3408.png_part (1 x 1)... Can't
    use an undefined value as a symbol reference at C:/Perl/site/lib/GD/Image.pm
    line 175.

    ... at which point it stops.

  What version of GD do you have installed? 


  d




------------------------------------------------------------------------------


  _______________________________________________
  dev mailing list
  dev at openstreetmap.org
  http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070422/5cbec482/attachment.html>


More information about the dev mailing list