The Mapguide team haven't had the time to migrate their build process over Ubuntu 11.04 (used by the next OSGeo-Live) and will need help if they are going to keep MapGuide on the DVD.

This would be disappointing, as MapGuide would be the only incubated project not included. If there are any techies with some familiarity resolving c based build issues who can help out, I'd be keen to hear from you.

Trevor has provided some details below, and I assume would be available to answer questions from anyone who is helping out.

On 12/07/11 04:27, Trevor Wekel wrote:
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



--
Cameron Shorter
Geospatial Director
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com

_______________________________________________
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss

Reply via email to