aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-12-19 10:16:58 +0100
committerThomas White <taw@physics.org>2018-12-19 11:28:31 +0100
commit1ccb8c35a27d1e714b8c3caacc1a68307ff12ada (patch)
tree2adcdb3957bc2a863a0df4737b43fc8da90c1fbd /README
parentc20df5bc54645acdec7ba3babcc252641a589d3b (diff)
This is CrystFEL 0.8.00.8.0
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
index 42835723..aede37fc 100644
--- a/README
+++ b/README
@@ -134,12 +134,30 @@ installed from your distribution's package manager. Be sure to install the
development files for each package, which will have a name like "gtk+-2.0-dev"
or "gtk+-2.0-devel", depending on which distribution you use.
+If external libraries have been installed in non-standard locations, you can set
+the path like this, for example for Xgandalf:
+cmake -DXGANDALF_INCLUDES=/path/to/xgandalf/include \
+ -DXGANDALF_LIBRARIES=/path/to/xgandalf/lib/libxgandalf.so
+
+The path to HDF5 can be set similarly:
+cmake -DHDF5_ROOT=/path/to/hdf5 (... /include, /lib etc)
+
+Or for CBF, use one of:
+-DCBF_CBF_INCLUDES=/path/to/cbflib/include (... /cbf/cbf.h)
+-DCBFLIB_CBF_INCLUDES=/path/to/cbflib/include (... /cbflib/cbf.h)
+and:
+-DCBF_LIBRARIES=/path/to/libcbf.so
+
+To install CrystFEL in a custom location, use:
+-DCMAKE_INSTALL_PREFIX=/path/for/crystfel/installation
+
If you get an error mentioning fftw3 and telling you to recompile with -fPIC,
then your version of FFTW3 is not compiled in a suitable way. You'll need to
install it again (from source) adding "--enable-shared" to its ./configure
command line.
+
Funding acknowledgements
------------------------