summaryrefslogtreecommitdiff
path: root/README-alpha
blob: 39f3cfb288ee058f797b83a416ba84acfd033a07 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
This is the GNU mailutils package.
This document describes the actions needed to build the pre-release
or Git version of the package. See end of file for copying conditions.

* Introduction

This is a *pre-release* version, and not ready for production use
yet. If you are taking source from Git, you will need to have several
special tools to help contribute. See the file README-hacking for more
information, See chapter `Building' for the detailed instructions on
how to build the package.

Please, note that the accompanying documentation may be inaccurate
or incomplete. The Git logs are the authoritative documentation of
all recent changes.

Report bugs to <bug-mailutils@gnu.org>

* Checking Out the Sources

The following instructions apply if you wish to obtain sources from
the Git repository:

To clone the source tree from the repository, issue the following command:

  git clone git://git.savannah.gnu.org/mailutils.git

This will give you read-only access.  If you think you need write access,
contact the mailing list.

* Building

Usual procedures apply:

 ./configure
 make
 make install

See INSTALL and README for the detailed instructions.

* Debugging

To enable additional debugging information, configure the package
with --enable-debug option.

Unless you compile mailutils statically, you will need to run
following command to debug any utility: 

  libtool --mode execute gdb UTILITY-NAME

Sometimes it is impossible or inconvenient to start a utility from
the debugger. In this case, use --HANG option, which is supported by
any of the mailutils programs. The option instructs the program to
sleep for a given number of seconds (3600 by default) right after
startup. For example, to debug `mimeview' utility, run

  mimeview --HANG [OTHER-OPTIONS]

Then switch to another terminal, get the PID of the ivoked utility and
attach to it using gdb: 

	gdb mimeview PID

Once in gdb, issue the following command

	set _argp_hang=0

Now set your breakpoints and proceed as usual.

* Copyright information:

Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2010 Free Software
Foundation, Inc.

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.


Local Variables:
mode: outline
paragraph-separate: "[ 	]*$"
version-control: never
End:


Return to:

Send suggestions and report system problems to the System administrator.