File: INSTALL

package info (click to toggle)
gnotepad+ 1.0.2-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 756 kB
  • ctags: 832
  • sloc: ansic: 9,141; sh: 329; makefile: 156
file content (67 lines) | stat: -rw-r--r-- 1,938 bytes parent folder | download
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
Installation
============

gnotepad+ uses the GNU autoconf package, so installation should be
relatively simple.  The quick and dirty way to install gnotepad+ is to
simply do:

	./configure
	make
	make install

This installs an executable called "gnp" into "/usr/local/bin/".

However, there are few configuration options which one may want to
change:

--prefix=DIR
	Install gnotepad+ in DIR instead of /usr/local

--enable-debug
	Enable runtime debugging code.  This is useful only if you are
	debugging gnotepad+.  By default, this option is disabled.

--enable-flock
	Use flock() to lock files.  

--disable-fcntl
	By default, gnotepad+ uses fcntl() to lock files.  Over NFS
	this can result in poor performance on read/write.

--disable-warnings
	If "configure" detects that you are using gcc as your
	compiler, it will automatically add '-Wall -pedantic -ansi' as
	additional compiler warnings (see the man page for an
	explanation of these options).  The default is to enable these
	options, and it suggested that you leave this alone.

gnotepad+ should compile cleanly (without errors), and hopefully also
compile without any warnings.  If successful, you should end up with a
binary called in the "src/" subdirectory called "gnp".


Platform Notes
==============

Linux

	On recent Linux systems, flock() and fcntl() locks don't mix.
	If you use the --enable-flock switch on such systems, be sure
	to also use the --disable-fcntl option.


Miscellaneous Notes
===================

	1. "gnp --help" shows available command line options.

	2. "gnp --version" shows version information.

	3. "gnp --info" shows compiler options used.

	4. gnp will automatically create a subdirectory called ".gnp"
	in your home directory.  in here, you can create "gtkrc" and
	put any GTK specific settings (e.g., the text font).  there
	will also be three other files: "apprc", "appgtkrc", and
	"recentrc".  you do NOT need to edit these by hand.