Displaying 1 result from an estimated 1 matches for "xxxflag".
Did you mean:
cxxflag
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
...defined macro: AM_LANGINFO_CODESET
configure.ac:2876: error: possibly undefined macro: AM_NLS
configure.ac:2880: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:2881: error: possibly undefined macro: AM_GNU_GETTEXT
make[1]: *** [Makefile:49: configure] Error 1
```
removing the XXXFLAGS=YYY and --prefix (?) allows R to be compiled but It's not loaded into java.
```
gcc? -ITMP -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux \
??? -LTMP/R-4.3.2/lib `TMP/R-4.3.2/bin/R CMD config --cppflags` -shared -fPIC -o TMP/libRSession.so? -g RSession.c TMP/R-4.3.2/lib/libR.a
/usr/bin...