Hello Mario,
eupspkg file contains function default_install() (see below). In
this function, the install procedure for a scons script doesn't run
install_ups, whereas all other install procedures launch it.
Do you think it could be added, or do i have to add and
ups/eupspkg.sh in Qserv build procedure ? Indeed Qserv relies on
standard eupspkg build procedure and scons, but installing it print
next message :
fjammes@clrlsst-dbmaster-vm:~ $ eups distrib install qserv 6.0.0rc1
[ 1/16 ] python system (already installed)
...
[ 15/16 ] luaxmlrpc v1.2.1-2 (already installed)
[ 16/16 ] qserv 6.0.0rc1 (from source)Build log file not
copied as /opt/qserv/stack/Linux64/qserv/6.0.0rc1/ups does not
exist (this shouldn't happen).
done.
fjammes@clrlsst-dbmaster-vm:~ $
Function default_install in eupspkg :
default_install()
{
...
#
# Attempt to autodetect the build system
#
if [[ -f SConstruct ]]; then
scons -j$NJOBS prefix="$PREFIX" version="$VERSION"
cc="$CC" install
elif [[ -f configure ]]; then
make -j$NJOBS $MAKE_INSTALL_TARGETS
install_ups
elif [[ -f Makefile || -f makefile || -f GNUmakefile ]];
then
make -j$NJOBS prefix="$PREFIX" version="$VERSION"
$MAKE_INSTALL_TARGETS
install_ups
elif [[ -f setup.py ]]; then
PYDEST="$PREFIX/lib/python"
mkdir -p "$PYDEST"
PYTHONPATH="$PYDEST:$PYTHONPATH" python setup.py
install $PYSETUP_INSTALL_OPTIONS
evil_setuptools_pth_fix "$PYDEST"
install_ups
else
# just copy everything
mkdir -p "$PREFIX"
cp -a ./ "$PREFIX"
msg "Copied the product into '$PREFIX'"
fi
}