Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:gis:mapserver:building_manually_with_fink [2006/10/07 22:50] – billh | docs:gis:mapserver:building_manually_with_fink [2008/08/03 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Building Mapserver manually with Fink ====== | ||
+ | - download and extract the mapserver source code (version used was 4.8.4) | ||
+ | - install binaries for necessary requirements (there may be more than is listed here; usually shlibs and dev packages) | ||
+ | * freetype2 | ||
+ | * gd2 | ||
+ | * gdal/ogr | ||
+ | * libiconv | ||
+ | * libtiff | ||
+ | * ming | ||
+ | * proj | ||
+ | * (possibly some posgresql80 stuff, even if you disable it in the configure) | ||
+ | - edit Makefile.in as follows:< | ||
+ | ... | ||
+ | LD= @CC@ # around line 185 | ||
+ | ... | ||
+ | (change it to...) | ||
+ | LD= g++ | ||
+ | </ | ||
+ | - build with the following:< | ||
+ | ./configure --mandir=/ | ||
+ | </ | ||
+ | - install by copying the following to your cgi-bin directory for apache: | ||
+ | * mapserv | ||
+ | * scalebar | ||
+ | * shp2img | ||
+ | * shp2mysql.pl (not sure if this is needed) | ||
+ | * shp2pdf | ||
+ | * shptree | ||
+ | * shptreetst (not sure if this is needed) | ||
+ | * shptreevis (not sure if this is needed) | ||
+ | * sortshp | ||
+ | * tile4ms | ||
+ | - make sure to change the owner to www:admin for all files copied in the previous step |