Building Naiade under (Gentoo) Linux

From Elvanör's Technical Wiki
Jump to navigation Jump to search

Prerequisites

  • gcc 3.4 or later (gcc 4.1 or later strongly recommended)
  • qt 4.1 or later, built with debugging enabled (under Gentoo you can do that by adding the debug USE flag to the qt ebuild)
  • unixODBC (under Gentoo, emerge unixODBC or simply add the global odbc USE flag)
  • MySQL 5 and the ODBC driver for MySQL (emerge mysql myodbc)
  • Boost 1.33.1 or later (emerge boost)

Building the GOLD parsing engine

  • Download the library from Sourceforge.
  • Compile it, and move the resulting library to the lib/ directory of the Naiade package. Rename the library, adding the lib prefix to it (else the linker won't find it).

Building Naiade

  • Go to the top directory of the Naiade package; run qmake Naiade.pro.
  • Run make. Ignore any warnings, they should go away eventually in future releases of Boost/Qt/Naiade.