~ubuntu-branches/ubuntu/wily/rlwrap/wily

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Oyvind Gronnesby
  • Date: 2004-02-29 00:21:27 UTC
  • Revision ID: james.westby@ubuntu.com-20040229002127-skvgfcakwtvwz75c
Tags: upstream-0.18
ImportĀ upstreamĀ versionĀ 0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installation should be as simple as:
 
2
 
 
3
./configure
 
4
make
 
5
make install
 
6
 
 
7
Optionally, you can do a
 
8
 
 
9
make check
 
10
 
 
11
to try out rlwrap on a test client. The test result doesn'n mean much,
 
12
but it lets you try out rlwraps behaviour under different circumstances
 
13
(diverse prompts, passowrds, signal handling, etc)
 
14
 
 
15
If you don't have GNU readline 4.2, the configure script will complain; 
 
16
you can get it at ftp://ftp.gnu.org/gnu/readline/
 
17
 
 
18
configure can be called with a number of options (e.g. if you want to
 
19
install rlwrap in a non-standard place). Do 
 
20
 
 
21
./configure --help
 
22
 
 
23
to see them all.
 
24
 
 
25
To uninstall, do 'make uninstall'
 
26
 
 
27
 
 
28
*** Installing as non-root
 
29
 
 
30
If you want to install rlwrap as non-root, you should call configure with 
 
31
the --prefix option, like:
 
32
 
 
33
./configure --prefix=$HOME 
 
34
 
 
35
after which 'make install' will install rlwrap in $HOME/bin
 
36
 
 
37
You may have to install GNU readline 4.2 first, (e.g using ./configure
 
38
--prefix=$HOME in the readline-4.2 directory)
 
39
 
 
40
rlwrap's configure script will not find this installation automatically, but
 
41
 
 
42
CFLAGS=-I$HOME/include CPPFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib ./configure --prefix=$HOME
 
43
 
 
44
should work. You can add '-static' to LDFLAGS if you want to build a statically linked rlwrap.
 
45
 
 
46