DataIntellectTech/TorQ

Problems with installtorqapp.sh

Opened this issue · 0 comments

I'm unable to install torq using the recommended install script installtorqapp.sh following the instructions https://dataintellecttech.github.io/TorQ/InstallGuide/

The funny thing is that I can't get it to build both on linux and Mac. Here's the output of the script on my Mac. As you can see, things like the unzip directory are clearly incorrect /Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/. There are issues with sed, and I've tried gsed on my Mac as well but to no avail.

Furthermore, nothing get written to deploy/bin either.

Thanks for the help.

=============================================================
VARIABLES DEFINED FOR THE INSTALLATION SCRIPT:
=============================================================
torq = /Volumes/Storage/Code/kdb_torq/v5.1.0.tar.gz
releasedir = /Volumes/Storage/Code/kdb_torq/deploy
env = /Volumes/Storage/Code/kdb_torq
installfile = /Volumes/Storage/Code/kdb_torq/v1.11.1.tar.gz
data = /Volumes/Storage/Code/kdb_torq/datatemp

=============================================================
CHECKING VARIABLES AND CREATING RELEASE DIRECTORIES
=============================================================
=============================================================
MOVING TORQ INSTALLATION TO CORRECT FOLDER:
=============================================================
/Volumes/Storage/Code/kdb_torq/v5.1.0.tar.gz is a tar file
/Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/
unzip directory:
/Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/
directory doesn't exists
making the TorQ directory with the latest version
mkdir: /Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq: No such file or directory
/Volumes/Storage/Code/kdb_torq/v5.1.0
/Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/
v5.1.0

/Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/v5.1.0
/Volumes/Storage/Code/kdb_torq/deploy/TorQ/latest

tar: could not chdir to '/Volumes/Storage/Code/kdb_torq/deploy/TorQ//Volumes/Storage/Code/kdb_torq/v5.1.0/'

cp: /Volumes/Storage/Code/kdb_torq/deploy/TorQ/latest/torq.sh: No such file or directory


=============================================================
UNZIPPING TORQAPP TO CORRECT PLACES
=============================================================
Unzipping the TorQ addition package:
/Volumes/Storage/Code/kdb_torq/v1.11.1.tar.gz
TorQ-APP version name/number:
/Volumes/Storage/Code/kdb_torq/v1.11.1
unzip directory:
/Volumes/Storage/Code/kdb_torq/deploy/TorQApp//Volumes/Storage/Code/kdb_torq/v1.11.1/
directory doesn't exists
making the TorQApp directory with the latest version
mkdir: /Volumes/Storage/Code/kdb_torq/deploy/TorQApp//Volumes/Storage/Code/kdb_torq: No such file or directory
tar: could not chdir to '/Volumes/Storage/Code/kdb_torq/deploy/TorQApp//Volumes/Storage/Code/kdb_torq/v1.11.1/'


Unzipping complete!
New folder in TorQApp directory:
v1.11.1
Creating a latest softlink
cp: /Volumes/Storage/Code/kdb_torq/deploy/TorQApp/latest/setenv.sh: No such file or directory

=============================================================
CHECKING IF HDB EXISTS IF NOT COPY IT FROM THE APP:
=============================================================
this softlink has executed
/Volumes/Storage/Code/kdb_torq/datatemp/hdb directory doesn't exists
making the data/hdb directory
cp: /Volumes/Storage/Code/kdb_torq/deploy/TorQApp/latest/hdb: No such file or directory
/Volumes/Storage/Code/kdb_torq/datatemp/dqe directory doesn't exists
making the data/hdb directory
cp: /Volumes/Storage/Code/kdb_torq/deploy/TorQApp/latest/dqe: No such file or directory

=============================================================
doing necessary repalcements in torq.sh setenv.sh and processes
=============================================================
gsed: can't read /Volumes/Storage/Code/kdb_torq/deploy/bin/torq.sh: No such file or directory
gsed: can't read /Volumes/Storage/Code/kdb_torq/deploy/bin/setenv.sh: No such file or directory
gsed: can't read /Volumes/Storage/Code/kdb_torq/deploy/bin/setenv.sh: No such file or directory
gsed: can't read /Volumes/Storage/Code/kdb_torq/deploy/bin/setenv.sh: No such file or directory

=============================================================
CHECKING ENVIRONMENT SPECIFIC FILE CHANGES
=============================================================

=============================================================
INSTALLATION COMPLETE
=============================================================
Installation is finished. For a regular installation, run it as follows in the working directory: ./deploy/bin/torq.sh start all