Changes between Version 2 and Version 3 of CompilingMapGuide22Ubuntu910
- Timestamp:
- 02/03/10 12:47:06 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilingMapGuide22Ubuntu910
v2 v3 5 5 == Build Machine Setup == 6 6 7 7 8 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. 8 9 9 Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1 by grabbing additional packages 10 Compilation is more successful if Ubuntu 9.1 is set up to use GCC 4.1. 11 12 Grab [http://golubenco.org/2007/06/14/atomic-operations Tudor Golubenco's atomic.h] replacement header and drop it in /usr/include/asm. Then install the following packages (list may not be complete): 10 13 {{{ 11 14 apt-get install gcc-4.1 g++-4.1 autoconf automake automake1.7 libtool bison 12 15 apt-get install zliblg zlib1g-dev zlibc libjpeg62-dev libxml2-dev 13 16 }}} 14 and exporting CC, CPP, and CXX as follows:17 Export CC, CPP, and CXX to use GCC 4.1: 15 18 {{{ 16 19 export CC=gcc-4.1 … … 19 22 }}} 20 23 21 However, there is at least one Oem build script which hardcodes CC, CPP, and CXX. Additional work isrequired.24 However, there is at least one Oem build script which hardcodes CC, CPP, and CXX. The build will fail here so additional script cleanup will be required.