ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/libghemical/trunk/INSTALL
Revision: 234
Committed: Tue Dec 9 10:41:48 2008 UTC (10 years, 6 months ago) by thassine
File size: 2470 byte(s)
Log Message:
translations added ; Vlado Peshov.
Line User Rev File contents
1 thassine 2 REQUIREMENTS:
2     -------------
3    
4 thassine 231 The libghemical package is optionally dependent on "mopac7" and "mpqc"
5     packages, in addition to the packages/files that are needed to compile
6     and run UNIX console programs and/or libraries.
7 thassine 2
8 thassine 177 You can get "mopac7-1.10.tgz" or newer from
9 thassine 2
10 thassine 123 http://sourceforge.net/projects/mopac7/
11 thassine 2
12 thassine 185 You can get "mpqc-1.2.5.tgz" or newer from
13 thassine 2
14 thassine 123 http://www.mpqc.org/download.php
15 thassine 231
16 thassine 185 This is the recommended way how to compile/install MPQC if you wish
17     to use it with ghemical:
18 thassine 231
19 thassine 185 tar zxvf mpqc-2.3.1.tar.gz
20     mkdir mpqctarget
21     cd /home/youracct/mpqctarget
22     /home/youracct/mpqc-2.3.1/configure --disable-parallel
23     make
24     make install [run as root user]
25     make install_devel [run as root user]
26 thassine 2
27 thassine 123 Other software/packages that are needed to compile and run this library
28     are:
29 thassine 2
30 thassine 123 g++ gcc version 2.95.4 or later
31     make GNU Make version 3.76.1
32     pkg-config pkg-config-0.15
33 thassine 2
34 thassine 123 In short, any up-to-date Linux installation like Redhat 9.0, Mandrake 9.0
35     or Debian 3.0 should work, if the necessary development packages (that
36     contain the header files) are also present, in addition to the standard
37     packages (that contain the libraries).
38 thassine 2
39    
40 thassine 123 INSTALLATION:
41     -------------
42 thassine 2
43 thassine 123 Simple set of commands
44    
45 thassine 176 ./autogen.sh
46 thassine 2 ./configure
47     make
48     make install [run as root user]
49    
50 thassine 123 will produce a library version in which all the optional dependencies
51     mentioned above are disabled. You can enable the options by adding the
52 thassine 231 following statements to the configuration script command line:
53 thassine 2
54 thassine 231 ./configure --enable-mopac7 --enable-mpqc
55 thassine 2
56 thassine 123 For more options and information you can try
57 thassine 2
58 thassine 123 ./configure --help
59 thassine 2
60 thassine 123 If at configuration step you get stuck and see some error messages about
61     PKG_CONFIG, please try the following tricks (and re-try ./configure):
62 thassine 2
63 thassine 123 export PKG_CONFIG=pkg-config
64     export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
65 thassine 2
66 thassine 234 If you are compiling with MPQC support and get stuck with messages about
67     SC_CONFIG, please try this (with correct path set, and re-try ./configure):
68    
69     export SC_CONFIG=/usr/local/mpqc/2.3.1/bin/sc-config
70    
71 thassine 123 Also if problems appear you might want to try updating the configuration
72     files using commands at the top of the source tree (and re-try ./configure):
73 thassine 2
74 thassine 123 aclocal
75     autoconf
76     autoheader
77     automake
78 thassine 125 libtoolize --copy --force
79 thassine 2
80 thassine 125 This is an example how to set different compiler versions in Makefiles:
81    
82     CC=gcc-3.4 CXX=g++-3.4 ./configure
83    
84 thassine 123 The "make install"-command will copy the library and some extra files to
85     their proper places so that the library can be used in other programs.

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision