Difference between revisions of "TotalRecall Build Guide"
From Computational Memory Lab
Line 20: | Line 20: | ||
* 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> | ||
+ | |||
* Install Apache Ant | * Install Apache Ant | ||
<code><nowiki>sudo apt-get install ant</nowiki></code> | <code><nowiki>sudo apt-get install ant</nowiki></code> | ||
+ | |||
* If on a 64 bit machine install 32-bit development headers | * If on a 64 bit machine install 32-bit development headers | ||
<code><nowiki>sudo apt-get install libc6-dev-i386</nowiki></code> | <code><nowiki>sudo apt-get install libc6-dev-i386</nowiki></code> | ||
+ | |||
* Download the source from the program homepage or get it straight out of the repository | * Download the source from the program homepage or get it straight out of the repository | ||
− | * Change directory into the | + | * Change directory into the project root then compile + install the native libraries |
<code><nowiki>ant install_native</nowiki></code> | <code><nowiki>ant install_native</nowiki></code> | ||
+ | |||
* Compile the java portion into a jar | * Compile the java portion into a jar | ||
<code><nowiki>ant package_jar</nowiki></code> | <code><nowiki>ant package_jar</nowiki></code> | ||
+ | |||
* Run the program | * Run the program | ||
<code><nowiki>java -jar dist/PennTotalRecall.jar</nowiki></code> | <code><nowiki>java -jar dist/PennTotalRecall.jar</nowiki></code> |
Revision as of 00:15, 10 April 2010
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
Linux
To build TotalRecall on any platform you need:
- 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 source 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