]> Creatis software - gdcm.git/blobdiff - INSTALL
added autoconf tools for library (src) and C++ test (Test) compilation
[gdcm.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 67f032ae0c8d1d48b994e6e37d7ee40029a3af3c..93ffa792a2773615e0880a16322b0e5c1ef7ba69 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,16 +1,25 @@
-cd src
-make
+* For compiling the library and C++ test programs:
 
-For testing in C++:
-cd Test
+./configure
 make
-./test ../Data/CR-MONO1-10-chest.dcm (or any other file in there)
+make install
+
+You can use the --prefix option of the configure script to force installation
+in some place (default is /usr/local/DCMlib):
+
+./configure --prefix=/where/ever/you/want
+
 
-For testing in Python:
-cd python
+* For testing in C++:
+./Test/test ../Data/CR-MONO1-10-chest.dcm (or any other file in there)
+
+
+* For testing in Python:
+cd python/gdcmPython
 make  (requires SWIG Version 1.3.16u i.e. the contemporary devel version)
-python testSuite.py (test suite written in unittest)
+python testSuite.py (test suite written in unittest, you should use python2)
+
 
-For manual test in python:
+For manual test in python:
 cd python/demo
 python test.py ../../Data/CR-MONO1-10-chest.dcm (or any other file)