OQGRAPH engine build problem on Win64

Bug #756966 reported by Arjen Lentz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Won't Fix
Medium
Antony T Curtis
OQGRAPH
Confirmed
Medium
Antony T Curtis

Bug Description

Vlad reports:

The current state of OQGRAPH (on Windows) is that:

- it can be built on 32 bit. Use the instruction on how to build MariaDB on
Windows ( sent the link in one of me previous replies), additionally

a) Download boost distribution and unpack it on some directory on the build
machine (I'm unpacking it into C:\boost_1_46_1)

b) set environment variable BOOST_ROOT to the root directory of the boost
"installation" (on my machine it is C:\boost_1_46_1)

c) apply this patch

=== modified file 'storage/oqgraph/CMakeLists.txt'
--- storage/oqgraph/CMakeLists.txt 2010-09-15 15:29:57 +0000
+++ storage/oqgraph/CMakeLists.txt 2011-04-10 15:51:02 +0000
@@ -13,6 +13,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA

+FIND_PACKAGE(Boost)
+
+IF(Boost_FOUND)
+ INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
+ SET(CMAKE_REQUIRED_INCLUDES ${Boost_INCLUDE_DIRS})
+ENDIF()
+
INCLUDE (CheckCXXSourceCompiles)
CHECK_CXX_SOURCE_COMPILES(
"#include <boost/version.hpp>

- it cannot be built on 64 bit, due to "'boost::add_edge' : ambiguous call
to overloaded function" errors (on both places where add_edge is used)
The full error message is in the attachment. I cannot find trivial way to
fix it (if you look at the message, even understanding what it says seems
to require pretty good knowledge of boost graph templates and OQGRAPH
structures)

The above means I cannot just enable OQGRAPH with the a) b) c) steps above,
as this will break entire build on 64 bit Windows. You need to fix this
error, or alternatively be good with not having OQGRAPH on x64 (I can do
that by adding some code to the above patch to disable 64 bit OQGRAPH
builds).

Tags: oqgraph
Revision history for this message
Arjen Lentz (arjen-lentz) wrote :
Revision history for this message
Arjen Lentz (arjen-lentz) wrote :

For Antony to check the Win64 error, see if the issue can be worked around inside the OQGRAPH engine or whether an upstream path to the Boost Graph Library is required.

Changed in maria:
assignee: nobody → Antony T Curtis (atcurtis)
importance: Undecided → Medium
status: New → Confirmed
Changed in oqgraph:
assignee: nobody → Antony T Curtis (atcurtis)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Kristian Nielsen (knielsen) wrote :

It's been almost 1 year with no activity from upstream. There seems little point in keeping this open for mariadb - there are no plans from mariadb project to take over maintenance of OQGraph. We will do without oqgraph on windows for now if needed.

Changed in maria:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.