Changes between Version 3 and Version 4 of CompilingMapGuide22Centos54
- Timestamp:
- 02/03/10 12:37:10 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilingMapGuide22Centos54
v3 v4 2 2 3 3 '''Note: These compilation steps are a work in progress.''' 4 5 == Build Machine Setup == 4 6 5 7 CentOS 5.4 uses GCC 4.1 as its native compiler so !MapGuide 2.2 does compile cleanly on CentOS 5.4. The following rpms are required (list may not be complete): … … 13 15 * For ODBC Provider [http://sourceforge.net/projects/unixodbc/files/unixODBC/2.2.14/unixODBC-2.2.14-linux-x86-32.tar.gz/download unixODBC-2.2.14-linux-x86-32.tar.gz] is required. /usr/local/lib should also be added to ld.so.conf once the tarball is unpacked. 14 16 17 Download Java SE JDK 6 from Sun and install it. Then export JAVA_HOME from .bash_profile 18 {{{ 19 JAVA_HOME=/usr/java/latest 20 export JAVA_HOME 21 }}} 22 23 == Compilation Steps == 24 25 Grab the source from Subversion 26 {{{ 27 svn co http://svn.osgeo.org/mapguide/trunk/MgDev mgdev 28 }}} 29 Build the Oem tree 30 {{{ 31 cd mgdev 32 ./build_oem.sh 33 pushd Oem/fusion 34 ant prepare 35 ant compress 36 popd 37 pushd Oem/LinuxApt 38 ./build_apt.sh 39 popd 40 }}} 41 Build !MapGuide 42 {{{ 43 aclocal 44 libtoolize --force 45 automake --add-missing --copy 46 autoconf 47 ./configure --enable-optimized 48 make 49 make install 50 }}} 51