<?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-Ddnuell</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-Ddnuell"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Ddnuell"/>
	<updated>2026-04-12T18:39:26Z</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_7.04_Server&amp;diff=18667</id>
		<title>Building Mapguide on Ubuntu 7.04 Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Building_Mapguide_on_Ubuntu_7.04_Server&amp;diff=18667"/>
		<updated>2007-09-27T19:25:12Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Ddnuell: Building MGOS on Ubuntu 7.04 Feisty Fawn Server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below are instructions that will aid a user with installing Mapguide Open Source v1.1 on Ubuntu 7.04 (Feisty Fawn) Server.  The assistance of Jo Cook was greatly appreciated.  I tried installing it on the desktop version of Ubuntu however I was unsuccessful.&lt;br /&gt;
&lt;br /&gt;
'''BASIC SETUP'''&lt;br /&gt;
&lt;br /&gt;
Install a basic Ubuntu Server 7.04 (Feisty Fawn) (the rest of this guide assumes that you are not running as the root user)&lt;br /&gt;
&lt;br /&gt;
The default directory will be /home/administrator.  If this is not the case, change your path to /home/administrator&lt;br /&gt;
&lt;br /&gt;
Install the following in Terminal:&lt;br /&gt;
&lt;br /&gt;
''sudo apt-get install subversion gcc g++ bison flex automake 1.9 libjpeg62-dev libtool zlib1g zlib1g-dev libxml2-dev make libxalan110 libxalan110-dev''&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;
''wget http://svn.osgeo.org/fdocore/branches/3.2.x/checkoutsvn.sh''&lt;br /&gt;
&lt;br /&gt;
Using 'nano', edit checkoutsvn.sh with the following:&lt;br /&gt;
&lt;br /&gt;
''nano checkoutsvn.sh''&lt;br /&gt;
&lt;br /&gt;
FDO_SVN_USERNAME=guest&lt;br /&gt;
FDO_SVN_PASSWORD=guest&lt;br /&gt;
FDO_SVN_SOURCEDIR=branches/3.2.x&lt;br /&gt;
&lt;br /&gt;
Save your edits and exit checkoutsvn.sh&lt;br /&gt;
&lt;br /&gt;
In terminal type the following:&lt;br /&gt;
&lt;br /&gt;
''mkdir fdosvn&lt;br /&gt;
cd fdosvn&lt;br /&gt;
bash /home/administrator/checkoutsvn.sh'' &lt;br /&gt;
&lt;br /&gt;
Permanently accept the certificate and cancel checkouts with ctrl c&lt;br /&gt;
&lt;br /&gt;
In terminal type the following:&lt;br /&gt;
&lt;br /&gt;
''cd /home/administrator/.subversion/config''&lt;br /&gt;
&lt;br /&gt;
''nano config''&lt;br /&gt;
&lt;br /&gt;
Edit config with the following:&lt;br /&gt;
&lt;br /&gt;
(in the Miscellany section)&lt;br /&gt;
Use-commit-times=yes&lt;br /&gt;
Enable-auto-props=yes&lt;br /&gt;
&lt;br /&gt;
(in the Auto-Props section)&lt;br /&gt;
*.*=svn:eol-style=native&lt;br /&gt;
*.sh=svn:executable&lt;br /&gt;
&lt;br /&gt;
Save and close the config file.&lt;br /&gt;
&lt;br /&gt;
In Terminal (from /home/administrator):&lt;br /&gt;
&lt;br /&gt;
''Rm -rf fdosvn/*&lt;br /&gt;
rm –rf fdosvn/.svn&lt;br /&gt;
cd /home/administrator/fdosvn&lt;br /&gt;
bash /home/administrator/checkoutsvn.sh''&lt;br /&gt;
 &lt;br /&gt;
''cd /usr/local&lt;br /&gt;
sudo mkdir fdo-3.2.0&lt;br /&gt;
sudo mkdir fdo-3.2.2&lt;br /&gt;
sudo chown administrator fdo-3.2.0&lt;br /&gt;
sudo chown administrator fdo-3.2.2''&lt;br /&gt;
&lt;br /&gt;
''cd /home/administrator/fdosvn&lt;br /&gt;
source ./setenvironment.sh''&lt;br /&gt;
&lt;br /&gt;
To avoid the bad fd number errors completely, 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&lt;br /&gt;
&lt;br /&gt;
In terminal, type the following:&lt;br /&gt;
&lt;br /&gt;
''nohup ./build_thirdparty.sh&lt;br /&gt;
nohup ./build_linux.sh'' &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 ..'' (you should now be in /home/administrator)&lt;br /&gt;
''mkdir mgdev&lt;br /&gt;
cd mgdev&lt;br /&gt;
svn co http://svn.osgeo.org/mapguide/branches/1.2.x''&lt;br /&gt;
&lt;br /&gt;
In Terminal, install the following:&lt;br /&gt;
&lt;br /&gt;
''sudo apt-get install libcurl3 libcurl3-dev libxslt1.1 libxslt1-dev expat''&lt;br /&gt;
&lt;br /&gt;
In Terminal:&lt;br /&gt;
&lt;br /&gt;
''mkdir /usr/local/mapguideopensource&lt;br /&gt;
sudo chown administrator /usr/local/mapguideopensource'' (replace administrator with your user if necessary)&lt;br /&gt;
&lt;br /&gt;
Edit the following file /etc/apt/sources.list to include the multiverse&lt;br /&gt;
&lt;br /&gt;
''nano sources.list''&lt;br /&gt;
&lt;br /&gt;
In Terminal, install the following:&lt;br /&gt;
&lt;br /&gt;
''sudo apt-get install sun-java5-jdk'' (accept the license)&lt;br /&gt;
&lt;br /&gt;
In Terminal type the following:&lt;br /&gt;
&lt;br /&gt;
(be sure to change the version of java to the one you download (i.e., 1.5.0.11, 1.5.0.12, etc.))&lt;br /&gt;
&lt;br /&gt;
''export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.11&lt;br /&gt;
cd /home/administrator/MgDev/1.2.x/MgDev/Oem/LinuxApt&lt;br /&gt;
find . –name “*.gz” –exec tar zxf {} “;”&lt;br /&gt;
./build_apt.sh''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BUILD OEM'''&lt;br /&gt;
&lt;br /&gt;
In Terminal, install the following:&lt;br /&gt;
&lt;br /&gt;
''sudo apt-get install automake1.7 libasound2-Dev''&lt;br /&gt;
&lt;br /&gt;
In Terminal:&lt;br /&gt;
&lt;br /&gt;
''cd /home/administrator/MgDev/1.2.x/MgDev&lt;br /&gt;
pushd Oem/CppUnit-1.9.14&lt;br /&gt;
rm aclocal.m4&lt;br /&gt;
popd&lt;br /&gt;
./build_oem.sh''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BUILD MAPGUIDE'''&lt;br /&gt;
&lt;br /&gt;
In Terminal, install the following:&lt;br /&gt;
&lt;br /&gt;
''sudo apt-get install libexpat1 libexpat1-dev doxygen''&lt;br /&gt;
&lt;br /&gt;
In Terminal:&lt;br /&gt;
&lt;br /&gt;
''sudo chown administrator /usr/lib/python2.4&lt;br /&gt;
sudo chown administrator /usr/lib/python2.5&lt;br /&gt;
aclocal&lt;br /&gt;
libtoolize --force&lt;br /&gt;
automake --add-missing --copy&lt;br /&gt;
autoconf&lt;br /&gt;
./configure - -without-python&lt;br /&gt;
make &lt;br /&gt;
make install''&lt;br /&gt;
&lt;br /&gt;
To activate webstudio, you have to copy the files to the webserverextension folder as follows:&lt;br /&gt;
&lt;br /&gt;
''cp -R /home/administrator/mgdev/1.2.x/MgDev/Web/src/webstudio “SPACE” /usr/local/mapguideopensource/webserverextensions/www/webstudio''&lt;br /&gt;
&lt;br /&gt;
The above command should be all one line, with a 'space' between webstudio and /usr&lt;br /&gt;
&lt;br /&gt;
''Reboot the server''&lt;br /&gt;
&lt;br /&gt;
To start Mapguide on the server:&lt;br /&gt;
&lt;br /&gt;
''cd /usr/local/mapguideopensource/webtierextensions/apache2/bin &lt;br /&gt;
./httpd &lt;br /&gt;
cd /usr/local/mapguideopensource/server/bin &lt;br /&gt;
./mgserver.sh'' &lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Wiki-Ddnuell</name></author>
	</entry>
</feed>