Salome HOME
spns #29664: omniORB: fix python path
[tools/sat_salome.git] / products / compil_scripts / graphviz-2.38.0.sh
index 291a68813cad65b03748cfc02d3bfc38232cbad9..934817dabe79205bb8ef7cbe785924921701158c 100755 (executable)
@@ -11,9 +11,7 @@ cp -r $SOURCE_DIR/* .
 echo "graphviz compilation"
 
 echo
-#echo "*** ./configure --prefix=${PRODUCT_INSTALL} --with-tcl=${TCLHOME}/lib --with-expat=no --with-qt=no --with-cgraph=no  --enable-perl=no"
-#./configure --prefix=${PRODUCT_INSTALL} --with-tcl=${TCLHOME}/lib --with-expat=no --with-qt=no --with-cgraph=no --enable-perl=no
-echo "*** ./configure --prefix=${PRODUCT_INSTALL}  --enable-tcl=no --with-expat=no --with-qt=no  --enable-perl=no --enable-ocaml=no"
+echo "*** configure --prefix=${PRODUCT_INSTALL}  --enable-tcl=no --with-expat=no --with-qt=no  --enable-perl=no --enable-ocaml=no"
 ./configure --prefix=${PRODUCT_INSTALL} --enable-tcl=no --with-expat=no --with-qt=no  --enable-perl=no --enable-ocaml=no --with-ghostscript=no --enable-python=no --enable-java=no
 
 if [ $? -ne 0 ]
@@ -32,6 +30,13 @@ then
 fi
 
 echo "*** make install"
+
+# 23/03/2022
+# feedback sent by Vadim SANDERS
+# cannot run 'dot -c': failed to open /usr/lib/graphviz/config6a for write
+# strangely on some Debian 9, the dot command triggers
+export PATH=${PRODUCT_INSTALL}/bin:${PATH}
+export LD_LIBRARY_PATH=${PRODUCT_INSTALL}/lib:${PRODUCT_INSTALL}/lib/graphviz:${LD_LIBRARY_PATH}
 make install
 if [ $? -ne 0 ]
 then