[Live-demo] RE: MapGuide on LiveDVD 5.0

Trevor Wekel trevor_wekel at otxsystems.com
Mon Jul 11 12:27:17 EDT 2011


Hi Cameron,

If the developer has Linux experience, they may be able to work through it.  There are some build guides for FDO and MapGuide already posted for previous releases.  They may be "close" for the current sources.

http://svn.osgeo.org/fdo/trunk/CMake__README.txt

http://trac.osgeo.org/mapguide/wiki/CompilingMapGuide22
http://trac.osgeo.org/mapguide/wiki/CompilingMapGuide22Centos54

Compiling against trunk brings in "newer" third party dependencies which should be compatible with gcc 4.4.

I started working through the FDO build on Ubuntu 10.  Ubuntu 11 should be similar.  If Ubuntu 11 has a newer Xalan, the build Xalan from source step below could be dropped.  Please note, these build steps are incomplete.


Install compilation environment
-------------------------------
apt-get install gcc g++ autoconf automake automake1.7 libtool bison
apt-get install zlib1g zlib1g-dev zlibc libjpeg-dev libxml2-dev
apt-get install subversion
apt-get install perl

Compile using Cmake
-------------------
apt-get install cmake libgdal-dev libcppunit-dev libxerces-c3-dev python-dev
apt-get install libboost-dev
apt-get install libcurl4-openssl-dev

Build xalan from Thirdparty source
cd Thirdparty/apache/xalan
export XALANCROOT=/root/fdo36/Thirdparty/apache/xalan
./runConfigure -p linux -c gcc -x g++
make
make install

mkdir cmakedir
cd cmakedir
cmake ../fdo36 -DINTERNAL_GDAL=TRUE
make



I have one patch for FDO the build (below).  Others may be required.

Index: Fdo/Unmanaged/Src/CMakeLists.txt
===================================================================
--- Fdo/Unmanaged/Src/CMakeLists.txt    (revision 6167)
+++ Fdo/Unmanaged/Src/CMakeLists.txt    (working copy)
@@ -225,6 +225,7 @@
        Common/Xsl/XML885915Transcoder.cpp
        Common/Gml212/Schema.cpp
        Common/Gml212/Gml212.cpp
+       Common/Gml311/Gml311.cpp
 )


Regards,
Trevor



More information about the Live-demo mailing list