Opened 13 years ago
Closed 13 years ago
#1977 closed defect (fixed)
Ubuntu 11.10 build fixes
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.4 |
Component: | Build System | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description (last modified by )
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 functionsIMake/Makefile
: replace -mcpu (deprecated) with -mtune and replace i386 to i686. Also remove self deletion on "clean" targetOem/ACE/ACE_wrappers/include/makeinclude/platform_linux.GNU
: Refined check for librt.soOem/ACE/ACE_wrappers/include/makeinclude/platform_linux_common.GNU
: Refined check for librt.soOem/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 IMakeOem/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 necessaryOem/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 filesCommon/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 ToolkitCommon/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 EngineCommon/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 i686Server/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
Attachments (1)
Change History (3)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
by , 13 years ago
Attachment: | mg_ubuntu_build_fixes.patch added |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed trunk r6568 Fixed 2.4 branch r6569