YAPET on Cygwin

YAPET - Yet Another Password Encryption Tool 0.7

YAPET on Cygwin

Rafael Ostertag

$ Id: README.Cygwin.sgml.in 3365 2010-09-19 12:19:11Z java $


Introduction

Build instructions for YAPET under Cygwin. The build and configuration steps are basically the same as on a real UNIX system.

Prerequisite Cygwin Packages

Prior building YAPET under Cygwin, you need to install following Cygwin Packages in addition the base system packages:

  • gcc4-core
  • gcc4-g++
  • libncurses-devel
  • make
  • openssl
  • openssl-devel

Configuring

Unpack the source code and run the configure script with the --with-curses-include option as shown below

./configure --with-curses-include=/usr/include/ncurses

You may want to specify an different prefix with --prefix.

Building and Installing

Build YAPET by typing make on the command line. After the build has finished, make sure you run the checks by typing make check. If all tests have succeeded, install YAPET by typing make install on the command line.

Build Error

If the build process aborts with the error message

cc1: error: unrecognized command line option "-fvisibility=hidden"

open the file intl/Makefile and remove the option -fvisibility=hidden from the CFLAGS variable. The CFLAGS variable is located around line number 86 in the Makefile.

Insecure File Permissions

When creating or reading files stored on a Windows server, YAPET may complain about insecure file permissions. In that case, move the file to a local disk or start YAPET with the -s command line option as described in the YAPET manual page yapet(1).

$Id: cygwin.shtml 3373 2010-09-19 13:43:17Z java $