[mapguide-users] more linux compile errors than you can shake a stick at

Traian Stanev traian.stanev at autodesk.com
Mon Jul 17 09:39:19 EDT 2006


Hi Mark.
 
Try removing the whole line of code. 
 
Traian

  _____  

From: mark j [mailto:jansenbulk at gmail.com] 
Sent: Friday, July 14, 2006 11:36 PM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] more linux compile errors than you can
shake a stick at


Hello Traian and list,

It has solved the libtool errors, but there are errors in the compile
nonetheless. Below is how far I  get until the it is unclear on how I
should modify ChannelBand.h. When I modify these files, it produces a
binary that immediately segfaults. 


building OEM with build_oem.sh produces one error:


Source/Modules/java.cxx:3582: error: extra qualification 'JAVA::' on
member 'abstractClassTest'


building mapguide 


fitdataset.cpp:177: error: extra qualification 'FITRasterBand::' on
member 'FITRasterBand'

ChannelBand.h:77: error: explicit instantiation of 'class
std::auto_ptr<MdfModel::ChannelBand>' in namespace 'MdfModel' (which
does not enclose namespace 'std'r) 


I will continue with the build if anyone has a suggestion on how to
solve the ChannelBand header namespace error. Removing std:: only
produces another error:

ChannelBand.h:77: error: 'auto_ptr' is not a template 
ChannelBand.h:77: error: explicit instantiation of non-template type
'MdfModel::auto_ptr'

Kind Regards,

Mark



On 7/13/06, Traian Stanev < traian.stanev at autodesk.com > wrote: 

	 
	Hi Mark,
	 
	The libtool errors may be due to mismatched versions of your
local automake version and the version in the MapGuide subversion. Did
you try recreating libtool by running libtoolize, aclocal and
automake/autoconf?
	 
	Traian
	 

  _____  

	From: mark j [mailto: jansenbulk at gmail.com
<mailto:jansenbulk at gmail.com> ] 
	Sent: Wednesday, July 12, 2006 11:16 PM
	To: users
	Subject: [mapguide-users] more linux compile errors than you can
shake a stick at
	
	
	
	Hello,
	
	I checked out revision 715 today and continued to try to
complete the build on SuSE linux with gcc 4.1
	
	The build is still problematic in a number of areas, below is a
list of some examples of the errors one encounters when compiling on
linux. I assume that most of you are developing your apps on the Windows
platform? 
	
	- ACE libraries in the OEM do not compile without editing some
of the source.
	
	- There are a number of tags that libtool doesn't support:
	
	
	libtool: unrecognized option `--tag=CXX' 
	

	- The MdfModel compile in the common directory produces a number
of errors like this one:
	
	
	GridSurfaceStyle.h:77: error: explicit instantiation of 'class
std::auto_ptr<MdfModel::GridSurfaceStyle>' in namespace 'MdfModel'
(which does not enclose namespace 'std') 
	
	
	- A number of extra qualifications persist, for example:
	
	
	./Services/PrintLayout.h:216: error: extra qualification
'MgPrintLayout::' on member 'LegendWidth'
	./Services/PrintLayout.h:217: error: extra qualification
'MgPrintLayout::' on member 'LegendPadding' 
	./Services/PrintLayout.h:218: error: extra qualification
'MgPrintLayout::' on member 'HeaderHeight'
	./Services/PrintLayout.h:219: error: extra qualification
'MgPrintLayout::' on member 'ScalebarHeight'
	./Services/PrintLayout.h:220: error: extra qualification
'MgPrintLayout::' on member 'ScalebarPadding' 
	./Services/PrintLayout.h:221: error: extra qualification
'MgPrintLayout::' on member 'FooterHeight'
	./Services/PrintLayout.h:222: error: extra qualification
'MgPrintLayout::' on member 'GroupIndent'
	
	
	(and in MgDev/Oem/geos-2.2.0/source/headers/geos/geos.h, as well
as a dozen other header files)
	
	
	- The library libgeos.a is not compiled with the build_oem.sh
script, so you have to enter that dir to compile, and then continue with
the main mapguide make 
	
	- libtool: unrecognized option `---mode=link'
	 in Makefile
/home/mark/DEV_FORK/mapguide/MgDev/Web/src/JavaApi/Makefile
	
	
	This is by no means a complete list but hopefully provides an
indication of the current state of the Makefiles in the revisions... 
	
	Mark
	
	
	
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060717/17c4d75d/attachment.html


More information about the Mapguide_users mailing list