Changes between Version 1 and Version 2 of PerlCygwin


Ignore:
Timestamp:
Jan 29, 2009, 9:47:06 AM (15 years ago)
Author:
jmckenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PerlCygwin

    v1 v2  
    551) Build a Cygwin environment with: build tools (make, cmake, libtool, gcc, flex, bison, ... ) perl
    66
    7 Make sure that you DO NOT have Cygwin's Postgresql installed, this makes the compile of gdal fail. On multiple machines objdump reported that pq.dll was an unrecognized format (any ideas on why?)
     7   Make sure that you DO NOT have Cygwin's Postgresql installed, this makes the compile of gdal fail. On multiple machines objdump reported that pq.dll was an unrecognized format (any ideas on why?)
    88
    9 I didn't bother with the Cygwin native gd or freetype either.
     9   I didn't bother with the Cygwin native gd or freetype either.
    1010
    11112) Download appropriate sources: freetype-2.1.3 gd-2.0.11 gdal-1.1.8 proj-4.4.6 mapserver-3.6.5
     
    21217) Build Mapserver Edit the Makefile.in so the following are correct: HEADER_INSTALL=/usr/local/include/mapserver-3.6/ LD= g++
    2222
    23 then I used ./configure --with-gd --with-proj=/usr/local --with-freetype --with-gdal=/usr/local/bin/gdal-config
     23   then I used
     24   {{{
     25   ./configure --with-gd --with-proj=/usr/local --with-freetype --with-gdal=/usr/local/bin/gdal-config
     26   }}}
    2427
    25 followed by: make make install
     28   followed by: make make install
    2629
    27308) Now for the PERL Mapscript part. This is also weird and will require upstream patches to really be correct. To reproduce my hand hack first you need to run:
    28 
    29 perl Makefile.PL
    30 
     31   {{{
     32   perl Makefile.PL
     33   }}}
    3134The Makefile you just creaed is not perfect. Edit it such that the linker is g++ as in step 7.
    3235