<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="756966">
  <date_last_updated>2012-03-02 13:20:42.902792+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/756966</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~arjen-lentz</bug_owner_link>
    <milestone_link></milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/756966/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/756966/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/756966</bug_web_link>
  <owner>Arjen Lentz</owner>
  <assignee>Antony T Curtis</assignee>
  <milestone_title></milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>OQGRAPH engine build problem on Win64</title>
  <status>Won't Fix</status>
  <importance>Medium</importance>
  <created>2011-04-10 23:43:49.145822+00:00</created>
  <description>
<![CDATA[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).]]>  </description>
  <activities>
    <activity datechanged="2011-04-10T23:43:49.145822+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Arjen Lentz</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2011-04-10T23:43:49.145822+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[error.txt https://bugs.launchpad.net/bugs/756966/+attachment/2013086/+files/error.txt]]>      </newvalue>
      <whatchanged>attachment added</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:46:17.260084+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[Medium]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:46:17.260084+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Confirmed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:46:17.260084+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Antony T Curtis (atcurtis)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:47:52.793927+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Arjen Lentz</person>
      <message>added subscriber Vladislav Vaintroub</message>
    </activity>
    <activity datechanged="2011-04-10T23:48:56.194520+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[oqgraph]]>      </newvalue>
      <whatchanged>bug task added</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:49:39.001266+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[Medium]]>      </newvalue>
      <whatchanged>oqgraph: importance</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:49:39.001266+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Confirmed]]>      </newvalue>
      <whatchanged>oqgraph: status</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-04-10T23:49:39.001266+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Antony T Curtis (atcurtis)]]>      </newvalue>
      <whatchanged>oqgraph: assignee</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2011-05-27T18:42:33.434137+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Brian Evans</person>
      <message>added subscriber Brian Evans</message>
    </activity>
    <activity datechanged="2011-09-21T18:48:50.932171+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Sergei</person>
      <message>added subscriber Sergei</message>
    </activity>
    <activity datechanged="2012-03-02T13:20:41.226627+00:00">
      <oldvalue>
<![CDATA[Confirmed]]>      </oldvalue>
      <newvalue>
<![CDATA[Won't Fix]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Kristian Nielsen</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/756966/comments/1" datecreated="2011-04-10T23:43:49.145822+00:00">
      <person>Arjen Lentz</person>
      <subject>
<![CDATA[Re: OQGRAPH engine build problem on Win64]]>      </subject>
      <content>
<![CDATA[]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/756966/comments/2" datecreated="2011-04-10T23:46:17.260084+00:00">
      <person>Arjen Lentz</person>
      <subject>
<![CDATA[Re: OQGRAPH engine build problem on Win64]]>      </subject>
      <content>
<![CDATA[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.]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/756966/comments/3" datecreated="2012-03-02T13:20:41.226627+00:00">
      <person>Kristian Nielsen</person>
      <subject>
<![CDATA[Re: OQGRAPH engine build problem on Win64]]>      </subject>
      <content>
<![CDATA[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.]]>      </content>
    </comment>
  </comments>
  <messages>
    <message created="2011-04-10 23:43:49.145822+00:00" owner="Arjen Lentz">
<![CDATA[]]>      <attachment link="https://bugs.launchpad.net/bugs/756966/+attachment/2013086" type="Unspecified">
        <title>error.txt</title>
        <file>LPexportBug756966_error.txt</file>
      </attachment>
    </message>
  </messages>
</launchpad-bug>
