[mapguide-users] Error with GDAL1.4 building Mapguide

Ray Holtz ray at rayholtz.com
Tue Jul 24 23:15:19 EDT 2007


Hey all, Everytime I make a bit of headway, I just get stuck again.  I 
am following the directions on 
http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_6 to 
build Mapguide on FC6.  I have finished the mapguideaptinstaller, gotten 
past the FDO install, now I am running ./build_oem.sh for mapguide.  I 
completed the first and second error-fixes, and how am getting stuck 
again.  These are the last 30ish lines that I get.  Can anyone look at 
this and point me in the right direction to get past this error?

Thanks a lot!!  I appreciate all the help everyone has already given me!


gdal_wrap.c:11055: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11094: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11134: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11154: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11178: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11199: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11230: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11269: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11290: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11314: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11334: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11346: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11361: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11376: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11400: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11420: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11432: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11447: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11459: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11473: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11495: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11516: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11538: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11559: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11581: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11602: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11624: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c:11644: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '_gdalMethods'
gdal_wrap.c:12056: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
gdal_wrap.c: In function 'init_gdal':
gdal_wrap.c:12061: error: 'PyObject' undeclared (first use in this function)
gdal_wrap.c:12061: error: 'm' undeclared (first use in this function)
gdal_wrap.c:12061: error: 'd' undeclared (first use in this function)
gdal_wrap.c:12061: warning: left-hand operand of comma expression has no 
effect
gdal_wrap.c:12062: error: 'SWIG_globals' undeclared (first use in this 
function)
gdal_wrap.c:12062: warning: implicit declaration of function 
'SWIG_newvarlink'
gdal_wrap.c:12063: warning: implicit declaration of function 'Py_InitModule'
gdal_wrap.c:12063: error: '_gdalMethods' undeclared (first use in this 
function)
gdal_wrap.c:12064: warning: implicit declaration of function 
'PyModule_GetDict'
make[1]: *** [gdal_wrap.o] Error 1
make[1]: Leaving directory 
`/usr/local/maptemp/mapguide/Oem/gdal-1.4.0/pymod'
make: *** [py-module] Error 2
GDAL 1.4.0: Error build failed (0).................
[root at WebServer mapguide]#



More information about the mapguide-users mailing list