INSTALLING FUE UNDER CYGWIN
The following are instructions on how to install the fue environment
on your NT box using a set of standard conventions that include, but
are not limited to:
- all products will be located in a directory mounted as /products
- the ups database will located in /products/upsdb
- the ups configurations files will be in /products/upsdb/.upsfiles/setups
Install the FUE Environment
You should be using
- cygwin nt b19 or higher
- ups v4_3 or higher
- upd v4_3 or higher
Install cygwin b19 under /products/cygwin/b19. Be sure to apply the
patch otherwise upd will NOT work!
Create a bash shell and execute the following commands:
- mount "c:\products\cygwin\b19\H-i386-cygwin32" /usr
- mount c: / (if you don't see this mounted already)
- mount c: /c
- ln -s /usr/bin /bin
- mkdir -p /products/upsdb/.upsfiles/setups
- mkdir -p /products/upsdb/.updfiles
Unwind the most recent version of ups in /products/ups/vn_m. Get the CYGWIN32_NT.tar file.
Unwind the most recent version of upd in /products/upd/vn_m. Get the NULL.tar file.
Unwind the most recent version of perl in /products/perl/vn_m. Get the CYGWIN32_NT.tar file.
Get the table file for the v5_004 version of
perl
in /products/upsdb/perl/perl.table.
Save this file as /products/upsdb/.upsfiles/dbconfig
Save this file as /products/upsdb/.upsfiles/setups/upsdb_list
Save this file as /products/upsdb/.updfiles/updconfig
Create a bash shell and execute the following commands (substituting n_m with the actual version numbers you install):
- export PRODUCTS=/products/upsdb
- export UPS_DIR=/products/ups/vn_m
- export UPS_SHELL=sh
- PATH=$UPS_DIR/bin:$PATH
- ups declare -f CYGWIN32_NT -M ups -m ups.table -c -r /products/ups/vn_m ups vn_m
- ups declare -f NULL -M ups -m upd.table -c -r /products/upd/vn_m upd vn_m
- ups declare -f CYGWIN32_NT -m perl.table -c -r /products/perl/vn_m perl vn_m
create a .bashrc file that contains
- source /products/upsdb/.upsfiles/setups/setups.sh
- export USER=your_login_name
if you are offsite, register you node for remote access to the fnkits software distribution area by sending mail to compdiv@fnal.gov
create a new bash window and copy over the upd template file. Then [optionally] install the following products:
- setup upd
- cp $UPD_DIR/ups/updusr.pm.template $PRODUCTS/.updfiles/updusr.pm
- chmod +x $UPD_DIR/bin/*
- upd install emacs v19_34_1 -G"-c"
- upd install cvs v1_9 -G"-c"
Last updated: 9/2/98