forked from FreeTDS/freetds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.GIT
43 lines (28 loc) · 1.21 KB
/
INSTALL.GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Building FreeTDS from git
James Cameron <[email protected]>
The git repository is maintained on GitHub. Follow these steps:
1) satisfy build dependencies, ensure that the following packages are
installed:
automake (GNU Automake, generates Makefile.in from Makefile.am)
autoconf (GNU Autoconf, generates configure from configure.ac)
libtool (GNU Libtool, library creation support scripts)
make (GNU or BSD Make.)
gcc (GNU Compiler Collection, for C code compilation)
perl (Perl, used to generate some files)
Autotool versions that work:
$ (autoconf --version; automake --version; libtool --version) |grep GNU
autoconf (GNU Autoconf) 2.60
automake (GNU automake) 1.9.6
ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.245 2005/05/16 08:55:27)
The above are used to generate the distributions.
You may get away with older versions, as far back as 2.53 for autoconf.
2) execute autogen.sh to run automake, autoconf and configure,
./autogen.sh
Any switches provided to autogen.sh will be passed to the configure script.
3) compile the source using make,
make
5) switch to a user that can write to the target installation
directory, usually root,
su root
4) install the package,
make install