| 1 |
Detailed build instructions for Linux (courtesy of Erich Schwarz) |
|---|
| 2 |
are available under doc/building-on-linux.txt. |
|---|
| 3 |
|
|---|
| 4 |
-- |
|---|
| 5 |
|
|---|
| 6 |
To compile, you will need to install: |
|---|
| 7 |
|
|---|
| 8 |
* fltk 1.x (fltk.org) |
|---|
| 9 |
* Xerces C++ (xml.apache.org) |
|---|
| 10 |
|
|---|
| 11 |
You will also need the following components of the Cartwheel project |
|---|
| 12 |
on Sourceforge; check them out via CVS (cartwheel.sf.net). |
|---|
| 13 |
|
|---|
| 14 |
* xml/sister.c++/ |
|---|
| 15 |
* cartwheel-clients/canal.c++/ |
|---|
| 16 |
* motility/ |
|---|
| 17 |
|
|---|
| 18 |
And, finally, you will also need: |
|---|
| 19 |
|
|---|
| 20 |
* paircomp/ |
|---|
| 21 |
|
|---|
| 22 |
from the FamilyJewels project (familyjewels.sf.net). |
|---|
| 23 |
|
|---|
| 24 |
Compile the C++ code in all of these. |
|---|
| 25 |
|
|---|
| 26 |
Then, create a local.mk file (look to the existing local.mk.* files in the |
|---|
| 27 |
top-level directory for guidance) then run |
|---|
| 28 |
|
|---|
| 29 |
make Makefiles |
|---|
| 30 |
|
|---|
| 31 |
(Ignore the warnings.) Now run |
|---|
| 32 |
|
|---|
| 33 |
make |
|---|
| 34 |
|
|---|
| 35 |
to build everything. If things are made successfully, you should see |
|---|
| 36 |
an app/FRII binary (app/FRII.exe under Windows). |
|---|
| 37 |
|
|---|
| 38 |
--- |
|---|
| 39 |
|
|---|
| 40 |
Some additional notes: |
|---|
| 41 |
|
|---|
| 42 |
* you need to build all of the other packages before you attempt to build |
|---|
| 43 |
FRII: for paircomp & motility, simple type 'make' at the top level; |
|---|
| 44 |
for canal.c++ and sister.c++, go into the src/ subdirectory and type |
|---|
| 45 |
'make' there. |
|---|
| 46 |
|
|---|
| 47 |
* if you compile everything under the same directory, you should be able |
|---|
| 48 |
to use the distributed 'local.mk.issola' with only one change. |
|---|
| 49 |
|
|---|
| 50 |
* if you run into an error with the Xerces shared library being not found |
|---|
| 51 |
under Linux, you may need to: |
|---|
| 52 |
|
|---|
| 53 |
*) locate the shared library (usually in /usr/local/lib;) |
|---|
| 54 |
*) add that directory to '/etc/ld.so.conf'; |
|---|
| 55 |
*) run '/sbin/ldconfig' to re-read the file. |
|---|