[mapguide-trac] #506: Mapguide 2.0 won't compile on Ubuntu?

MapGuide Open Source trac_mapguide at osgeo.org
Tue Mar 18 23:51:43 EDT 2008


#506: Mapguide 2.0 won't compile on Ubuntu?
--------------------------+-------------------------------------------------
 Reporter:  Rothgar       |         Owner:  ronnielouie
     Type:  defect        |        Status:  new        
 Priority:  high          |     Milestone:             
Component:  Build System  |       Version:  2.0.0      
 Severity:  critical      |    Resolution:             
 Keywords:                |   External_id:             
--------------------------+-------------------------------------------------
Comment (by Rothgar):

 We found this bug report:
 http://trac.osgeo.org/mapguide/attachment/ticket/347/CgiAgent_Makefile.am.patch

 Using the patch the CgiAgent problem seemed to go away, maybe this can be
 added to the SVN?



 After the CgiAgent, I saw a lot of warnings, don't know if they should be
 looked at or not?

 make[3]: Entering directory `/home/mapguide-svn/Web/src/PhpApi'
 ../../../BuildTools/WebTools/IMake/Linux/IMake
 ../MapGuideApi/Constants.xml PHP ./constants.php

 IMake - SWIG Interface generator
 Version 1.1cp -f php.i language.i
 ../../../BuildTools/WebTools/IMake/Linux/IMake
 ../MapGuideApi/MapGuideApiGen.xml PHP

 IMake - SWIG Interface generator
 Version 1.1

 Generating interface file ./MapGuideApi.i...
 ../../../Oem/SWIGEx/Linux/swig -c++ -php -DPHPSWIG -baseexception
 MgException \
           -clsidcode getclassid.code \
           -clsiddata m_cls_id \
           -catchallcode catchall.code \
           -dispose "((MgDisposable*)arg1)->Release()" \
           -rethrow "e->Raise();" \
           -nodefault -o MgApi_wrap.cpp \
           -lib ../../../Oem/SWIGEx/Lib MapGuideApi.i

 MapGuideApi.i:51: Warning(302): Identifier 'STRINGPARAM' redeclared
 (ignored).
 MapGuideApi.i:45: Previous declaration of 'STRINGPARAM'
 MapGuideApi.i:52: Warning(302): Identifier 'BYTE' redeclared (ignored).
 MapGuideApi.i:49: Previous declaration of 'BYTE'
 MapGuideApi.i:132: Warning(302): Identifier '~MgUserInformation'
 redeclared (ignored).
 MapGuideApi.i:131: Previous declaration of '~MgUserInformation'
 MapGuideApi.i:239: Warning(302): Identifier '~MgDateTime' redeclared
 (ignored).
 MapGuideApi.i:237: Previous declaration of '~MgDateTime'
 MapGuideApi.i:276: Warning(302): Identifier '~MgCollection' redeclared
 (ignored).
 MapGuideApi.i:274: Previous declaration of '~MgCollection'
 MapGuideApi.i:299: Warning(302): Identifier '~MgIntCollection' redeclared
 (ignored).
 MapGuideApi.i:297: Previous declaration of '~MgIntCollection'
 MapGuideApi.i:327: Warning(302): Identifier '~MgPropertyCollection'
 redeclared (ignored).
 MapGuideApi.i:325: Previous declaration of '~MgPropertyCollection'
 MapGuideApi.i:352: Warning(302): Identifier '~MgStringCollection'
 redeclared (ignored).
 MapGuideApi.i:350: Previous declaration of '~MgStringCollection'
 MapGuideApi.i:413: Warning(302): Identifier
 '~MgPropertyDefinitionCollection' redeclared (ignored).
 MapGuideApi.i:411: Previous declaration of
 '~MgPropertyDefinitionCollection'
 MapGuideApi.i:438: Warning(302): Identifier '~MgBatchPropertyCollection'
 redeclared (ignored).
 MapGuideApi.i:436: Previous declaration of '~MgBatchPropertyCollection'
 MapGuideApi.i:484: Warning(302): Identifier '~MgPropertyDefinition'
 redeclared (ignored).
 MapGuideApi.i:483: Previous declaration of '~MgPropertyDefinition'
 MapGuideApi.i:501: Warning(302): Identifier '~MgBlobProperty' redeclared
 (ignored).
 MapGuideApi.i:500: Previous declaration of '~MgBlobProperty'
 MapGuideApi.i:518: Warning(302): Identifier '~MgBooleanProperty'
 redeclared (ignored).
 MapGuideApi.i:517: Previous declaration of '~MgBooleanProperty'
 MapGuideApi.i:535: Warning(302): Identifier '~MgByteProperty' redeclared
 (ignored).
 MapGuideApi.i:534: Previous declaration of '~MgByteProperty'
 MapGuideApi.i:552: Warning(302): Identifier '~MgClobProperty' redeclared
 (ignored).
 MapGuideApi.i:551: Previous declaration of '~MgClobProperty'
 MapGuideApi.i:569: Warning(302): Identifier '~MgDateTimeProperty'
 redeclared (ignored).
 MapGuideApi.i:568: Previous declaration of '~MgDateTimeProperty'
 MapGuideApi.i:586: Warning(302): Identifier '~MgDoubleProperty' redeclared
 (ignored).
 MapGuideApi.i:585: Previous declaration of '~MgDoubleProperty'
 MapGuideApi.i:603: Warning(302): Identifier '~MgInt16Property' redeclared
 (ignored).
 MapGuideApi.i:602: Previous declaration of '~MgInt16Property'
 MapGuideApi.i:620: Warning(302): Identifier '~MgInt32Property' redeclared
 (ignored).
 MapGuideApi.i:619: Previous declaration of '~MgInt32Property'
 MapGuideApi.i:637: Warning(302): Identifier '~MgInt64Property' redeclared
 (ignored).
 MapGuideApi.i:636: Previous declaration of '~MgInt64Property'
 MapGuideApi.i:654: Warning(302): Identifier '~MgSingleProperty' redeclared
 (ignored).
 MapGuideApi.i:653: Previous declaration of '~MgSingleProperty'
 MapGuideApi.i:671: Warning(302): Identifier '~MgStringProperty' redeclared
 (ignored).
 MapGuideApi.i:670: Previous declaration of '~MgStringProperty'
 MapGuideApi.i:691: Warning(302): Identifier '~MgException' redeclared
 (ignored).
 MapGuideApi.i:686: Previous declaration of '~MgException'
 MapGuideApi.i:2367: Warning(302): Identifier '~MgSite' redeclared
 (ignored).
 MapGuideApi.i:2338: Previous declaration of '~MgSite'
 MapGuideApi.i:2407: Warning(302): Identifier '~MgSiteConnection'
 redeclared (ignored).
 MapGuideApi.i:2405: Previous declaration of '~MgSiteConnection'
 MapGuideApi.i:2433: Warning(302): Identifier '~MgResourceIdentifier'
 redeclared (ignored).
 MapGuideApi.i:2432: Previous declaration of '~MgResourceIdentifier'
 MapGuideApi.i:2505: Warning(302): Identifier '~MgCoordinate' redeclared
 (ignored).
 MapGuideApi.i:2502: Previous declaration of '~MgCoordinate'
 MapGuideApi.i:2627: Warning(302): Identifier '~MgCoordinateCollection'
 redeclared (ignored).
 MapGuideApi.i:2626: Previous declaration of '~MgCoordinateCollection'
 MapGuideApi.i:2756: Warning(302): Identifier '~MgGeometryCollection'
 redeclared (ignored).
 MapGuideApi.i:2755: Previous declaration of '~MgGeometryCollection'
 MapGuideApi.i:2842: Warning(302): Identifier '~MgCurveSegmentCollection'
 redeclared (ignored).
 MapGuideApi.i:2841: Previous declaration of '~MgCurveSegmentCollection'
 MapGuideApi.i:2942: Warning(302): Identifier '~MgCurveRingCollection'
 redeclared (ignored).
 MapGuideApi.i:2941: Previous declaration of '~MgCurveRingCollection'
 MapGuideApi.i:2985: Warning(302): Identifier '~MgLinearRingCollection'
 redeclared (ignored).
 MapGuideApi.i:2984: Previous declaration of '~MgLinearRingCollection'
 MapGuideApi.i:3095: Warning(302): Identifier '~MgCurveStringCollection'
 redeclared (ignored).
 MapGuideApi.i:3094: Previous declaration of '~MgCurveStringCollection'
 MapGuideApi.i:3119: Warning(302): Identifier '~MgLineStringCollection'
 redeclared (ignored).
 MapGuideApi.i:3118: Previous declaration of '~MgLineStringCollection'
 MapGuideApi.i:3143: Warning(302): Identifier '~MgPolygonCollection'
 redeclared (ignored).
 MapGuideApi.i:3142: Previous declaration of '~MgPolygonCollection'
 MapGuideApi.i:3167: Warning(302): Identifier '~MgCurvePolygonCollection'
 redeclared (ignored).
 MapGuideApi.i:3166: Previous declaration of '~MgCurvePolygonCollection'
 MapGuideApi.i:3191: Warning(302): Identifier '~MgPointCollection'
 redeclared (ignored).
 MapGuideApi.i:3190: Previous declaration of '~MgPointCollection'
 MapGuideApi.i:3541: Warning(302): Identifier '~MgMapBase' redeclared
 (ignored).
 MapGuideApi.i:3539: Previous declaration of '~MgMapBase'
 MapGuideApi.i:3722: Warning(302): Identifier '~MgReader' redeclared
 (ignored).
 MapGuideApi.i:3720: Previous declaration of '~MgReader'
 MapGuideApi.i:3799: Warning(302): Identifier '~MgSpatialContextReader'
 redeclared (ignored).
 MapGuideApi.i:3797: Previous declaration of '~MgSpatialContextReader'
 MapGuideApi.i:3843: Warning(302): Identifier '~MgFeatureSchemaCollection'
 redeclared (ignored).
 MapGuideApi.i:3841: Previous declaration of '~MgFeatureSchemaCollection'
 MapGuideApi.i:3868: Warning(302): Identifier
 '~MgClassDefinitionCollection' redeclared (ignored).
 MapGuideApi.i:3866: Previous declaration of '~MgClassDefinitionCollection'
 MapGuideApi.i:3892: Warning(302): Identifier '~MgLongTransactionReader'
 redeclared (ignored).
 MapGuideApi.i:3890: Previous declaration of '~MgLongTransactionReader'
 MapGuideApi.i:4008: Warning(302): Identifier '~MgClassDefinition'
 redeclared (ignored).
 MapGuideApi.i:4007: Previous declaration of '~MgClassDefinition'
 MapGuideApi.i:4025: Warning(302): Identifier '~MgRasterProperty'
 redeclared (ignored).
 MapGuideApi.i:4024: Previous declaration of '~MgRasterProperty'
 MapGuideApi.i:4042: Warning(302): Identifier '~MgGeometryProperty'
 redeclared (ignored).
 MapGuideApi.i:4041: Previous declaration of '~MgGeometryProperty'
 MapGuideApi.i:4059: Warning(302): Identifier '~MgFeatureProperty'
 redeclared (ignored).
 MapGuideApi.i:4058: Previous declaration of '~MgFeatureProperty'
 MapGuideApi.i:4237: Warning(302): Identifier '~MgFeatureCommandCollection'
 redeclared (ignored).
 MapGuideApi.i:4236: Previous declaration of '~MgFeatureCommandCollection'
 MapGuideApi.i:4255: Warning(302): Identifier '~MgInsertFeatures'
 redeclared (ignored).
 MapGuideApi.i:4254: Previous declaration of '~MgInsertFeatures'
 MapGuideApi.i:4273: Warning(302): Identifier '~MgUpdateFeatures'
 redeclared (ignored).
 MapGuideApi.i:4272: Previous declaration of '~MgUpdateFeatures'
 MapGuideApi.i:4290: Warning(302): Identifier '~MgDeleteFeatures'
 redeclared (ignored).
 MapGuideApi.i:4289: Previous declaration of '~MgDeleteFeatures'
 MapGuideApi.i:4422: Warning(302): Identifier '~MgMappingService'
 redeclared (ignored).
 MapGuideApi.i:4419: Previous declaration of '~MgMappingService'
 MapGuideApi.i:4542: Warning(302): Identifier '~MgFeatureInformation'
 redeclared (ignored).
 MapGuideApi.i:4540: Previous declaration of '~MgFeatureInformation'
 MapGuideApi.i:5224: Warning(302): Identifier '~MgWebLayout' redeclared
 (ignored).
 MapGuideApi.i:5222: Previous declaration of '~MgWebLayout'



 Still waiting to see if it successfully compiles.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/506#comment:17>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list