[R] LINUX SuSE15.4 (GNU & Intel) compiler problem in "configure" file

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu Jun 29 08:01:31 CEST 2023

On Wed, 28 Jun 2023 16:55:33 +0500
Jannie Pretorius <jannie.pretorius using 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

Best regards,

More information about the R-help mailing list