Juniper/clira-windows-installer

Name: clira-windows-installer

Owner: Juniper Networks

Description: Files necessary to build the CLIRA Windows installer

Created: 2014-01-21 15:42:48.0

Updated: 2015-04-30 15:56:25.0

Pushed: 2015-08-06 17:01:36.0

Homepage: null

Size: 452174

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Building Clira Windows Installer (Cygwin)

This document will cover instructions on how to build the Clira Windows installer for Cygwin as well as how to update the libslax, lighttpd-for-juise, and juise packages for Cygwin.


Building Clira Windows Installer

Compiling and Updating libslax, lighttpd-for-juise, juise for Cygwin
ygwin32>setup-x86.exe -a x86 -P autoconf,automake,bison,cvs,gcc-core,git,libbz2-devel,libcurl-devel,libpcre-devel,libsqlite3-devel,libssh2-devel,libtool,libuuid-devel,libxml2-devel,make,libxslt-devel,openssh,openssl-devel,patch,pkg-config,vim,wget -q -n -R c:\cygwin32

libslax
ibslax
reconf -f -i
ackaging/cygwin
gwin.sh

At this point you have a cygwin libslax bundle built. If you are fully building CLIRA then you will need to:

./..
nfigure
 install

You need to install libslax in the local cygwin install because juise requires it.

lighttpd-for-juise
ighttpd-for-juise
togen.sh
ackaging/cygwin
gwin.sh

At this point you will have a lighttpd-for-juise cygwin bundle built. If you are fully building CLIRA then you will need to:

./..
nfigure --with-websocket=ALL --without-libicu

You need the object files for lighttpd-for-juise built for the following juise build.

juise
uise
reconf -f -i
ackaging/cygwin
gwin.sh <path-to-lighttpd-from-previous-step>

Updating the clira-windows-installer bundle with updated libslax/lighttpd-for-juise/juise packages.

In order to update the 3 packages we maintain, simply copy them to their respective directories in the clira-windows-installer repo. Eg: cygwin/local/x86/release/lighttpd-for-juise or cygwin/local/x86/release/juise.

After you have done this, you will need to update their entries in cygwin/local/x86/setup.ini.

You do this by going into your cygwin shell and run the bin/genini script:

lira-windows-installer/cygwin/local
./bin/genini --recursive --arch x86 * > setup.ini.updated

At this point, the proper setup.ini entries will be captured in the setup.ini.updated file. You will need to manually go into the clira-windows-installer/cygwin/local/x86/setup.ini file and replace the entries for juise/libslax/lighttpd-for-juise with the new entries.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.