From 0d9a26e57f704d954610edde1d712a9018699ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Umur=20Din=C3=A7?= Date: Tue, 23 Jul 2024 19:21:32 +0000 Subject: [PATCH] flex-old changed to flex --- WRF4.6.0_Install.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WRF4.6.0_Install.bash b/WRF4.6.0_Install.bash index be2d2af..177ba26 100644 --- a/WRF4.6.0_Install.bash +++ b/WRF4.6.0_Install.bash @@ -56,7 +56,7 @@ fi ######################################################### if [ "$type" = "Chem" ]; then - extra_packages="flex-old bison" + extra_packages="flex bison" fi echo "Please enter your sudo password, so necessary packages can be installed." sudo apt-get update @@ -106,9 +106,9 @@ export LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/usr/lib" export CPPFLAGS="-I/usr/include/hdf5/serial/ -I/usr/include" export LD_LIBRARY_PATH=/usr/lib if [ "$type" = "Chem" ]; then -[[ -z $(grep "export FLEX_LIB_DIR=/usr/lib" ~/.bashrc) ]] && echo "export FLEX_LIB_DIR=/usr/lib" >> ~/.bashrc +[[ -z $(grep "export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu" ~/.bashrc) ]] && echo "export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu" >> ~/.bashrc [[ -z $(grep "export YACC='yacc -d'" ~/.bashrc) ]] && echo "export YACC='yacc -d'" >> ~/.bashrc -export FLEX_LIB_DIR=/usr/lib +export FLEX_LIB_DIR=/usr/lib/x86_64-linux-gnu export YACC='yacc -d' fi ##########################################