Hi Rick, Daniel,
thank you both for your insight on the issue!
RE R installation: R was installed already before I started anything. Is there any environment variable I should set for the source build to know where to find it?
R (the environment call) is in
/usr/bin, my R folder is in
/usr/lib (
/usr/lib/R is the R folder with its
lib and
modules subfolders). In one of my attempts I set cmake to point to
/usr/lib, but didn't seem to change anything (maybe because I didn't understand the use of the variable):
cmake -DCMAKE_INSTALL_RPATH='/usr/lib'
Rick, I tried what you suggested, but it didn't work. Of note, all of the listed packages in
other_builds/OS_notes.linux_ubuntu_20_64 were already installed. I then proceeded to do:
cp other_builds/Makefile.linux_ubuntu_16_64_glw_local_shared Makefile
make -j20 itall 2>&1 | tee out.make.txt
make install
But the final make returned again:
SUMA_Makefile:33: *** Recursive variable 'CC' references itself (eventually). Stop.
make[1]: Leaving directory '/tmp/general_preproc_build_2023-01-05_21-18-44/afni/source/src/SUMA'
/bin/cp: cannot stat 'SUMA/libgts.a': No such file or directory
/bin/cp: cannot stat 'SUMA/libgts.a': No such file or directory
make: *** [Makefile.INCLUDE:3833: libgts.a] Error 1
Something else I could try?
Stefano