File: INSTALLATION

package info (click to toggle)
mined 2000.10-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,912 kB
  • ctags: 2,256
  • sloc: ansic: 130,722; sh: 1,742; makefile: 253; perl: 169; sed: 152; cpp: 28
file content (77 lines) | stat: -rw-r--r-- 2,407 bytes parent folder | download | duplicates (3)
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
Guide to compilation and installation of the mined editor


-----------------------------------------------------------------------------
Build

- Go to the main package directory (the one containing this INSTALL file),
  then invoke make:

	make

  This automatically selects a suitable makefile in the 'src' 
  subdirectory for the most common operating environments, based on 
  the output of the 'uname' command.


  To override automatic selection of the makefile and use gcc, 
  you may invoke:

	CC=gcc make


  If you want to check mined with curses, you may invoke:

	make minced

  This uses the ncursesw library which supports UTF-8. Using curses is 
  discouraged, however; see the comments in doc/compilation.


  If compilation fails, you may try to select a suitable makefile 
  in the subdirectory src:

	cd src; make -f makefile.<system>

  Choose one closest to your operating system. Also please consult the 
  file doc/compilation for some hints on how to adapt a makefile for 
  your system. In this case, if you need help, or if you finally 
  succeed, please send a note to mined@towo.net so I can extend the 
  range of automatically supported systems.


-----------------------------------------------------------------------------
Install

- For installation into the usual system directories under /usr 
  of your target system, being the super-user (root), invoke:

	make install

  Alternatively, to install into /usr/local, invoke:

	make localinstall

  Alternatively, to install into /opt, invoke:

	make optinstall

  Alternatively (especially if you are not the "root" user), 
  to install into $HOME/opt, invoke:

	make homeinstall

  This installs the binary program, the manual page, the online help 
  file, and the runtime support library, to appropriate locations as 
  used by various systems.
  If you want to install to other locations, adapt the first few 
  variables in the makefile you use (src/makefile....) before 
  installation, or copy the compiled binary program manually to a 
  suitable place in your search path.
  If the online help file mined.hlp (from the usrshare directory of 
  the mined distribution) is not installed in one of the usual places, 
  configure your environment so that MINEDHELPFILE contains the full 
  path name of the online help file mined.hlp.


-----------------------------------------------------------------------------