when i try to compile 23.11.2 under rhel9 and include the json libraries. configure seems to find jwt.h, but it bombs out with conftest.c:118:20: error: invalid type argument ofunary '*' (have 'int') 118 | char x = *strerror_r(0,bug_sizeof buf); conftest.c:119:21: warning: initilization of 'char *' from 'int' makes pointer from interget without a cast [-Wint-conversion] 119| char *p = strerror_r(0,bug,sizeof buf); slurm compiles and works fine, just without the json libs i'm running rhel9.4 with libjwt libjwt-1.12.1-11.el9 libjwt-devel-1.12.1-11.el9
sorry the above excerpt from the config.log is incorrect, i hadn't realized that was part of a different conftest. but i'm still not able to compile in json support, even under 23.11.7. configure finds the jwt.h header files, but still seems to throw a warning about being unable to locate json parser library
looks like what i am missing is the json-c-devel rpm from my system the output line from this config test could be a little clearer, it's not clear what was missing, in that it doesn't say anything at all