Open rkabrick opened 3 weeks ago
The problem is that https://github.com/sstsimulator/sst-core/blob/2f7b13d62a4e047c9dc6f5e0ae238bea41168169/config/sst_check_curses.m4#L50 evaluates the macro before the shell variable when the initially desired behavior was the other way around. The generated code is
LIBS="-l$CURSES_LIBS $LIBS"
which then expands to -l-lncurses -ltinfo ...
which is obviously wrong, but there is something about the library location or linker search paths on non-Ubuntu platforms where it works anyway.
New Issue for sst-core
1 - Detailed description of problem or enhancement When trying to build sst-core on ubuntu (with ncurses installed via apt-get) the configure script fails to locate ncurses even with
--with-curses
option specified.2 - Describe how to reproduce the issue On a fresh install of ubuntu do:
3 - What Operating system(s) and versions
4 - What versions of external libraries (MPI, etc.) Tried with
libncurses-dev
,libncurses6
,libncurses5
,libncursesw5
,libncursesw6
5 - Provide sha1 of all relevant SST repositories (sst-core, sst-elements, etc)
tags/v14.0.0_Final
: 0693c06895c9b2be64232a9cd4d17795c0a5ad50