[mapguide-users] MySQL FDO and Fedora 4

Andy Morsell amorsell at spatialgis.com
Fri Nov 10 02:26:18 EST 2006


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.
 
 
 <mailto:root at localhost> [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/20061109/40d306b1/attachment.html


More information about the Mapguide-users mailing list