YAPET on Cygwin
$Id: README.Cygwin.sgml.in 2904 2009-09-04 05:11:30Z rafi $
Copyright © 2008, 2009 Rafael Ostertag <rafi@guengel.ch>
Table of Contents
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.
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
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.
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.
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.
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).
![[Valid XHTML 1.0]](/images/w3c/valid-xhtml10-blue.png)
![[Valid CSS]](/images/w3c/valid-css2-blue.png)