Changes between Initial Version and Version 1 of CompilingMapGuide22Ubuntu910


Ignore:
Timestamp:
Feb 3, 2010, 12:11:20 PM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilingMapGuide22Ubuntu910

    v1 v1  
     1= Ubuntu 9.1 Compilation Guide =
     2
     3'''Note:  The compilation steps for Ubuntu 9.1 are incomplete.  More work is required.'''
     4
     5Ubuntu 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.
     6
     7Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1 by grabbing additional packages
     8{{{
     9apt-get install gcc-4.1 g++-4.1 autoconf automake automake1.7 libtool bison
     10apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev
     11}}}
     12and exporting CC, CPP, and CXX as follows:
     13{{{
     14export CC=gcc-4.1
     15export CPP='gcc-4.1 -E'
     16export CXX=g++-4.1
     17}}}
     18
     19However, there is at least one Oem build script which hardcodes CC, CPP, and CXX.  Additional work is required.