Difference between revisions of "TotalRecall Build Guide"

From Computational Memory Lab
Jump to: navigation, search
Line 16: Line 16:
  
 
= Building [[TotalRecall]] from source =
 
= Building [[TotalRecall]] from source =
To build TotalRecall on any platform you need:
+
== Ubuntu ==
 
* Install JDK 6
 
* Install JDK 6
 
<code><nowiki>sudo apt-get install sun-java6-jdk</nowiki></code>
 
<code><nowiki>sudo apt-get install sun-java6-jdk</nowiki></code>

Revision as of 00:18, 10 April 2010


<<html(

Penn TotalRecall Build Guide

)>>

Open-source software is a collaborative effort. Please inform us if anything on this page is incorrect or out of date.

The main development guide is located here.

<<TableOfContents(3)>>

Nightly builds

Nightly builds are performed around 5am and transferred to memory. sagan does the Mac and source distributions, rhino does the Linux distribution. We don't have an always-on Windows machines so the Windows builds are not regular.

Building TotalRecall from source

Ubuntu

  • Install JDK 6

sudo apt-get install sun-java6-jdk

  • Install Apache Ant

sudo apt-get install ant

  • If on a 64 bit machine install 32-bit development headers

sudo apt-get install libc6-dev-i386

  • Download the project from the program homepage or get it straight out of the repository
  • Change directory into the project root then compile + install the native libraries

ant install_native

  • Compile the java portion into a jar

ant package_jar

  • Run the program

java -jar dist/PennTotalRecall.jar

Overview of the project hierarchy

Overview of the build chain