Solaris 8 Help - Compiling Supporting Libs

Gregor Mosheh gregor at HOSTGIS.COM
Tue May 29 14:22:01 PDT 2007


> So I guess the the GNUmake from sunfreeware installs in /usr/local/bin as
> 'make' not 'gmake'.

Good to know. Like I said, I always found compiling anything under 
Solaris a, uhm, "challenge" :) due to the varying and sometimes 
conflicting packages. Expect similar issues with the linker, e.g. Sun's 
ld instead of GNU's ld, and so on.


> It failed compiling when it hit the geotiff
> formats. I had to change the compile options to use the internal geotiff
> instead of LibGeoTIFF (v1.2.3) that I had already installed separately.
...
 > I had also pre-installed LibTIFF (v3.8.2) and libgif
 > (v4.1.0). Also already existing were libjpeg, libpng, and GD,
 > so the compile is using these external libraries.

That can happen, depending on the library. Personally, I use 
--with-format=internal as much as possible.

Mental note: you may want to compile Mapserver with --without-tiff, 
because a) Mapserver will implicitly use GDAL's TIFF support anyway and 
b) having both Mapserver linked to libtiff and Mapserver linked to GDAL 
linked to libtiff can cause some runtime linking problems. I found it 
safer to explicitly use GDAL's internal and turn off Mapserver's attempt 
at making TIFF a native format.


-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the MapServer-users mailing list