Changes between Version 1 and Version 2 of PerlCygwin
- Timestamp:
- Jan 29, 2009, 9:47:06 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PerlCygwin
v1 v2 5 5 1) Build a Cygwin environment with: build tools (make, cmake, libtool, gcc, flex, bison, ... ) perl 6 6 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?) 8 8 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. 10 10 11 11 2) Download appropriate sources: freetype-2.1.3 gd-2.0.11 gdal-1.1.8 proj-4.4.6 mapserver-3.6.5 … … 21 21 7) Build Mapserver Edit the Makefile.in so the following are correct: HEADER_INSTALL=/usr/local/include/mapserver-3.6/ LD= g++ 22 22 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 }}} 24 27 25 followed by: make make install28 followed by: make make install 26 29 27 30 8) 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.PL30 31 {{{ 32 perl Makefile.PL 33 }}} 31 34 The Makefile you just creaed is not perfect. Edit it such that the linker is g++ as in step 7. 32 35