[mapguide-users] MySQL FDO and Fedora 4

Walt Welton-Lair walt.welton-lair at autodesk.com
Thu Nov 16 17:21:32 EST 2006


I know it's been a few days now, but it just occurred to me that the
real cause of the Svc_Conf_l.cpp error might be that you don't have the
"use-commit-times" option enabled in SVN.  See
https://mapguide.osgeo.org/subversionconfig.html.  This needs to be set
before you do the checkout, so that the file timestamps get set
correctly.
 
Walt

  _____  

	From: Tom Fukushima 
	Sent: Friday, November 10, 2006 5:07 PM
	To: users at mapguide.osgeo.org; users at mapguide.osgeo.org
	Subject: RE: [mapguide-users] MySQL FDO and Fedora 4
	
	
	Hi Andy,
	 
	This is an error in the build script.  I have updated the wiki
page with instructions on how to get around the error.  Also, when I
tried the build_oem.sh command again today, I found that cppunit was not
building anymore; I've also added instructions to fix that.
	 
	I'm compiling the latest source now.
	 
	Hopefully that's it
	Tom
	 
	Here is what I added to the wiki page to address this:

	There is a error that will occur the first time this is run. You
will need to fix the Svc_Conf_l.cpp file using the following commands: 

	pushd Oem/ACE/ACE_wrappers/ace 

	rm Svc_Conf_l.cpp 

	svn update 

	popd 

	./build_oem.sh 

	
	Also if you get an error building CppUnit. Try the following: 

	pushd Oem/CppUnit-1.9.14 

	rm aclocal.m4 

	popd 

	./build_oem.sh 

	 

		-----Original Message----- 
		From: Andy Morsell [mailto:amorsell at spatialgis.com] 
		Sent: Fri 2006/11/10 0:26 
		To: users at mapguide.osgeo.org 
		Cc: 
		Subject: RE: [mapguide-users] MySQL FDO and Fedora 4
		
		
		Hi Tom,
		I ran through the process today and tonight and ran into
a problem when running the mapguide build_oem.sh script.  I get the
below errors related to ACE.  I did go through the process of installing
GCC 4.0.2 and that is what both GCC --version and G++ --version shows.
Any ideas would be appreciated at this point.  Thank you.
		 
		 
		[root at localhost <mailto:root at localhost>  mapguide]#
./build_oem.sh MapGuide Open Source build script for OEM components OEM
Build Initialization ............................ Oem Libraries will be
installed at: /usr/local/mapguideopensource /src/mgos/mapguide/Oem
/src/mgos/mapguide ace: Initialization...........................
		ace: Configure /Build...........................
		/src/mgos/mapguide/Oem/ACE/ACE_wrappers
/src/mgos/mapguide/Oem /src/mgos/mapguide
		/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace
/src/mgos/mapguide/Oem/ACE/ACE_wrappers /src/mgos/mapguide/Oem
/src/mgos/mapguide
		make[1]: Entering directory
`/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace'
		 Makefile:
/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace/Makefile.ace
		 g++ -W -Wall -Wpointer-arith -pipe -O3 -g
-fno-implicit-templates   -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE
-DACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
-I/src/mgos/mapguide/Oem/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS
-D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL  -c -fPIC -o
.shobj/Svc_Conf_l.o Svc_Conf_l.cpp
		Svc_Conf_l.cpp:45:1: error: unterminated #if
Svc_Conf_l.cpp:207: warning: 'ace_yy_current_buffer' defined but not
used
		Svc_Conf_l.cpp:217: warning: 'ace_yy_hold_char' defined
but not used
		Svc_Conf_l.cpp:219: warning: 'ace_yy_n_chars' defined
but not used
		Svc_Conf_l.cpp:225: warning: 'ace_yy_c_buf_p' defined
but not used
		Svc_Conf_l.cpp:226: warning: 'ace_yy_init' defined but
not used
		Svc_Conf_l.cpp:227: warning: 'ace_yy_start' defined but
not used
		Svc_Conf_l.cpp:232: warning:
'ace_yy_did_buffer_switch_on_eof' defined but not used
		Svc_Conf_l.cpp:248: warning: 'void*
ace_yy_flex_alloc(ace_yy_size_t)' declared 'static' but never defined
		Svc_Conf_l.cpp:249: warning: 'void*
ace_yy_flex_realloc(void*, ace_yy_size_t)' declared 'static' but never
defined
		Svc_Conf_l.cpp:250: warning: 'void
ace_yy_flex_free(void*)' declared 'static' but never definedmake[1]: ***
[.shobj/Svc_Conf_l.o] Error 1
		make[1]: Leaving directory
`/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace'
		make: *** [all] Error 2
		ACE 5.4: Error build failed (0).................
		[root at localhost mapguide]#
		 
		 

		Andy 
  _____  

		From: Tom Fukushima [mailto:tom.fukushima at autodesk.com] 
		Sent: Thursday, November 09, 2006 9:24 AM
		To: users at mapguide.osgeo.org
		Subject: RE: [mapguide-users] MySQL FDO and Fedora 4
		
		

		

		Hi Andy,
		 
		
		There is no source provided for the 3.1 MySQL provider.
It is part of the 3.2 source (as you have noticed). If you want to build
from the latest source, I put some step by step instructions for
building the latest MapGuide source on Fedora Core 4 at
http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_4
<http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_4> . I
went through this process about a month ago, so I think the steps should
be good, but I probably missed something. Of course, feel free to
correct, update, reformat, etc. any information on that page.
		 
		Tom

  _____  

		From: Andy Morsell [mailto:amorsell at spatialgis.com] 
		Sent: Wednesday, November 08, 2006 7:11 PM
		To: users at mapguide.osgeo.org
		Subject: [mapguide-users] MySQL FDO and Fedora 4
		
		

		I am trying to get all things MapGuide Open up and
running on a Linux Fedora 4 install.  One of the requirements is to use
MySQL.  When doing the install, I am a little baffled about the FDO
build requirements so I'm hoping somebody can shed some light.  The
MapGuide Open Source "Building and Configuring on Linux" document says
that FDO 3.0 must be built on the server before building MapGuide Server
and the Web Extensions.

		So, this leads me to the FDO project where the current
Linux FDO tarball only contains the SDF and SHP providers.  The version
of FDO is 3.1.  Since I need the MySQL provider, I find that I need to
checkout the source from SVN, but SVN appears to only contain FDO 3.2
version source files.  Also, the FDO build PDF file indicates that there
should be tar files for the other providers, but the referenced URL only
has the above mentioned 3.1 and 3.0 tars.

		Should I build FDO from version 3.2 or not?  Doesn't
MGOS 1.0.2 use FDO 3.1 or is that just what comes in the bundled Windows
install? Will FDO 3.2 work fine with MGOS if it's manually built?

		Any other hints on the steps to take would be greatly
appreciated. 

		Thanks very much. 

		Andy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061116/24ea6915/attachment.html


More information about the Mapguide-users mailing list