Installation Instructions
$ Id: INSTALL.sgml.in 2904 2009-09-04 05:11:30Z rafi $
Copyright © 2008, 2009 Rafael Ostertag <rafi@guengel.ch>
Table of Contents
YAPET was designed to have only few library dependencies, and to build on most popular Unixes.
YAPET depends on two libraries
- OpenSSL (http://www.openssl.org)
- curses or ncurses (http://www.gnu.org/software/ncurses/)
As of version 0.3 YAPET uses GNU Gettext for internationalization, hence GNU Gettext is an optional dependency. In case GNU Gettext is not available on the build system, the GNU Gettext version included in the source distribution is used.
YAPET has been tested to build and run on following platforms:
- FreeBSD®
- OpenBSD
- Sun™ Solaris™ x86
- Linux
- Cygwin
YAPET uses a configure script as generated
by autoconf and friends for configuring the
build process of YAPET. Change to the directory where you
unpacked yapet-0.7.tar.gz and simply type
#./configure
on the command line. The configure script will then check the system and prepare for the build process.
If the configure script successfully finishes, type
#make
YAPET will now be built. After the build has finished, switch to the root user if not done already, and type
#make install
This will install YAPET into the /usr/local/bin
directory, if the prefix has not been changed by providing
--prefix= to the
configure script.<PATH>
To start YAPET issue
/usr/local/bin/yapet on
the command line.
-
--prefix=<PATH> <PATH>is the base directory where YAPET will be installed. The executable is installed in<PATH>/bin.-
--with-curses-include=<PATH> This option tells the compiler where to find the header files of curses/ncurses.
<PATH>has to be the directory where the header files are located, not the file name of the header file.-
--with-curses-lib=<PATH> This option tells the linker where to find the curses/ncurses shared library.
<PATH>has to be the directory where the shared library is located, not the file name of the shared library.-
--with-openssl-include=<PATH> This options tells the compiler where to find the header files of OpenSSL.
<PATH>has to be the directory where the header files are located, not the file name of the header file.-
--with-openssl-lib=<PATH> This option tells the linker where to find the OpenSSL shared library.
<PATH>has to be the directory where the shared library is located, not the file name of the shared library.-
--enable-build-doc Instructs the build system to (re-)generate the documentation files. You usually do not need this, since the source distribution ships with pre-built documentation files.
This option depends on the two applications xsltproc and lynx/w3m . They need to be installed on the system and to be found by configure else setting this option won't have any effect.
-
--enable-source-doc Providing this option will make the build system to generate the source code documentation using doxygen.
This options has only effect if doxygen is installed on the system and found by configure.
The source code documentation will not be installed. It is located in the
doc/directory of the build directory.-
--enable-terminal-title Instructs the build process to compile YAPET with support for setting the terminal title in XTerm and friends. Enabled by default.
-
--disable-csv2yapet If given the csv2yapet import utility will not be built.
-
--disable-pwgen Disables built-in password generator.
-
--disable-nls Disables the Native Language Support.
Upon issuing make install the
following files are installed in <PATH>
<PATH>/bin/yapetThe YAPET binary.
<PATH>/bin/csv2yapetUtility for converting CSV files into YAPET files.
Will be installed only when the build of csv2yapet has not been disabled.
<PATH>/share/man/man1/[yapet.1|csv2yapet.1]The manual page for YAPET.
csv2yapet.1will be installed only when the build of csv2yapet has not been disabled.Files won't be installed when installation of documentation files has been disabled.
<PATH>/share/applications/yapet.desktopThe desktop file for GNOME et al.
<PATH>/share/doc/[AUTHORS|COPYING|DESIGN|LICENSE|README]Various documentation files.
Files won't be installed when installation of documentation files has been disabled.
<PATH>/share/doc/html/[DESIGN.html|README.html|yapet.html|csv2yapet.html]Various documentation files in HTML format.
csv2yapet.htmlwill be installed only when the build of csv2yapet has not been disabled.Files won't be installed when installation of documentation files has been disabled.
<PATH>/share/locale/LANGThe translation files.
![[Valid XHTML 1.0]](/images/w3c/valid-xhtml10-blue.png)
![[Valid CSS]](/images/w3c/valid-css2-blue.png)