[mapguide-users] Calling all Ubuntu users!!!
Chris Gountanis
cgountanis at mpower-tech.com
Tue Feb 13 13:17:14 EST 2007
Are you having issues with the Apache\PHP, FDO, OEM or Server\Webextension install packages?
You have to remember not to install some of those third party packages since they are included in the installer. It can cause some issues until the MapGuide code and installer files get updated. The setenvironment.sh shell file is huge. There is also 2 fixes to allow compilation of SHP, ODBC and MySQL FDO drivers. I got everything working pretty good on Gentoo on a base (bare bones) system with minimal extras. Join Freenode IRC Server, channels #mapguide, #gentoo and/or #Ubuntu for questions.
Here is a list of what I needed for Gentoo (??? means not sure if I needed yet):
The reason why I am not sure on the ??? xalan and curl are included in the Third Party install for included reasons and JDK may only be needed for TomCat installations. If you are going full PHP no need for TomCat.
emerge jpeg
emerge libxml2
emerge unixODBC
emerge dev-db/mysql
emerge xalan-c ????
emerge curl ???
emerge sun-jdk ???
Here is the FDO fixes:
****** SHP FDO CODE FIX ******
nano /home/OpenSource_FDO/Providers/SHP/Src/Provider/ShpOptimizedAggregateReader.h
Please update ShpOptimizedAggregateReader.h so that the line
void ShpOptimizedAggregateReader::GetInt64ForCache(FdoIdentifier *itemName, FdoInt64 *int32Value, bool *bIsNull );
to this
void GetInt64ForCache( FdoIdentifier *itemName, FdoInt64 *int32Value, bool *bIsNull );
****** SHP FDO CODE FIX ******
****** ODBC/MySQL FDO CODE FIX ******
nano /home/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest/Common/FdoInsertTest.cpp
Please update FdoInsertTest.cpp so that the line
return (FdoInt64) 9223372036854775807;
to this
return (FdoInt64) 9223372036854775807LL;
****** ODBC/MySQL FDO CODE FIX ******
Remember before you build FDO to edit the setenvironment.sh then run it to set exports and other init stuff!!!
nano setenvironment.sh
Locations for editing setenvironment.sh on Gentoo 2006.1:
FDOMYSQL=/usr/include/mysql
FDOODBC=/usr/lib
SDEHOME=<optional if you have sde files otherwise don't touch>
I also needed to do this for the OEM install. After you extract the files:
****** Fix DWF Build SH ******
Edit build_setup.sh files with "libtoolize --copy --force" after "autoreconf --force" (no quotes)
nano /home/mapguide-1.1.0/Oem/DWFTK7.1/develop/global/build/gnu/dwfcore/build_setup.sh
nano /home/mapguide-1.1.0/Oem/DWFTK7.1/develop/global/build/gnu/dwfemap/build_setup.sh
nano /home/mapguide-1.1.0/Oem/DWFTK7.1/develop/global/build/gnu/dwftoolkit/build_setup.sh
****** Fix DWF Build SH ******
Soon as I get things double checked I will release a manual for modern Linux systems. You get many warnings but everything compiles smoothly in the end. The reason I choose Gentoo was because of their package management. Everything gets compiled with your system in mind. Which also means the devel files are included on eevry package... no more searching for SDK or Devel packages like Fedora. Other Linux distros drop pre-made binaries and hope for performance. I tried FC6 and had nothing but issues and even things like extracting took 3 times longer!
Chris
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org on behalf of joanne cook
Sent: Tue 2/13/2007 3:31 AM
To: mapguide-users at lists.osgeo.org
Cc:
Subject: [mapguide-users] Calling all Ubuntu users!!!
Hi List,
Having screeched to a halt with my installation of Mapguide Opensource 1.1.0 on Ubuntu 6.0.6 I am interested in hearing from anyone who has successfully managed to install it on that system. I won't bother you too much with questions about the installation- I just want to know if you had similar problems (with different versions of libgdal apparently) and if you managed to solve them.
Many, many thanks in advance
Jo
-------------------------------------------
Joanne Cook BSc MLitt AIFA MBCS
Information Systems Coordinator
Oxford Archaeology North
-------------------------------------------
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 8066 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070213/e58c8669/attachment.bin
More information about the mapguide-users
mailing list