On Wed, 28 Jun 2023 16:55:33 +0500 Jannie Pretorius <jannie.pretor...@up.ac.za> wrote:
> ./configure: line 24446: ${}: bad substitution > ## Export LD_LIBRARY_PATH or equivalent. > if eval "test -z \"\*${*${Rshlibpath_var}*}*\""; then > eval "${Rshlibpath_var}=\"${R_LD_LIBRARY_PATH}\"" > else > eval > "${Rshlibpath_var}=\"${R_LD_LIBRARY_PATH}${PATH_SEPARATOR}\${${Rshlibpath_var}}\"" > fi What's your /bin/sh? Is it a symlink to bash, dash, or something else? Does the config.log file created in the directory where you ran .../configure contain mentions of variables Rshlibpath_var and shlibpath_var? Which values do they have? (Are they really empty?) The configure script should have noticed that you're building for GNU/Linux and set these variables appropriately (the value should be 'LD_LIBRARY_PATH' in both cases). What is the output of tools/config.guess? -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.