SciDB 15.12 multi-node installation issue


#1

I’m doing a multi-node installation on 2 ESXi 5.5 Virtual Machines running Ubuntu Server 14.04.
I’m following the documentation at:

https://paradigm4.atlassian.net/wiki/display/ESD/SciDB+Community+Edition+Installation+Guide

All the pre-installation tasks work fine, as well as the first part of the “Installing SciDB Community Edition”.

However when I run the following command to build the multi-node packages:

./deployment/deploy.sh build RelWithDebInfo /tmp/packages

I get the following error:

Source path: /home/scidb/scidb_install/scidbtrunk
Script common path: /home/scidb/scidb_install/scidbtrunk/deployment/common
Build path: /home/scidb/scidb_install/scidbtrunk
SciDB version: 15.12
Executing: build RelWithDebInfo /tmp/packages
~/scidb_install/scidbtrunk ~/scidb_install/scidbtrunk
~/scidb_install/scidbtrunk
Removing /home/scidb/scidb_install/scidbtrunk/scidb_packaging
~/scidb_install/scidbtrunk ~/scidb_install/scidbtrunk
Extracting version
Extracting revision from file.
~/scidb_install/scidbtrunk
Version: 15.12.1
Revision: 4cadab5
Preparing result dir
Preparing building dir /home/scidb/scidb_install/scidbtrunk/scidb_packaging
~/scidb_install/scidbtrunk ~/scidb_install/scidbtrunk
Extracting sources from source tree.
cp: cannot copy a directory, `.', into itself, `/home/scidb/scidb_install/scidbtrunk/scidb_packaging/scidb-sources/.'
Removing /home/scidb/scidb_install/scidbtrunk/scidb_packaging
copy

And the resulting folder /tmp/packages is empty.

Any help greatly appreciated. Thanks!

Fabio


#2

Ok, I have found the solution to the problem.

The problem is at line 152 of the installation script
./utils/make_packages.sh
because the recursive cp is writing to a subfolder of the current folder, thus generating the error.

To solve the problem, the command

./deployment/deploy.sh build RelWithDebInfo /tmp/packages

should not be run from within your SciDB source directory (scidbtrunk, if you are following the instructions)

Instead it should be run from one directory level up. Thus the command becomes

./scidbtrunk/deployment/deploy.sh build RelWithDebInfo /tmp/packages


#3

Thank you for posting the solution - we will make sure to address this