source: trunk/src/README @ 21

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

created Makefile for compiling rappture libraries.
created README which starts to outline how to compile a rappture library
adjusted #include lines in most .h,.c,.cc files and added Include path

searched to the makefile.

files changed listed below:
M include/core/RpUnits.h
M include/core/RpDict.h
M include/cee/rappture_interface.h
A src/python/PyRpUnits_setup.py
M src/core/RpUnits.cc
M src/fortran/RpUnits_fortran.c
M src/fortran/rappture_fortran.c
M src/cee/rappture_interface.c
M src/cee/RpUnitsCInterface.cc
A src/README
A src/Makefile

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
Note: See TracBrowser for help on using the repository browser.