source: trunk/src/README @ 41

Last change on this file since 41 was 41, checked in by dkearney, 15 years ago

added makefile to compile Rappture Core Data Structure tests

File size: 1.2 KB
Line 
1To compile the Rappture Library, the following must be done:
2
31) Adjust the Makefile.
4
5    Change Makefile variables as needed. Pay particular attention to
6    compilers, CFLAGS, directory names, and where python components
7    are located. Make sure you change the variable 'EMB_PY_FLAGS'
8    to point to the location of the python shared (or static) object
9    library is located. It can be placed in the lib directory directly
10    above this directory.
11
122) Adjust the file 'include/cee/rappture_interface.h'
13
14    Line 1 of rappture_interface.h includes 'python2.4/Python.h'.
15    Make sure this file (and all of its supporting files) exist
16    in the directory 'include/cee/'. Replace 'python2.4/Python.h'
17    with the version of python being used and the location where
18    Python.h can be found. Python.h and all of its suppoting files
19    can be downloaded from http://www.python.org/download/. You
20    will only need the header files to fulfill this task.
21    If you do not have a python object library, you will need to
22    compile python with the appropriate flags (--enable-shared) to
23    get it.
24   
253) Make sure the Rappture module is installed in Python.
26
274) Make a library
28   
29    make librappture
30
315) Make the Rappture Test programs
32
33    make test
Note: See TracBrowser for help on using the repository browser.