|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
MySQL FDO and Fedora 4I 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 |
|
|
RE: MySQL FDO and Fedora 4I haven't tried this on Linux yet. However, I do know that MapGuide 1.0.2 will not work with FDO 3.2.
As long as you're building FDO from SVN, you might as well pull MapGuide from trunk as well :) Jason ________________________________ From: Andy Morsell Sent: Wed 2006-11-08 6:10 PM To: users@... 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
|
|
|
RE: MySQL FDO and Fedora 4Thanks Tom. That is very helpful to have the steps in
one place like that. Thanks for taking the time to put that
together.
Andy From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Thursday, November 09, 2006 9:24 AM To: users@... 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. 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@...] Sent: Wednesday, November 08, 2006 7:11 PM To: users@... 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 |
|
|
RE: MySQL FDO and Fedora 4Hi 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@... 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@localhost mapguide]# Andy From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Thursday, November 09, 2006 9:24 AM To: users@... 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. 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@...] Sent: Wednesday, November 08, 2006 7:11 PM To: users@... 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 |
|
|
RE: MySQL FDO and Fedora 4Hi 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
pushd Oem/CppUnit-1.9.14 rm aclocal.m4 popd ./build_oem.sh
|
|
|
RE: MySQL FDO and Fedora 4... the rest of the steps worked without errors for me.
-----Original Message----- From: Tom Fukushima Sent: Fri 2006/11/10 9:07 To: users@...; users@... Cc: 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@...] Sent: Fri 2006/11/10 0:26 To: users@... 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@localhost <mailto:root@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@localhost mapguide]# Andy _____ From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Thursday, November 09, 2006 9:24 AM To: users@... 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@...] Sent: Wednesday, November 08, 2006 7:11 PM To: users@... 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: MySQL FDO and Fedora 4Hi Tom,
That did get me past the ACE error. Thank you. Now I'm getting a DWFTK 7.1 error. Here are some of the resultant lines: make[3]: *** [BOpcodeHandler.lo] Error 1 make[3]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf/w3dtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf/w3dtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf' make: *** [all] Error 2 DWFTK 7.1: Error build failed (0)................. [root@localhost mapguide]# Thanks. Andy _____ From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Friday, November 10, 2006 9:35 AM To: users@... Subject: RE: [mapguide-users] MySQL FDO and Fedora 4 ... the rest of the steps worked without errors for me. -----Original Message----- From: Tom Fukushima Sent: Fri 2006/11/10 9:07 To: users@...; users@... Cc: 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@...] Sent: Fri 2006/11/10 0:26 To: users@... 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. <mailto:root@localhost> [root@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@localhost mapguide]# Andy _____ From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Thursday, November 09, 2006 9:24 AM To: users@... 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@...] Sent: Wednesday, November 08, 2006 7:11 PM To: users@... 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: MySQL FDO and Fedora 4It looks like that error was related to libjpeg. Even though it appeared
that I had them, I ran yum to update them and the build is now proceeding past that point. Andy _____ From: Andy Morsell [mailto:amorsell@...] Sent: Friday, November 10, 2006 12:12 PM To: users@... Subject: RE: [mapguide-users] MySQL FDO and Fedora 4 Hi Tom, That did get me past the ACE error. Thank you. Now I'm getting a DWFTK 7.1 error. Here are some of the resultant lines: make[3]: *** [BOpcodeHandler.lo] Error 1 make[3]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf/w3dtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf/w3dtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/mgos/mapguide/Oem/DWFTK7.1/develop/global/src/dwf' make: *** [all] Error 2 DWFTK 7.1: Error build failed (0)................. [root@localhost mapguide]# Thanks. Andy _____ From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Friday, November 10, 2006 9:35 AM To: users@... Subject: RE: [mapguide-users] MySQL FDO and Fedora 4 ... the rest of the steps worked without errors for me. -----Original Message----- From: Tom Fukushima Sent: Fri 2006/11/10 9:07 To: users@...; users@... Cc: 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@...] Sent: Fri 2006/11/10 0:26 To: users@... 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. <mailto:root@localhost> [root@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@localhost mapguide]# Andy _____ From: Tom Fukushima [mailto:tom.fukushima@...] Sent: Thursday, November 09, 2006 9:24 AM To: users@... 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@...] Sent: Wednesday, November 08, 2006 7:11 PM To: users@... 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: MySQL FDO and Fedora 4Wow, this is a time consuming process. I finally got
everything to make and install seemingly fine. I can access the mapagent
test page and all seems well. However, whenever trying to author SDF based
layers or accessing existing ones, I get an FDO error:
An exception occurred in FDO component.
CLNT_8_UNABLE_TO_LOAD_LIBRARY
Exception occurred in method MgFdoConnectionManager.Open at
line 201 in file FdoConnectionManager.cpp
I went back and reran the ./configure stage with the
--with-fdo-include and --with-fdo-lib configuration options pointing to the
/usr/local/fdo-3.2.0/ directories. That didn't help.
If I do a mapagent GetFeatureProviders, I
get:
<?xml
version="1.0" encoding="UTF-8" standalone="no" ?>
<Name>OSGeo.SHP.3.2</Name>
<DisplayName>OSGeo FDO Provider for
SHP</DisplayName>
<Description>Read/write access to spatial and
attribute data in an ESRI SHP file.</Description>
<Version>3.2.0.0</Version>
<FeatureDataObjectsVersion>3.2.0.0</FeatureDataObjectsVersion>
<ConnectionProperties /> </FeatureProvider> <Name>OSGeo.SDF.3.2</Name>
<DisplayName>OSGeo FDO Provider for
SDF</DisplayName>
<Description>Read/write access to Autodesk spatial
database format, a file-based personal geodatabase that supports multiple
features/attributes, spatial indexing, and file-locking.</Description>
<Version>3.2.0.0</Version>
<FeatureDataObjectsVersion>3.2.0.0</FeatureDataObjectsVersion>
|