-
Notifications
You must be signed in to change notification settings - Fork 9
cannot find CMP headers #98
Copy link
Copy link
Open
Description
Bonjour
Je tente d'installer Fast-4.0a dans un chemin arbitraire différent de l'installation de Cassiopee 4.0a (afin d'éviter d'avoir à produire une nouvelle installation de cassiopee, et donc d'elsA).
J'ai donc retravaillé le script d'installation, mais j'obtiens l'erreur suivante :
build/<ELSAPROD>/FastC/fastc.h:25:10: fatal error: CMP/include/pending_message_container.hpp: No such file or directory
25 | #include "CMP/include/pending_message_container.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [build/<ELSAPROD>/FastC/checkNumericsValue.o] Error 1
scons: building terminated because of errors.
Je n'ai pas encore vérifié si l'erreur est la même lors d'une tentative d'installation avec le chemin par défaut ($CASSIOPEE/dist/bin/$ELSAPROD)
Je n'ai pas encore vérifié non plus si la même erreur apparait avec la version 3.7.
Avant de faire ces tests, pouvez-vous me renseigner sur cette dépendance CMP ? Où est-elle sensé être installée ?
Le script d'installation retravaillé :
#! /bin/sh
# install : installe tous les modules
# install doc : installe les docs
# install all : installe modules + docs
# -c <CASSIOPEE> : override CASSIOPEE env variable (cassiopee install prefix)
# -o <ELSAPROD> : override ELSAPROD env variable
# -p <prefix> : use provided install prefix
# Parsing command line arguments :
mods_arg="all"
while [[ $# -gt 0 ]]
do
case $1 in
-c)
cassiopee_arg=$2
shift 2
;;
-o)
elsaprod_arg=$2
shift 2
;;
-p)
prefix_arg=$2
shift 2
;;
*)
mods_arg=$1
shift 1
;;
esac
done
if [[ ! -z "$cassiopee_arg" ]]
then
echo "Overriding CASSIOPEE env variable with user-provided value :"
echo " Current value : $CASSIOPEE"
echo " User-provided value : $cassiopee_arg"
export CASSIOPEE="$cassiopee_arg"
fi
if [[ ! -z "$elsaprod_arg" ]]
then
echo "Overriding ELSAPROD env variable with user-provided value :"
echo " Current value : $ELSAPROD"
echo " User-provided value : $elsaprod_arg"
export ELSAPROD="$elsaprod_arg"
fi
if [[ ! -z "$prefix_arg" ]]
then
echo "Using user-provided install prefix: $prefix_arg"
INSTALLPATH="$prefix_arg"
else
echo "Using default install prefix (installing on top of Cassiopee): $CASSIOPEE/Dist/bin/$ELSAPROD"
INSTALLPATH=""
fi
if [[ ! -z "$mods_args" ]]
then
echo Installing mods : $mods_args
fi
. ./MODULES
for mod in $FULLMODULES
do
if test -e $mod
then
cd $mod
if [ "$mods_args" = "" -o "$mods_args" = "all" ]; then
./install $INSTALLPATH
[ $? != 0 ] && exit 1;
fi
if [ "$mods_args" = "doc" -o "$mods_args" = "all" ]; then
cd doc
./install 1 2
[ $? != 0 ] && exit 1;
cd ..
fi
cd ..
else
echo 'Directory ',$mod, 'not found.'
fi
done
# Fini avec la doc KCore pour genindex...
#if [ "$1" = "doc" -o "$1" = "all" ]; then
# cd ../Modules/KCore/doc
# ./install 1 2
# [ $? != 0 ] && exit 1;
# cd ../..
#fi
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels