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/", a manpage in "/usr/local/man/man1/", and pixmap image files into "/usr/local/share/gnotepad+/xpm/". However, there are a few configuration options which one may want to change: --prefix=DIR Install gnotepad+ in DIR instead of /usr/local --disable-warnings If "configure" detects that you are using gcc or g++ as your compiler, it will add '-Wall -Wmissing-prototypes' as additional compiler flags (see the gcc man page for an explanation of these options). The default is to enable these options, and it suggested that you leave this alone. --enable-ansi If gcc or g++ is detected as your compiler, enabling ansi will automatically add '-ansi -pedantic' as additional compiler flags. By default, this is not enabled since it is really only useful for development purposes. --enable-debug Enable runtime debugging code. This is useful only if you are debugging gnotepad+. By default, this option is disabled. However, enabling this does not hurt since it does not take up much code, and greatly improves debugging. --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. 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.