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 (9 years, 10 months ago) by thassine
File size: 2470 byte(s)
Log Message:
translations added ; Vlado Peshov.
Line File contents
1 REQUIREMENTS:
2 -------------
3
4 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
8 You can get "mopac7-1.10.tgz" or newer from
9
10 http://sourceforge.net/projects/mopac7/
11
12 You can get "mpqc-1.2.5.tgz" or newer from
13
14 http://www.mpqc.org/download.php
15
16 This is the recommended way how to compile/install MPQC if you wish
17 to use it with ghemical:
18
19 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
27 Other software/packages that are needed to compile and run this library
28 are:
29
30 g++ gcc version 2.95.4 or later
31 make GNU Make version 3.76.1
32 pkg-config pkg-config-0.15
33
34 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
39
40 INSTALLATION:
41 -------------
42
43 Simple set of commands
44
45 ./autogen.sh
46 ./configure
47 make
48 make install [run as root user]
49
50 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 following statements to the configuration script command line:
53
54 ./configure --enable-mopac7 --enable-mpqc
55
56 For more options and information you can try
57
58 ./configure --help
59
60 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
63 export PKG_CONFIG=pkg-config
64 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
65
66 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 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
74 aclocal
75 autoconf
76 autoheader
77 automake
78 libtoolize --copy --force
79
80 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 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