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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
clira.iss
file.clira.iss
file to launch INNO Setup with it. If you need
to change the version of the output setup.exe file, modify clira.iss
and
make sure you commit it.C:\CLIRABASE\Output\setup.exe
Download Cygwin installer (32 bit) from http://www.cygwin.com/install.html
Install Cygwin and make sure you have the following packages installed as well:
autoconf
automake
bison
cvs
gcc-core
git
libbz2-devel
libcurl-devel
libpcre-devel
libsqlite3-devel
libssh2-devel
libtool
libuuid-devel
libxml2-devel
libxslt-devel
make
openssh
openssl-devel
patch
pkg-config
vim
wget
Alternatively you can simply run the installer with the command line parameters (modify paths appropriately):
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
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.
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.
uise
reconf -f -i
ackaging/cygwin
gwin.sh <path-to-lighttpd-from-previous-step>
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.