wiki:CompilingMapGuide22Ubuntu910

Version 2 (modified by trevorwekel, 15 years ago) ( diff )

--

Ubuntu 9.1 Compilation Guide

Note: The compilation steps for Ubuntu 9.1 are incomplete. More work is required.

Build Machine Setup

Ubuntu 9.1 uses GCC 4.4 as its native compiler. MapGuide 2.2 does not compile cleanly against GCC 4.4. Further work will be required to support native GCC 4.4 compilation.

Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1 by grabbing additional packages

apt-get install gcc-4.1 g++-4.1 autoconf automake automake1.7 libtool bison
apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev

and exporting CC, CPP, and CXX as follows:

export CC=gcc-4.1
export CPP='gcc-4.1 -E'
export CXX=g++-4.1

However, there is at least one Oem build script which hardcodes CC, CPP, and CXX. Additional work is required.

Note: See TracWiki for help on using the wiki.