<?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-Uvlite</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-Uvlite"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Uvlite"/>
	<updated>2026-04-12T13:08:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38348</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38348"/>
		<updated>2009-05-06T17:25:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* MapGuide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl openssl-devel &lt;br /&gt;
 yum install curl curl-devel&lt;br /&gt;
 yum install libxslt libxslt-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 === &lt;br /&gt;
&lt;br /&gt;
Rev 3853&lt;br /&gt;
&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
Later in the webtier the ApacheAgent will not compile if httpd has not been unpacked/built.&lt;br /&gt;
&lt;br /&gt;
There is a conflict with the apr package. &lt;br /&gt;
Installing apr-devel and a &amp;quot;make clean&amp;quot; in the apache directory seemed to have helped ...&lt;br /&gt;
&lt;br /&gt;
The apache2/conf/mapguide.conf installed for the apache webserver does not enable the mapguide plugin or the mapagent.fcgi handler.&lt;br /&gt;
This needs editing in line 8 and 30.&lt;br /&gt;
&lt;br /&gt;
On Centos52 the mod_mgmapagent.so and siblings does not get installed into the apache directory in the installation.&lt;br /&gt;
These can be copied manually from the Apache Agent subdir MgDev/web/src/ApacheAgent/.libs to&lt;br /&gt;
/usr/local/mapguideopensource/webserverextensions/apache2/modules until this is fixed.&lt;br /&gt;
&lt;br /&gt;
== PHP ==&lt;br /&gt;
&lt;br /&gt;
The PHP build fails with a missing include of evp.h if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;
&lt;br /&gt;
===Final Steps===&lt;br /&gt;
&lt;br /&gt;
the apache module needed to be deployed by hand&lt;br /&gt;
&lt;br /&gt;
1. the webconfig.ini has not been deployed in www&lt;br /&gt;
2. the webtier tests in mapagent dir were missing&lt;br /&gt;
3. the mapviewerphp directory was empty and needed filling to view a map&lt;br /&gt;
4. a remote connection with autodesk studio 2008 version 2.0 failed to connect&lt;br /&gt;
5. the resource library is empty and no map can be displayed&lt;br /&gt;
6. fixing all the above still only produced empty tiles....&lt;br /&gt;
next day&lt;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38347</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38347"/>
		<updated>2009-05-06T16:01:03Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* Apache / PHP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl openssl-devel &lt;br /&gt;
 yum install curl curl-devel&lt;br /&gt;
 yum install libxslt libxslt-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 === &lt;br /&gt;
&lt;br /&gt;
Rev 3853&lt;br /&gt;
&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
Later in the webtier the ApacheAgent will not compile if httpd has not been unpacked/built.&lt;br /&gt;
&lt;br /&gt;
There is a conflict with the apr package. &lt;br /&gt;
Installing apr-devel and a &amp;quot;make clean&amp;quot; in the apache directory seemed to have helped ...&lt;br /&gt;
&lt;br /&gt;
The apache2/conf/mapguide.conf installed for the apache webserver does not enable the mapguide plugin or the mapagent.fcgi handler.&lt;br /&gt;
This needs editing in line 8 and 30.&lt;br /&gt;
&lt;br /&gt;
On Centos52 the mod_mgmapagent.so and siblings does not get installed into the apache directory in the installation.&lt;br /&gt;
These can be copied manually from the Apache Agent subdir MgDev/web/src/ApacheAgent/.libs to&lt;br /&gt;
/usr/local/mapguideopensource/webserverextensions/apache2/modules until this is fixed.&lt;br /&gt;
&lt;br /&gt;
== PHP ==&lt;br /&gt;
&lt;br /&gt;
The PHP build fails with a missing include of evp.h if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38346</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38346"/>
		<updated>2009-05-06T13:59:12Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* System development tools and libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl openssl-devel &lt;br /&gt;
 yum install curl curl-devel&lt;br /&gt;
 yum install libxslt libxslt-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
The ApacheAgent from the webtier does not compile if httpd has not been unpacked.&lt;br /&gt;
&lt;br /&gt;
There is a conflict with the apr package. &lt;br /&gt;
Installing apr-devel and a &amp;quot;make clean&amp;quot; in the apache directory seemed to help...&lt;br /&gt;
&lt;br /&gt;
The PHP build fails if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38345</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38345"/>
		<updated>2009-05-06T13:53:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* System development tools and libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl-devel curl curl-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
The ApacheAgent from the webtier does not compile if httpd has not been unpacked.&lt;br /&gt;
&lt;br /&gt;
There is a conflict with the apr package. &lt;br /&gt;
Installing apr-devel and a &amp;quot;make clean&amp;quot; in the apache directory seemed to help...&lt;br /&gt;
&lt;br /&gt;
The PHP build fails if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38344</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38344"/>
		<updated>2009-05-06T13:46:29Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* Apache / PHP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
The ApacheAgent from the webtier does not compile if httpd has not been unpacked.&lt;br /&gt;
&lt;br /&gt;
There is a conflict with the apr package. &lt;br /&gt;
Installing apr-devel and a &amp;quot;make clean&amp;quot; in the apache directory seemed to help...&lt;br /&gt;
&lt;br /&gt;
The PHP build fails if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38341</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38341"/>
		<updated>2009-05-06T12:23:09Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* System development tools and libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
 yum install openssl-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
The apache agent does not compile if httpd has not been unpacked!&lt;br /&gt;
&lt;br /&gt;
The PHP build fails if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38340</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38340"/>
		<updated>2009-05-06T11:51:20Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* Apache / PHP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
The apache agent does not compile if httpd has not been unpacked!&lt;br /&gt;
&lt;br /&gt;
The PHP build fails if openssl-devel has not been installed!&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38333</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38333"/>
		<updated>2009-05-06T10:13:55Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* Apache / PHP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
(the apache agent does not compile if httpd is not compiled)&lt;br /&gt;
&lt;br /&gt;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38332</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38332"/>
		<updated>2009-05-06T10:09:43Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* Sun Java */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME does not always gets set during this installation. It is however required to compile the SWIG based JavaAPI.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38209</id>
		<title>Building MapGuide on CentOS 5</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_MapGuide_on_CentOS_5&amp;diff=38209"/>
		<updated>2009-05-01T05:46:34Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Uvlite: /* System development tools and libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Prerequisite==&lt;br /&gt;
===User account===&lt;br /&gt;
If you have just installed the OS, be sure to create a user account for yourself from root:&lt;br /&gt;
 adduser ''&amp;lt;username&amp;gt;''&lt;br /&gt;
 passwd ''&amp;lt;username&amp;gt;''&lt;br /&gt;
Add yourself to the sudoer list from root:&lt;br /&gt;
 visudo&lt;br /&gt;
Add your entry after root &amp;lt;code&amp;gt;&amp;quot;''&amp;lt;username&amp;gt;'' ALL=(ALL)  ALL&amp;quot;&amp;lt;/code&amp;gt;, at about line 77. The program uses commands from &amp;lt;code&amp;gt;vi&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;vim&amp;lt;/code&amp;gt;, so you need to insert text using &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, then after inserting text, you need to hit the ESC key, then&amp;lt;code&amp;gt;:wq&amp;lt;/code&amp;gt; (write, quit).&lt;br /&gt;
Logout of root, and log in as yourself.&lt;br /&gt;
&lt;br /&gt;
===System development tools and libraries===&lt;br /&gt;
Install system development tools (as root via su):&lt;br /&gt;
 yum install gcc* gd-* &lt;br /&gt;
 yum install automake* bison* flex doxygen expat* swig &lt;br /&gt;
 yum install libtool* libjpeg-devel libpng libpng-devel alsa-lib-devel libxml2 libxml2-devel&lt;br /&gt;
&lt;br /&gt;
===Sun Java===&lt;br /&gt;
A Sun Java Development Kit is required.  The plain package is fine, no need for NetBeans or Java EE. You can download the JDK from http://java.sun.com/javase/downloads/index.jsp. Detailed installation instructions can be found at http://wiki.centos.org/HowTos/JavaOnCentOS (follow the instructions for &amp;quot;Sun JDK 1.6&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&amp;quot; and you should see &amp;quot;Java(TM)&amp;quot; somewhere in the output.&lt;br /&gt;
&lt;br /&gt;
===Optional: PostgreSQL and PostGIS===&lt;br /&gt;
Current versions of PostgreSQL are maintained at http://yum.pgsqlrpms.org/. An overview for beginners can be found here: http://www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&lt;br /&gt;
&lt;br /&gt;
To use the repository, first block all others by editing the repos file. As root, edit the file (e.g.):&lt;br /&gt;
 vim /etc/yum.repos.d/CentOS-Base.repo&amp;lt;/code&amp;gt;&lt;br /&gt;
add to the bottom of the file:&lt;br /&gt;
 exclude=postgresql*&lt;br /&gt;
&lt;br /&gt;
Choose a version of PostgreSQL from http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html, the current version 8.3.x is recommended&lt;br /&gt;
&lt;br /&gt;
==Download source==&lt;br /&gt;
Download the source code for FDO-3.3.1 and MapGuide-2.0.2:&lt;br /&gt;
 svn checkout http://svn.osgeo.org/fdo/tags/3.3.1/ fdo-3.3.1&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://svn.osgeo.org/mapguide/tags/MAPGUIDE2.0.2/ mapguide-2.0.2&lt;br /&gt;
&lt;br /&gt;
==Build and Install==&lt;br /&gt;
===FDO===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/fdo-3.3.0&lt;br /&gt;
 cd fdo-3.3.1&lt;br /&gt;
 source ./setenvironment.sh&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 ===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 mkdir /usr/local/mapguideopensource&lt;br /&gt;
 cd mapguide-2.0.2/Oem/LinuxApt&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;
===OEM===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 cd mapguide-2.0.2/&lt;br /&gt;
 nohup ./build_oem.sh 2&amp;gt;&amp;amp;1 | tee build_oem.log&lt;br /&gt;
&lt;br /&gt;
===MapGuide===&lt;br /&gt;
Through su or as root:&lt;br /&gt;
 aclocal&lt;br /&gt;
 libtoolize --force&lt;br /&gt;
 automake --add-missing --copy&lt;br /&gt;
 autoconf&lt;br /&gt;
 ./configure --enable-optimized&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;/div&gt;</summary>
		<author><name>Wiki-Uvlite</name></author>
	</entry>
</feed>