<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Mperouma</id>
	<title>OSGeo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Mperouma"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Mperouma"/>
	<updated>2026-04-13T02:12:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38539</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38539"/>
		<updated>2009-05-18T16:37:59Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* FDO INSTALL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are extremely special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step. &lt;br /&gt;
&lt;br /&gt;
Nevertheless I have three main advices to give :&lt;br /&gt;
&lt;br /&gt;
1) Stay close to the svn version of the libraries&lt;br /&gt;
&lt;br /&gt;
2) Prefer official releases to experimental&lt;br /&gt;
&lt;br /&gt;
3) Install most of main libraries from official repositories (using aptitude)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the FDO release 3.4.0 from svn inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.4.0  OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
2) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
 cd OpenSource_FDO&lt;br /&gt;
 less OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
3) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
    ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  Note : I prefered to use my version of GDAL so I modified the file&lt;br /&gt;
  export FDOGDAL=/usr/lib&lt;br /&gt;
&lt;br /&gt;
  4. ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
 TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&amp;amp;)':&lt;br /&gt;
 TypeInfoHelper.cpp:27: error: 'free' was not declared in this scope&lt;br /&gt;
 make[2]: *** [TypeInfoHelper.lo] Erreur 1&lt;br /&gt;
 make[2]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src/cppunit »&lt;br /&gt;
 make[1]: *** [all-recursive] Erreur 1&lt;br /&gt;
 make[1]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src »&lt;br /&gt;
 make: *** [all-recursive] Erreur 1&lt;br /&gt;
 CPPUNIT 1.9.14: Error build failed (0).................&lt;br /&gt;
&lt;br /&gt;
Error related to the previous ones, I'm still on it...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 17:11, 15 May 2009 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38538</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38538"/>
		<updated>2009-05-18T16:17:00Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* NOTES */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are extremely special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step. &lt;br /&gt;
&lt;br /&gt;
Nevertheless I have three main advices to give :&lt;br /&gt;
&lt;br /&gt;
1) Stay close to the svn version of the libraries&lt;br /&gt;
&lt;br /&gt;
2) Prefer official releases to experimental&lt;br /&gt;
&lt;br /&gt;
3) Install most of main libraries from official repositories (using aptitude)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
 TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&amp;amp;)':&lt;br /&gt;
 TypeInfoHelper.cpp:27: error: 'free' was not declared in this scope&lt;br /&gt;
 make[2]: *** [TypeInfoHelper.lo] Erreur 1&lt;br /&gt;
 make[2]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src/cppunit »&lt;br /&gt;
 make[1]: *** [all-recursive] Erreur 1&lt;br /&gt;
 make[1]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src »&lt;br /&gt;
 make: *** [all-recursive] Erreur 1&lt;br /&gt;
 CPPUNIT 1.9.14: Error build failed (0).................&lt;br /&gt;
&lt;br /&gt;
Error related to the previous ones, I'm still on it...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 17:11, 15 May 2009 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38537</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38537"/>
		<updated>2009-05-18T16:16:08Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* NOTES */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are extremely special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step. &lt;br /&gt;
&lt;br /&gt;
Nevertheless I have three main advices to give :&lt;br /&gt;
&lt;br /&gt;
1) Stay close to the svn version of the libraries&lt;br /&gt;
2) Prefer official releases to experimental&lt;br /&gt;
3) Install most of main libraries from official repositories (using aptitude)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
 TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&amp;amp;)':&lt;br /&gt;
 TypeInfoHelper.cpp:27: error: 'free' was not declared in this scope&lt;br /&gt;
 make[2]: *** [TypeInfoHelper.lo] Erreur 1&lt;br /&gt;
 make[2]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src/cppunit »&lt;br /&gt;
 make[1]: *** [all-recursive] Erreur 1&lt;br /&gt;
 make[1]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src »&lt;br /&gt;
 make: *** [all-recursive] Erreur 1&lt;br /&gt;
 CPPUNIT 1.9.14: Error build failed (0).................&lt;br /&gt;
&lt;br /&gt;
Error related to the previous ones, I'm still on it...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 17:11, 15 May 2009 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8_10&amp;diff=38535</id>
		<title>Building MapGuide on Ubuntu 8 10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8_10&amp;diff=38535"/>
		<updated>2009-05-18T16:13:38Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: Building MapGuide on Ubuntu 8 10 moved to Building MapGuide on Ubuntu 8.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Building MapGuide on Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38534</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38534"/>
		<updated>2009-05-18T16:13:38Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: Building MapGuide on Ubuntu 8 10 moved to Building MapGuide on Ubuntu 8.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
 TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&amp;amp;)':&lt;br /&gt;
 TypeInfoHelper.cpp:27: error: 'free' was not declared in this scope&lt;br /&gt;
 make[2]: *** [TypeInfoHelper.lo] Erreur 1&lt;br /&gt;
 make[2]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src/cppunit »&lt;br /&gt;
 make[1]: *** [all-recursive] Erreur 1&lt;br /&gt;
 make[1]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src »&lt;br /&gt;
 make: *** [all-recursive] Erreur 1&lt;br /&gt;
 CPPUNIT 1.9.14: Error build failed (0).................&lt;br /&gt;
&lt;br /&gt;
Error related to the previous ones, I'm still on it...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 17:11, 15 May 2009 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38480</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38480"/>
		<updated>2009-05-15T17:11:27Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
 TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&amp;amp;)':&lt;br /&gt;
 TypeInfoHelper.cpp:27: error: 'free' was not declared in this scope&lt;br /&gt;
 make[2]: *** [TypeInfoHelper.lo] Erreur 1&lt;br /&gt;
 make[2]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src/cppunit »&lt;br /&gt;
 make[1]: *** [all-recursive] Erreur 1&lt;br /&gt;
 make[1]: quittant le répertoire « /home/mperouma/Download/MapGuide_TAR/mapguide-2.0.0/Oem/CppUnit-1.9.14/src »&lt;br /&gt;
 make: *** [all-recursive] Erreur 1&lt;br /&gt;
 CPPUNIT 1.9.14: Error build failed (0).................&lt;br /&gt;
&lt;br /&gt;
Error related to the previous ones, I'm still on it...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 17:11, 15 May 2009 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38479</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38479"/>
		<updated>2009-05-15T16:59:30Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/include/dbxml/DbXml.hpp&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_dump/dbxml_dump.cpp &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml_load/dbxml_load.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/utils/load_container/LoadContainer.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/build_unix/src/utils/shell/Environment.hpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38478</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38478"/>
		<updated>2009-05-15T16:35:17Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/nodeStore/NsTypes.hpp&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38477</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38477"/>
		<updated>2009-05-15T16:29:27Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/IndexEntry.hpp&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38476</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38476"/>
		<updated>2009-05-15T16:19:52Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ following source files (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/dbxml/src/dbxml/Buffer.cpp&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38475</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38475"/>
		<updated>2009-05-15T16:12:15Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ source file in Xqilla (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;. When inside of your chosen working directory, type&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38474</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38474"/>
		<updated>2009-05-15T16:09:32Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: /* BUILD OEM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
2.1) Update DWFTK7.1 using windows version of svn (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2) Edit build_setup file(prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
2.3) Edit Makefile in SWIGEx tool (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.0/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
2.4) Edit C++ source file in Xqilla (prevents &amp;quot;BDBXML 2.3.10 Error build failed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.2/Oem/dbxml-2.3.10/xqilla/include/xqilla/framework/StringPool.hpp&lt;br /&gt;
&lt;br /&gt;
and in the include section, add those two libraries&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
 #include &amp;lt;cstring&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.5) Finally, go for the &amp;quot;big stuff&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38471</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38471"/>
		<updated>2009-05-14T22:32:58Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
 (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then edit file (prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
then edit file (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.0/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Erreur : BDBXML 2.3.10: Error build failed&lt;br /&gt;
&lt;br /&gt;
I'm stucked here for the moment&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Mperouma|Mperouma]] 22:32, 14 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38470</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38470"/>
		<updated>2009-05-14T22:09:50Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: Not finished yet, still stucked to a sick error. Still fighting, help is appreciated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot;.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts are very special.&lt;br /&gt;
&lt;br /&gt;
For the moment, I'm stucked in the compiling Oem step, and I already have eliminated two errors succesfully&lt;br /&gt;
(see below)&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
1) Download the last working version from svn (may take hours, more or less 120Mo)&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/branches/2.0.x/MgDev/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
2) Build OEM&lt;br /&gt;
&lt;br /&gt;
First correct some mistakes to avoid compilation errors&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 cd Oem&lt;br /&gt;
&lt;br /&gt;
 (prevents cpp errors in DWFTKT7.1)&lt;br /&gt;
&lt;br /&gt;
 rm -rf DWFTK7.1&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/trunk/MgDev/Oem/DWFTK7.1 DWFTK7.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then edit file (prevents : &amp;quot;DWFCORE 1.0: Error build failed&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 ~/mapguide-2.0.2/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup&lt;br /&gt;
&lt;br /&gt;
and remove option --force on the autoreconf line.&lt;br /&gt;
do the same for dwftoolkit and dwfemap&lt;br /&gt;
&lt;br /&gt;
then edit file (prevents : &amp;quot;SWIGEx 1.0: Error build failed&amp;quot; due to atomics.h:51)&lt;br /&gt;
&lt;br /&gt;
 ~/mapguide-2.0.0/Oem/SWIGEx/Makefile&lt;br /&gt;
&lt;br /&gt;
and remove flags and associated values -march et -mcpu on C and C++ compiler lines&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 ./build_oem.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Erreur : BDBXML 2.3.10: Error build failed&lt;br /&gt;
&lt;br /&gt;
I'm stucked here for the moment&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Not Done yet ...&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38469</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38469"/>
		<updated>2009-05-14T21:54:54Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Extract the following tarball inside of your working directory&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; http://download.osgeo.org/mapguide/releases/2.0.2/mapguideaptinstaller-2.0.0.2.tar.gz&lt;br /&gt;
 =&amp;gt; Creates a directory named LinuxApt&lt;br /&gt;
&lt;br /&gt;
2) Enter the directory then launch:  &lt;br /&gt;
&lt;br /&gt;
 sudo ./build_apt.sh&lt;br /&gt;
 &amp;lt;!&amp;gt; default options install Apache and Php in /usr/local/mapguideopensource/&lt;br /&gt;
&lt;br /&gt;
 =&amp;gt; Also cleans previous versions :) &lt;br /&gt;
&lt;br /&gt;
3) In a Web browser go to http://127.0.0.1:8008/ &lt;br /&gt;
&lt;br /&gt;
=&amp;gt;Ok, It Works !&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38468</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38468"/>
		<updated>2009-05-14T21:50:37Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38467</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38467"/>
		<updated>2009-05-14T21:49:48Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
1) Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
2) I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
3) Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
4) To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
5) Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
1) Download the tarball from http://fdo.osgeo.org &lt;br /&gt;
&lt;br /&gt;
2) Unzip it inside of your current working directory&lt;br /&gt;
&lt;br /&gt;
 tar xvzf fdo-3.4.0.tar.gz &lt;br /&gt;
 &lt;br /&gt;
 =&amp;gt; Creates the directory OpenSource_FDO&lt;br /&gt;
&lt;br /&gt;
3) Enter inside of this directory and look for OpenSourceBuild_README.txt&lt;br /&gt;
&lt;br /&gt;
4) Follow the instructions&lt;br /&gt;
&lt;br /&gt;
----------------------------- &lt;br /&gt;
Linux Instructions &lt;br /&gt;
----------------------------- &lt;br /&gt;
 &lt;br /&gt;
I. Build Instructions &lt;br /&gt;
&lt;br /&gt;
  1. cd [FDO OpenSource] &lt;br /&gt;
&lt;br /&gt;
  2. Open and modify setenvironment.sh to specify the locations of the &lt;br /&gt;
     Thirdparty SDK components and build tools. (Refer to the Build Notes &lt;br /&gt;
     below) &lt;br /&gt;
&lt;br /&gt;
  3.  Source the setenvironment.sh script (bash or bourne compatible shells) &lt;br /&gt;
&lt;br /&gt;
      sudo ./setenvironment.sh &lt;br /&gt;
&lt;br /&gt;
  4. sudo ./build_thirdparty.sh &lt;br /&gt;
&lt;br /&gt;
Note : seems to have some trouble here with gdal&lt;br /&gt;
&lt;br /&gt;
  5. sudo ./build_linux.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Once you have installed FDO, check the execute permissions on the shared libraries in&lt;br /&gt;
/usr/local/fdo-3.4.0/lib. &lt;br /&gt;
&lt;br /&gt;
Some may have been installed without execute permission. To correct the permissions, run&lt;br /&gt;
&lt;br /&gt;
 chmod a+x *.so*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38466</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38466"/>
		<updated>2009-05-14T21:43:47Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
Set the SUN Java to be the default Java installation: edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/environment&lt;br /&gt;
 &lt;br /&gt;
 (Add the following line) &lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ok, lets install FDO&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38465</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38465"/>
		<updated>2009-05-14T21:42:23Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
 deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
Set the SUN Java to be the default Java installation:&lt;br /&gt;
&lt;br /&gt;
Edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
sudo emacs /etc/environment&lt;br /&gt;
(Add the following line) &lt;br /&gt;
JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
In terminal type the following:&lt;br /&gt;
&lt;br /&gt;
''(be prepared to wait a long time for this command to complete, the test data takes a while to download)&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
''(type in your password after the following command if prompted. Note that this fdo-3.3.0, not fdo-3.3.1)''&lt;br /&gt;
 sudo mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(if you are not logged in as ''administrator'', you change the userid below!)''&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(when compile, I got error &amp;quot;occi.h: No such file or directory&amp;quot;. This is for provider KingOracle. Since I don't need it anyway, I just remove folder /home/''administrator''/fdo-3.3.1/Providers/KingOracle)&lt;br /&gt;
&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 source ./setenvironment.sh&lt;br /&gt;
&lt;br /&gt;
In terminal, type the following to run the builds.  Note, there will be no output from either command until completion as it is all being spooled to nohup.out.  You can log into another terminal session and tail this file if you start getting antsy :-)&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_thirdparty.sh 2&amp;gt;&amp;amp;1 | tee build_thirdparty.log&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_linux.sh 2&amp;gt;&amp;amp;1 | tee build_linux.log&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38464</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38464"/>
		<updated>2009-05-14T21:38:34Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NOTES==&lt;br /&gt;
&lt;br /&gt;
Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
Compiled successfully on 32 bit machine. &lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
Install a basic Ubuntu 8.10 (Intrepid Ibex).  &lt;br /&gt;
&lt;br /&gt;
I added the following lines to my /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
deb http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
deb-src http://les-ejk.cz/ubuntu intrepid multiverse &lt;br /&gt;
&lt;br /&gt;
...may help.&lt;br /&gt;
&lt;br /&gt;
then &lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
Set the SUN Java to be the default Java installation:&lt;br /&gt;
&lt;br /&gt;
Edit  /etc/environment file  &lt;br /&gt;
&lt;br /&gt;
sudo emacs /etc/environment&lt;br /&gt;
(Add the following line) &lt;br /&gt;
JAVA_HOME=&amp;quot;/usr/lib/jvm/java-6-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
In terminal type the following:&lt;br /&gt;
&lt;br /&gt;
''(be prepared to wait a long time for this command to complete, the test data takes a while to download)&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
''(type in your password after the following command if prompted. Note that this fdo-3.3.0, not fdo-3.3.1)''&lt;br /&gt;
 sudo mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(if you are not logged in as ''administrator'', you change the userid below!)''&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(when compile, I got error &amp;quot;occi.h: No such file or directory&amp;quot;. This is for provider KingOracle. Since I don't need it anyway, I just remove folder /home/''administrator''/fdo-3.3.1/Providers/KingOracle)&lt;br /&gt;
&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 source ./setenvironment.sh&lt;br /&gt;
&lt;br /&gt;
In terminal, type the following to run the builds.  Note, there will be no output from either command until completion as it is all being spooled to nohup.out.  You can log into another terminal session and tail this file if you start getting antsy :-)&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_thirdparty.sh 2&amp;gt;&amp;amp;1 | tee build_thirdparty.log&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_linux.sh 2&amp;gt;&amp;amp;1 | tee build_linux.log&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38462</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38462"/>
		<updated>2009-05-14T21:31:56Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Those guidelines must be considered as &amp;quot;EXPERIMENTAL&amp;quot; or &amp;quot;it finally work&amp;quot; or &amp;quot;it was God will&amp;quot; work.&lt;br /&gt;
Most of it have been extracted from &amp;quot;Building MapGuide on Ubuntu 8.0.4&amp;quot; but some parts remains very special&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below are instructions that will aid a user with installing FDO 3.4 and MapGuide Open Source 2.0.1 from SVN on Ubuntu 8.04 (Hardy Heron).  It is based on previous instructions, lots of credit to their authors!&lt;br /&gt;
&lt;br /&gt;
==NOTES==&lt;br /&gt;
&lt;br /&gt;
The default directory used in these instructions is called /home/''administrator''.  This assumes that you create your primary user account with the name &amp;quot;''administrator''&amp;quot;.  If you do not, mentally adjust where necessary.&lt;br /&gt;
&lt;br /&gt;
You may want to consider using a client like PuTTY to access your server's terminal via openssh-server from a different computer.  This really helps with copying and pasting.   If so, either ensure that you install the OpenSSH server during your basic install, or add &amp;quot;openssh-server&amp;quot; to the list of packages below.&lt;br /&gt;
&lt;br /&gt;
Any time that you run a task and pipe its output to a logfile, make sure that you look at the end of the logfile when you're done to make sure that it completed successfully.  If it didn't then you have the logfile to post an error report from...  Here's an example of how to do this:&lt;br /&gt;
&lt;br /&gt;
 tail -n 30 mylogfile.log&lt;br /&gt;
&lt;br /&gt;
Compiled successfully on 32 bit machine. When compiled on my 64 bit machine, got error 'CPU you selected does not support x86-64 instruction set'&lt;br /&gt;
&lt;br /&gt;
==BASIC SETUP==&lt;br /&gt;
&lt;br /&gt;
Install a basic Ubuntu 8.04 (Hardy Heron).  Once this is complete, you will have to add some extra packages to compile MapGuide.  Make sure that you get all of these packages; the line is really long:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential bison flex automake1.7 automake1.9 libtool doxygen subversion libjpeg62-dev libpng12-dev libfreetype6-dev libexpat1-dev libxalan110-dev libxslt1-dev expat libcurl4-openssl-dev libasound2-Dev python2.5-dev sun-java6-jdk gcc-4.1 g++-4.1&lt;br /&gt;
&lt;br /&gt;
If Java fails to install, you may need to edit /etc/apt/sources.list to uncomment the multiverse repository lines and then try installing it again.&lt;br /&gt;
&lt;br /&gt;
To avoid &amp;quot;bad fd number&amp;quot; errors, type the following in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
and choose No at the prompt.  Be aware that this changes your default /bin/sh from dash back to bash.&lt;br /&gt;
&lt;br /&gt;
Set the SUN Java to be the default Java installation:&lt;br /&gt;
&lt;br /&gt;
 sudo update-java-alternatives -s java-1.6.0-sun&lt;br /&gt;
&lt;br /&gt;
Edit /etc/jvm, moving &amp;quot;/usr/lib/jvm/java-1.6.0-sun&amp;quot; to the top of the list&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/jvm&lt;br /&gt;
&lt;br /&gt;
Edit /etc/environment so that services will know where to look for Java&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/environment&lt;br /&gt;
&lt;br /&gt;
''(Add the following line)''&lt;br /&gt;
&lt;br /&gt;
 JAVA_HOME=&amp;quot;/usr/lib/jvm/java-1.6.0-sun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
then either log off and back on again, or alternatively:&lt;br /&gt;
 source /etc/environment&lt;br /&gt;
&lt;br /&gt;
The best way to compile MapGuide is using GCC 4.1 (this is older than the &amp;quot;current&amp;quot; version). To enable this, type the following commands into each build environment:&lt;br /&gt;
 CC=gcc-4.1&lt;br /&gt;
 export CC&lt;br /&gt;
 CXX=g++-4.1&lt;br /&gt;
 export CXX&lt;br /&gt;
&lt;br /&gt;
==FDO INSTALL==&lt;br /&gt;
&lt;br /&gt;
In terminal type the following:&lt;br /&gt;
&lt;br /&gt;
''(be prepared to wait a long time for this command to complete, the test data takes a while to download)&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
''(type in your password after the following command if prompted. Note that this fdo-3.3.0, not fdo-3.3.1)''&lt;br /&gt;
 sudo mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(if you are not logged in as ''administrator'', you change the userid below!)''&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/fdo-3.3.0&lt;br /&gt;
&lt;br /&gt;
''(when compile, I got error &amp;quot;occi.h: No such file or directory&amp;quot;. This is for provider KingOracle. Since I don't need it anyway, I just remove folder /home/''administrator''/fdo-3.3.1/Providers/KingOracle)&lt;br /&gt;
&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 source ./setenvironment.sh&lt;br /&gt;
&lt;br /&gt;
In terminal, type the following to run the builds.  Note, there will be no output from either command until completion as it is all being spooled to nohup.out.  You can log into another terminal session and tail this file if you start getting antsy :-)&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_thirdparty.sh 2&amp;gt;&amp;amp;1 | tee build_thirdparty.log&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_linux.sh 2&amp;gt;&amp;amp;1 | tee build_linux.log&lt;br /&gt;
&lt;br /&gt;
==APACHE / PHP INSTALL==&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
&lt;br /&gt;
''(you should now be in /home/''administrator'', or whatever your $HOME is)''&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.1/ mapguide-2.0.1&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
''(replace ''administrator'' with your userid if necessary)''&lt;br /&gt;
&lt;br /&gt;
 sudo chown ''administrator'' /usr/local/mapguideopensource&lt;br /&gt;
&lt;br /&gt;
 cd mapguide-2.0.1/Oem/LinuxApt&lt;br /&gt;
&lt;br /&gt;
''(careful when copying and pasting this line, the - got changed into . for me)''&lt;br /&gt;
&lt;br /&gt;
 find . -name &amp;quot;*.gz&amp;quot; -exec tar xzf {} \;&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_apt.sh 2&amp;gt;&amp;amp;1 | tee ../../build_apt.log&lt;br /&gt;
&lt;br /&gt;
==BUILD OEM==&lt;br /&gt;
&lt;br /&gt;
Perform the following:&lt;br /&gt;
&lt;br /&gt;
 cd ~/mapguide-2.0.1/&lt;br /&gt;
&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
==BUILD MAPGUIDE==&lt;br /&gt;
&lt;br /&gt;
Go for the Heron:&lt;br /&gt;
&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-optimized&lt;br /&gt;
&lt;br /&gt;
''(If you get error &amp;quot;missing liblib_json.so&amp;quot;, then apply patch from http://trac.osgeo.org/mapguide/ticket/347)&lt;br /&gt;
&lt;br /&gt;
 nohup make 2&amp;gt;&amp;amp;1 | tee make_mapguide.log&lt;br /&gt;
&lt;br /&gt;
 nohup make install 2&amp;gt;&amp;amp;1 | tee install_mapguide.log&lt;br /&gt;
&lt;br /&gt;
If you want to use webstudio, copy the files to the webserverextension folder:&lt;br /&gt;
&lt;br /&gt;
 cp -fpR /home/''administrator''/mapguide-2.0.1/Web/src/webstudio /usr/local/mapguideopensource/webserverextensions/www/webstudio&lt;br /&gt;
&lt;br /&gt;
== STARTUP OPTIONS ==&lt;br /&gt;
&lt;br /&gt;
While you're testing, it can be convenient to run services interactively, but eventually you'll want them to shut down / restart when you the computer is rebooted.  This section gives you both options.&lt;br /&gt;
&lt;br /&gt;
=== START SERVICES MANUALLY ===&lt;br /&gt;
&lt;br /&gt;
Start Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl restart&lt;br /&gt;
&lt;br /&gt;
Stop Apache&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl stop&lt;br /&gt;
&lt;br /&gt;
Start MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/mapguideopensource/server/bin/mgserverd.sh&lt;br /&gt;
&lt;br /&gt;
Stop MapGuide&lt;br /&gt;
&lt;br /&gt;
 sudo pkill -f -u root &amp;quot;mgserver daemon&amp;quot;&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=User_talk:Mperouma&amp;diff=38461</id>
		<title>User talk:Mperouma</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=User_talk:Mperouma&amp;diff=38461"/>
		<updated>2009-05-14T21:28:52Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: User talk:Mperouma moved to Building MapGuide on Ubuntu 8 10: More readable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Building MapGuide on Ubuntu 8 10]]&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38460</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38460"/>
		<updated>2009-05-14T21:28:52Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: User talk:Mperouma moved to Building MapGuide on Ubuntu 8 10: More readable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Building MapGuide for Ubuntu 8.10 intrepid-ibex&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38459</id>
		<title>Building MapGuide on Ubuntu 8.10</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_Ubuntu_8.10&amp;diff=38459"/>
		<updated>2009-05-14T21:26:58Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Mperouma: Building procedure of Mapguide for Ubuntu 8.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Building MapGuide for Ubuntu 8.10 intrepid-ibex&lt;/div&gt;</summary>
		<author><name>Wiki-Mperouma</name></author>
	</entry>
</feed>