Redis get's unpacked in one direcotry but the app tries to configure it in another. Following is the redis install script. generated on my machine and the config script.
Notice the install dir is '2.2.12' but tar command unpacks it in redis-2.2.12 which leaves 2.2.12 empty => problems down below.
Also: these get removed so it's kind of awkward to duplicate the issue.
install script
!/bin/bash -x
export INSTALL_DIR="/tmp/brooklyn-ieugen/installs/RedisStore/2.2.12"
test -f $INSTALL_DIR/../BROOKLYN && EXIT 0
mkdir -p $INSTALL_DIR
cd $INSTALL_DIR/..
wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz
tar xvzf redis-2.2.12.tar.gz
cd redis-2.2.12
make LDFLAGS="-all-static"
date > $INSTALL_DIR/../BROOKLYN
Generated config script with empty 2.2.12 directory !!!
!/bin/bash -e
mkdir -p /tmp/brooklyn-ieugen/apps/UqsmDvsn/entities/RedisStore_2.2.12_Blnz5v9y
cd /tmp/brooklyn-ieugen/installs/RedisStore/2.2.12
make install PREFIX=/tmp/brooklyn-ieugen/apps/UqsmDvsn/entities/RedisStore_2.2.12_Blnz5v9y
Redis get's unpacked in one direcotry but the app tries to configure it in another. Following is the redis install script. generated on my machine and the config script.
Notice the install dir is '2.2.12' but tar command unpacks it in redis-2.2.12 which leaves 2.2.12 empty => problems down below.
Also: these get removed so it's kind of awkward to duplicate the issue.
install script
!/bin/bash -x
export INSTALL_DIR="/tmp/brooklyn-ieugen/installs/RedisStore/2.2.12" test -f $INSTALL_DIR/../BROOKLYN && EXIT 0 mkdir -p $INSTALL_DIR cd $INSTALL_DIR/.. wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz tar xvzf redis-2.2.12.tar.gz cd redis-2.2.12 make LDFLAGS="-all-static" date > $INSTALL_DIR/../BROOKLYN
Generated config script with empty 2.2.12 directory !!!
!/bin/bash -e
mkdir -p /tmp/brooklyn-ieugen/apps/UqsmDvsn/entities/RedisStore_2.2.12_Blnz5v9y cd /tmp/brooklyn-ieugen/installs/RedisStore/2.2.12 make install PREFIX=/tmp/brooklyn-ieugen/apps/UqsmDvsn/entities/RedisStore_2.2.12_Blnz5v9y