[mapguide-trac] #1977: Ubuntu 11.10 build fixes
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Apr 2 12:31:07 EDT 2012
#1977: Ubuntu 11.10 build fixes
----------------------------+-----------------------------------------------
Reporter: jng | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.4
Component: Build System | Version:
Severity: major | Keywords:
External_id: |
----------------------------+-----------------------------------------------
Description changed by jng:
Old description:
> Attached is a patch that will make the MapGuide source tree buildable on
> Ubuntu 11.10. An overview of this patch is as follows:
New description:
Attached is a patch that will make the MapGuide source tree buildable on
Ubuntu 11.10 with the provided compilers (GCC 4.6). An overview of this
patch is as follows:
* `IMake/stdafx.h`: includes the cstdio header to fix compiler errors
relating to stdio functions
* `IMake/Makefile`: replace -mcpu (deprecated) with -mtune and replace
i386 to i686. Also remove self deletion on "clean" target
* `Oem/ACE/ACE_wrappers/include/makeinclude/platform_linux.GNU`: Refined
check for librt.so
* `Oem/ACE/ACE_wrappers/include/makeinclude/platform_linux_common.GNU`:
Refined check for librt.so
* `Oem/geos-2.2.0/configure.in`: Fix invalid use of the AC_SUBST macro
(on Ubuntu this spat out "AC_SUBST(xxx) is not a valid shell variable
name" before this patch)
* `Oem/SWIGEx/Makefile`: Same fixes as the Makefile for IMake
* `Oem/dbxml/xqilla/Makefile.in`: Remove the lexer regeneration step as
this requires a super-ancient (circa-1997) and custom-patched version of
flex. Regenerating the lexer does not seem to be necessary
* `Oem/dbxml/xqilla/include/xqilla/framework/XPath2MemoryManager.hpp`:
includes the cstddef header to fix the "ptrdiff_t does not name a type"
compiler error.
* `Oem/Makefile.am`: Remove copy commands to non-existent DWF Toolkit
files
* `Common/Security/CryptographyUtil.cpp`: Include cstdio header to fix
compiler errors.
* `Common/Renderers/ObservationMesh.cpp`: include cstdio header to fix
compiler errors.
* `Common/Renderers/Makefile.am`: Add linker references to DWF Toolkit
* `Common/Stylization/atom.h`: Rename Shape() to GetShape() to fix
compiler error (declaration of 'virtual RichText::ATOM::Shape::Type
RichText::ATOM::IStructure::Shape() const' changes meaning of 'Shape' from
'class RichText::ATOM::Shape' [-fpermissive])
* `Common/Stylization/atom_element_structure.h`: Rename Shape() to
GetShape() to fix compiler error (declaration of 'virtual
RichText::ATOM::Shape::Type RichText::ATOM::IStructure::Shape() const'
changes meaning of 'Shape' from 'class RichText::ATOM::Shape'
[-fpermissive])
* `Common/Stylization/Makefile.am`: Add linker references to FDO
Expression Engine
* `Common/Stylization/SE_BufferPool.cpp`: Add cstdlib header to fix
compiler errors.
* `configure.in`: Update version to 2.4.0 and change -mcpu (deprecated)
to -mtune and i386 to i686
*
`Server/src/Gws/GwsQueryEngine/GwsBatchSortedBlockJoinQueryResults.cpp`:
Include cstdio header to fix compiler errors.
* `Web/src/CgiAgent/Makefile.am`: Add linker reference to
MgMapGuideCommon and lib_json in oem
--
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1977#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list