From Genome Analysis Wiki
Jump to navigationJump to search
44 bytes removed
, 12:46, 23 August 2011
Line 4: |
Line 4: |
| | | |
| = Download = | | = Download = |
− | [[StatGen Download | StatGen Download Instructions]] | + | [[libStatGen Download | libStatGen Download Instructions]] |
| | | |
| | | |
Line 12: |
Line 12: |
| ** development version of zlib (zlib1g-dev on ubuntu) | | ** development version of zlib (zlib1g-dev on ubuntu) |
| ** openssl and md5 (libssl-dev on ubuntu) | | ** openssl and md5 (libssl-dev on ubuntu) |
− | ** curses (libcurses-perl on ubuntu)
| |
| * Compiles on Linux/Unix | | * Compiles on Linux/Unix |
| | | |
| | | |
| = Compile/Build = | | = Compile/Build = |
− | # From the base statgen directory, build the repository: | + | # From the base libStatGen directory, build the repository: |
| #* For normal (optimized) mode, type: | | #* For normal (optimized) mode, type: |
− | #** <code>make</code> | + | #** <code>make</code> or <code>make opt</code> |
| #* For debug, instead use: | | #* For debug, instead use: |
− | #** <code>make OPTFLAG="-ggdb -O0”</code> | + | #** <code>make debug</code> |
− | #** Note: that is the letter O followed by the number zero. | + | #* For profiling, instead use: |
− | #* When switching between debug & non-debug, prior to typing the new 'make' call, type: | + | #** <code>make profile</code> |
− | #** <code>make clean</code> | + | #* For all three (optimized, debug, and profile), type: |
| + | #** <code>make all</code> |
| | | |
− | This build both the [[C++ Library: libStatGen|library]] and all of the [[Software#Programs.2FTools|programs/tools]] in the repository. | + | |
| + | This builds the [[C++ Library: libStatGen|library]]. |
| + | |
| + | Now all of the programs/tools are in separate repositories and can be built separately. |
| | | |
| = Troubleshooting = | | = Troubleshooting = |