-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
79 lines (61 loc) · 2.73 KB
/
readme.txt
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
COMPILING BIBUTILS.
------------------------------------------------------------------------
STEP 1. Configure the makefile by running the configure script.
The configure script attempts to auto-identify your operating system
and does a reasonable job for a number of platforms (including x86 Linux,
versions of MacOSX, some BSDs, Sun Solaris, and SGI IRIX). It's not a
full-fledged configure script via the autoconf system, but is more than
sufficient for Bibutils.
Unlike a lot of programs, Bibutils is written in very vanilla ANSI C
with no external dependencies (other than the core C libraries themselves),
so the biggest difference between platforms is generally how they
handle library generation. If your platform is not recognized, please
e-mail me the output of 'uname -a' and I'll work on adding it.
To configure the makefile, simply run:
% configure
or alternatively
% sh -f configure
The output should look something like:
'
'Bibutils Configuration
'----------------------
'
'Operating system: Linux_x86_64
'Library and binary type: static
'Binary installation directory: /usr/local/bin
'Library installation directory: /usr/local/lib
'
' - If auto-identification of operating system failed, e-mail [email protected]
' with the output of the command: uname -a
'
' - Use --static or --dynamic to specify library and binary type;
' the --static option is the default
'
' - Set binary installation directory with: --install-dir DIR
'
' - Set library installation directory with: --install-lib DIR
'
'
'To compile, type: make
'To install, type: make install
'To make tgz package, type: make package
'To make deb package, type: make deb
'
'To clean up temporary files, type: make clean
'To clean up all files, type: make realclean
By default, the configure script generates Makefiles to generate statically
linked binaries. These binaries are the largest, but require no management of
dynamic libraries, which can be subtle for users not used to installing
them and ensuring that the operating system knows where they are.
Dynamically linked binaries take up substantially less disk space, but require
real machine and distribution specific knowledge for handling the dynamic
library installation and usage. All of the distributed binaries are statically
linked for obvious reasons.
-----------------------------------------------------------------------
STEP 2. Make the package with make
% make
----------------------------------------------------------------------
STEP 3. Install the package
% make install
Note that 'make install' won't install the libraries with statically-
linked binaries but will (naturally) with dynamically-linked binaries.