Difference between revisions of "TotalRecall Build Guide"
Line 16: | Line 16: | ||
= Building [[TotalRecall]] from source = | = Building [[TotalRecall]] from source = | ||
+ | == Overview == | ||
+ | Compiling TotalRecall for use on your own computer is designed to be very easy. The following instructions have been tested on recent versions of the operating systems described. To see which ''exact'' compilers and buildtool versions we used, see the build.xml file in the project. | ||
+ | |||
== Ubuntu == | == Ubuntu == | ||
* Install JDK 6 | * Install JDK 6 | ||
Line 26: | Line 29: | ||
<code><nowiki>sudo apt-get install libc6-dev-i386</nowiki></code> | <code><nowiki>sudo apt-get install libc6-dev-i386</nowiki></code> | ||
+ | * Download the project from the [[memory.psych.upenn.edu/TotalRecall|program homepage]] or get it straight out of the repository | ||
+ | * Change directory into the project root then compile + install the native libraries | ||
+ | <code><nowiki>ant install_native</nowiki></code> | ||
+ | |||
+ | * Compile the java portion into a jar | ||
+ | <code><nowiki>ant package_jar</nowiki></code> | ||
+ | |||
+ | * Run the program | ||
+ | <code><nowiki>java -jar dist/PennTotalRecall.jar</nowiki></code> | ||
+ | |||
+ | == Mac OS X == | ||
+ | * Install XCode developer tools. These come on your OSX installation disc. You can also download them [http://developer.apple.com/technologies/xcode.html from Apple] after registering. | ||
* Download the project from the [[memory.psych.upenn.edu/TotalRecall|program homepage]] or get it straight out of the repository | * Download the project from the [[memory.psych.upenn.edu/TotalRecall|program homepage]] or get it straight out of the repository | ||
* Change directory into the project root then compile + install the native libraries | * Change directory into the project root then compile + install the native libraries |
Revision as of 00:22, 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
Overview
Compiling TotalRecall for use on your own computer is designed to be very easy. The following instructions have been tested on recent versions of the operating systems described. To see which exact compilers and buildtool versions we used, see the build.xml file in the project.
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
Mac OS X
- Install XCode developer tools. These come on your OSX installation disc. You can also download them from Apple after registering.
- 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