Mapserver on Solaris 10

Pericles S. Nacionales naci0002 at UMN.EDU
Wed Mar 1 13:07:29 EST 2006


Steven,

I don't have Solaris 10 but have compiled everything you mentioned on 
Solaris 9 successfully using a combination of GNU (gcc, etc.) and Sun's 
tools.  Are you trying to compile using Sun's compilers and utilities?

If you use GCC and GNU autoconf, automake, libtool, make, flex and 
bison, you shouldn't have problems compiling things.  Read through the 
Unix Compilation HOWTO for MapServer at 
http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix/#obtaining-the-necessary-software 
for more info.  Attached you will also find the configure parameters 
I've used for each software I compiled in support of MapServer--it 
should give you an idea of how much time you'll need just to get to 
compiling MapServer (but now all you need are the source packages). ;)

Good luck!
-Perry


Steven Haigh wrote:
> As said on the other reply, this isn't an Athlon machine. I will only have
> it for 60 days - so I'm looking at getting some things up and running ASAP
> when it arrives.
> 
> At the moment, I know very little about mapserver (I do the sysadmin on
> the wireless.org.au server - not the map coding) however I could put
> people in here with the people that do the coding for the site to see if
> they can enhance the map database that we currently have to try to bog
> down this Sun machine.
> 
> My aim is to throw as much as I can at it to see if I can make it slow.
> Then review it based on this.
> 
> I personally know very little about GEOS and PostGIS - but I've joined
> this list to try to learn a little more about what I'm dealing with.
> 
> On Wed, March 1, 2006 2:20 pm, Paul Ramsey wrote:
> 
>>Steve,
>>Any chance you could also do some testing with GEOS and PostGIS on
>>that machine?  This is Solaris 10 on Athlon 64, right? An interesting
>>platform combination, would be nice to know we handle it...
>>Paul
>>
>>On Feb 27, 2006, at 11:51 PM, Steven Haigh wrote:
>>
>>
>>>Hi all,
>>>
>>>Sun are sending me a Sun Fire T2000 CoolThreads system to play around
>>>with, and I'd like to throw mapserver on it and give it a major
>>>workout.
>>>The current site we run is at http://melbourne.wireless.org.au -
>>>with the
>>>mapserver part being at http://melbourne.wireless.org.au/maps.
>>>
>>>While looking through the archives etc, I don't see any mention of
>>>Mapserver running on Solaris 10. Does anyone have any experience in
>>>running this combination?
> 
> 
> 

-------------- next part --------------
PRJDIR=/export/home/pnaciona/osgeo

READLINE (5.0):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

PROJ (4.4.9):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

GEOS (2.2.1):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe" FFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

JPEG (6b):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

TIFF (3.7.4):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

Freetype (2.1.10):
CC=gcc CXX=g++ CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe" ./configure --prefix=$PRJDIR/osgeo

GD (2.0.33 w/ antialias patch):
./configure --without-fontconfig --with-png --with-freetype=$PRJDIR/osgeo \
--with-jpeg --without-xpm --prefix=$PRJDIR/osgeo \
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

PDFLib (5.0.4p1, Lite):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

LIBXML2 (2.6.23):
./configure --prefix=$PRJDIR/osgeo CFLAGS="-O2 -mcpu=ultrasparc3 -pipe -m32" \
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe -m32"

CURL (7.15.1):
./configure --prefix=$PRJDIR/osgeo --with-ssl \
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

XERCES-C (2.7.0, read the build instructions for Unix):
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
./runConfigure -psolaris -cgcc -xg++ -minmem -nsocket -tnative -rpthread \
-P$PRJDIR/osgeo

PostgreSQL (8.1.3):
CC=gcc CXX=g++ ./configure --prefix=$PRJDIR/osgeo/pgsql \
--with-includes="/export/home/pnaciona/osutils/include /export/home/pnaciona/osgeo/include" \
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

PostGIS (1.1.1):
./configure --with-geos=$PRJDIR/osgeo/bin/geos-config --with-proj=$PRJDIR/osgeo \
--with-pgsql=$PRJDIR/osgeo/pgsql/bin/pg_config \
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

GDAL (1.3.1):
./configure --with-libtiff=internal --with-geotiff=internal \
--with-jpeg=internal --with-xerces \
--with-xerces-inc="/export/home/pnaciona/osgeo/include -I/export/home/pnaciona/osgeo/include/xercesc" \
--with-xerces-lib="-L/export/home/pnaciona/osgeo/lib -lxerces-c -lpthread" \
--with-geos=$PROJDIR/osgeo/bin/geos-config --prefix=$PRJDIR/osgeo \
--with-pymoddir=/export/home/pnaciona/osgeo/python23 \
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"

GRASS (6.0.2):

Apache (1.3.34):

PHP (5.1.2):
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
./configure --prefix=$PRJDIR/osgeo --without-pear --enable-bcmath --with-bz2 \
--enable-calendar --with-curl=$PRJDIR/osgeo --with-curlwrappers --enable-dbase \
--without-fbsql --without-fdftk --disable-filepro --disable-ftp --with-gettext \
--without-hwapi --without-informix --disable-ipv6 --without-kerberos \
--enable-mbstring --disable-memory-limit --with-ncurses --disable-pcntl \
--disable-pdo --with-pgsql=$PRJDIR/osgeo/pgsql --without-recode --enable-soap \
--enable-sockets --disable-spl --disable-sysvmsg --disable-sysvsem \
--disable-sysvshm --disable-tokenizer --disable-wddx --without-xmlreader \
--without-xmlrpc --with-zlib --disable-debug --disable-dba --without-cdb \
--without-db4 --with-flatfile --with-freetype-dir=$PRJDIR/osgeo \
--without-t1lib --disable-gd-jis-conv --enable-gd-native-ttf --with-gd \
--with-readline=$PRJDIR/osgeo --without-libedit --without-mm \
--enable-maintainer-zts --enable-experimental-zts --without-ming \
--with-libxml-dir=$PRJDIR/osgeo

MapServer (4.8.1):
./configure --with-proj=$PRJDIR/osgeo \
--with-gdal=$PRJDIR/osgeo/bin/gdal-config --with-ogr \
--with-postgis=$PRJDIR/osgeo/pgsql/bin/pg_config \
--with-curl-config=$PRJDIR/osgeo/bin/curl-config --with-wmsclient --with-wfs \
--with-wcs --with-wfsclient --with-php=$PRJDIR/osgeo --with-gd=$PRJDIR/osgeo \
--with-freetype=$PRJDIR/osgeo/bin/freetype-config \
--with-geos=$PRJDIR/osgeo/bin/geos-config CFLAGS="-O2 -mcpu=ultrasparc3 -pipe" \
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"




More information about the mapserver-users mailing list