<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>MySQL FDO and Fedora 4</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=877281422-16112006>I know it's been a few days now, but it
just oc</SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=877281422-16112006>curred 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 <SPAN class=681390122-16112006><FONT face=Arial color=#0000ff
size=2><A
href="https://mapguide.osgeo.org/subversionconfig.html">https://mapguide.osgeo.org/subversionconfig.html</A>. This
needs to be set before you do the checkout, so that the file timestamps get set
correctly.</FONT></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=877281422-16112006><SPAN
class=681390122-16112006></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=877281422-16112006><SPAN
class=681390122-16112006>Walt</SPAN></SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tom Fukushima <BR><B>Sent:</B> Friday,
November 10, 2006 5:07 PM<BR><B>To:</B> users@mapguide.osgeo.org;
users@mapguide.osgeo.org<BR><B>Subject:</B> RE: [mapguide-users] MySQL FDO and
Fedora 4<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Andy,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>I'm compiling the latest source now.</DIV>
<DIV> </DIV>
<DIV>Hopefully that's it</DIV>
<DIV>Tom</DIV>
<DIV> </DIV>
<DIV>Here is what I added to the wiki page to address this:</DIV>
<DIV>
<P><I>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:</I> </P>
<P><I>pushd Oem/ACE/ACE_wrappers/ace</I> </P>
<P><I>rm Svc_Conf_l.cpp</I> </P>
<P><I>svn update</I> </P>
<P><I>popd</I> </P>
<P><I>./build_oem.sh</I> </P>
<P><BR><I>Also if you get an error building CppUnit. Try the following:</I>
</P>
<P><I>pushd Oem/CppUnit-1.9.14</I> </P>
<P><I>rm aclocal.m4</I> </P>
<P><I>popd</I> </P>
<P><I>./build_oem.sh</I> </P></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Andy Morsell
[mailto:amorsell@spatialgis.com] <BR><B>Sent:</B> Fri 2006/11/10 0:26
<BR><B>To:</B> users@mapguide.osgeo.org <BR><B>Cc:</B> <BR><B>Subject:</B>
RE: [mapguide-users] MySQL FDO and Fedora 4<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=724141707-10112006><FONT face=Arial
color=#0000ff size=2>Hi Tom,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=724141707-10112006><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=724141707-10112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><A href="mailto:root@localhost"><FONT
face=Arial><FONT size=2><SPAN
class=724141707-10112006>[</SPAN>root@localhost</FONT></FONT></A><FONT
face=Arial color=#0000ff size=2> 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...........................<BR>ace: Configure
/Build...........................<BR>/src/mgos/mapguide/Oem/ACE/ACE_wrappers
/src/mgos/mapguide/Oem
/src/mgos/mapguide<BR>/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace
/src/mgos/mapguide/Oem/ACE/ACE_wrappers /src/mgos/mapguide/Oem
/src/mgos/mapguide<BR>make[1]: Entering directory
`/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace'<BR> Makefile:
/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace/Makefile.ace<BR> 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<BR>Svc_Conf_l.cpp:45:1: error:
unterminated #if Svc_Conf_l.cpp:207: warning: ‘ace_yy_current_buffer’
defined but not used<BR>Svc_Conf_l.cpp:217: warning: ‘ace_yy_hold_char’
defined but not used<BR>Svc_Conf_l.cpp:219: warning: ‘ace_yy_n_chars’
defined but not used<BR>Svc_Conf_l.cpp:225: warning: ‘ace_yy_c_buf_p’
defined but not used<BR>Svc_Conf_l.cpp:226: warning: ‘ace_yy_init’ defined
but not used<BR>Svc_Conf_l.cpp:227: warning: ‘ace_yy_start’ defined but not
used<BR>Svc_Conf_l.cpp:232: warning: ‘ace_yy_did_buffer_switch_on_eof’
defined but not used<BR>Svc_Conf_l.cpp:248: warning: ‘void*
ace_yy_flex_alloc(ace_yy_size_t)’ declared ‘static’ but never
defined<BR>Svc_Conf_l.cpp:249: warning: ‘void* ace_yy_flex_realloc(void*,
ace_yy_size_t)’ declared ‘static’ but never defined<BR>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<BR>make[1]: Leaving
directory `/src/mgos/mapguide/Oem/ACE/ACE_wrappers/ace'<BR>make: *** [all]
Error 2<BR>ACE 5.4: Error build failed
(0).................<BR>[root@localhost mapguide]#</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<P><SPAN lang=en-us><FONT face=Tahoma size=1>Andy </FONT></SPAN>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tom Fukushima
[mailto:tom.fukushima@autodesk.com] <BR><B>Sent:</B> Thursday, November 09,
2006 9:24 AM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> RE:
[mapguide-users] MySQL FDO and Fedora 4<BR></FONT><BR>
<P></P>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=458191117-09112006><FONT face=Arial
color=#0000ff size=2>Hi Andy,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=458191117-09112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=458191117-09112006>
<DIV dir=ltr align=left><FONT face=Arial><SPAN
class=458191117-09112006><FONT color=#0000ff size=2>There is no source
provided for the 3.1 MySQL provider. It is part of the 3.2 source (as
you have noticed). </FONT></SPAN><FONT color=#0000ff><FONT size=2><SPAN
class=458191117-09112006>If you want to build from the latest source,
</SPAN>I put some step by step instructions for building the latest MapGuide
source on Fedora Core 4 at </FONT></FONT></FONT><A
href="http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_4"><FONT
face=Arial
size=2>http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_4</FONT></A><FONT
face=Arial><FONT color=#0000ff><FONT size=2>.<SPAN class=458191117-09112006>
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.</SPAN></FONT></FONT></FONT></SPAN></DIV></DIV>
<DIV dir=ltr align=left><SPAN class=458191117-09112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=458191117-09112006><FONT face=Arial
color=#0000ff size=2>Tom</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Andy Morsell
[mailto:amorsell@spatialgis.com] <BR><B>Sent:</B> Wednesday, November 08,
2006 7:11 PM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B>
[mapguide-users] MySQL FDO and Fedora 4<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>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?</FONT></P>
<P><FONT face=Arial size=2>Any other hints on the steps to take would be
greatly appreciated.</FONT> </P>
<P><FONT face=Arial size=2>Thanks very much.</FONT> </P>
<P><FONT face=Tahoma size=1>Andy
</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>