YAPET on Cygwin

YAPET - Yet Another Password Encryption Tool 0.6

YAPET on Cygwin

Rafael Ostertag

$Id: README.Cygwin.sgml.in 2904 2009-09-04 05:11:30Z rafi $


Introduction

Build instructions for YAPET under Cygwin. The build and configuration steps are basically the same as on a real UNIX system. The only catch is that the configure script needs the CXX and CC variables explicitly set to g++ and gcc respectively, else you will see a lot of error messages.

Prerequisite Cygwin Packages

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

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

Configuring

Unpack the source code and run the configure script with the CC and CXX variables as shown below

./configure CXX=g++ CC=gcc

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 2914 2009-09-04 08:44:16Z rafi $