]> Pileus Git - ~andy/fetchmail/blob - INSTALL
070531f92f8e532ee249ecdc7b0fe781264fdb8c
[~andy/fetchmail] / INSTALL
1                 INSTALL Instructions for fetchmail
2
3 Installing fetchmail is easy.  From within this directory, type:
4
5         ./configure
6
7 The autoconfiguration script will spend a bit of time figuring out the
8 specifics of your system.  If you want to specify a particular compiler
9 (e.g. you have gcc but want to compile with cc), set the environment 
10 variable CC before you run configure.  
11
12 If you're running QNX, edit the distributed Makefile directly.  The
13 QNX values for various macros are there but commented out; all you
14 have to do is uncomment them.
15
16 Next run
17
18         make
19
20 This will compile fetchmail for your system.  Note that in order to
21 build it, you'll need either flex at version 2.5.3 org greater, or lex.
22
23 Lastly, become root and run
24
25         make install
26
27 This will install fetchmail.  By default, fetchmail will be installed
28 in /usr/local/bin, with the man page in /usr/local/man/man1, and the
29 GNU info file in /usr/local/info.  If you wish to change these defaults,
30 edit the Makefile AFTER you run "configure" but BEFORE you run 
31 "make install."  You can easily choose a prefix other than /usr/local,
32 or you can choose completely different directories for each item.
33
34 See the man page or the file sample.rcfile for a description of how to
35 configure your individual preferences.
36
37 Note: if you have been using popclient (the ancestor of this program)
38 at version 3.0b6 or later, do this
39
40 (cd ~; mv ~/.poprc ~/.fetchmailrc)
41
42 in order to migrate.
43
44 Enjoy!