Building Naiade under (Gentoo) Linux: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
* MySQL 5 and the ODBC driver for MySQL (<tt>emerge mysql myodbc</tt>)
* MySQL 5 and the ODBC driver for MySQL (<tt>emerge mysql myodbc</tt>)
* Boost 1.33.1 or later (<tt>emerge boost</tt>)
* Boost 1.33.1 or later (<tt>emerge boost</tt>)
== Building the GOLD parsing engine ==
* Download the library from [http://sourceforge.net/projects/cpp-gpengine/ 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 <tt>qmake Naiade.pro</tt>.
* Run <tt>make</tt>.

Revision as of 12:28, 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.