[mapguide-users] RE: Calling all Ubuntu users!!!

Jo Cook j.cook at OXFORDARCH.CO.UK
Wed Feb 14 06:45:38 EST 2007


Hi Chris,

Many thanks for this. I had a lot of issues working through the various
compiles and installs, but the one that stopped me completely was in the
final install of the main package and is detailed in this discussion:

http://www.nabble.com/LibXerces-conflict-on-Ubuntu-Dapper-Drake--tf3200598s16610.html

The basic problem appears to be with libgdal- and the fact that there appear
to be separate versions in FDO and in the main MapGuide installs. No one is
really sure what the problem is though!

Could you go into more detail about the third party packages?  All I did was
download the things I needed from the fdo site, and follow the instructions-
I didn't compile and install any of them separately, and the FDO and
ThirdParty compiles and installs went OK, after a few false starts.

I am going to have another go on a clean installation, to make sure that I
didn't mess anything up, so I will see how it goes...

Cheers

Jo


Chris Gountanis wrote:
> 
> 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
> 
>  
> 
>  
> 
> 
>  
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Calling-all-Ubuntu-users%21%21%21-tf3219492s16610.html#a8963456
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list