Building Naiade under (Gentoo) Linux: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:


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

Revision as of 17:06, 29 January 2007

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.