[mapguide-internals] Compiling MapGuide Oem under GCC 4.4

Zac Spitzer zac.spitzer at gmail.com
Wed Mar 3 18:28:37 EST 2010


+1 for deprecating parts of the OEM tree

On Thu, Mar 4, 2010 at 8:16 AM, Trevor Wekel
<trevor_wekel at otxsystems.com> wrote:
> Hello,
>
> I've been attempting a MapGuide build under Ubuntu 9 with GCC 4.4.  I have gotten part way through the Oem tree but am hitting lots of errors with Berkeley DB XML.  I did a little checking and the BDB XML version (2.3.10) we are using was released in January 2007.
>
> Since GCC 4.4 was released in April 2009, it is quite reasonable to expect that BDB XML 2.3.10 will simply not compile under GCC 4.4.  Compilation with GCC 4.1 on Ubuntu 9 is also problematic due to hardcoded CC/CXX/etc declarations in some of the build scripts.
>
> The only "easy" solution to produce binaries on Ubuntu is to the compile the binaries on CentOS 5 and copy them over to Ubuntu.  This leads to issues with missing shared libraries which can be worked around with some careful symlinking.  This works but it is not really a great solution.
>
> Are we planning to update DBXML?  Or should we consider deprecating part of the Oem tree on Linux (dbxml, PHP, LinuxApt) and simply move to compiling against the native "-dev" libraries?
>
>
> Regards,
> Trevor
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-internals mailing list