Good weekend, everyone,
Thank you in advance, my dear in the AFNI community,
I am new to AFNI and can not figure out what’s going on when installing AFNI.
errors come out as follows (also see attached file please),
- installing the R
Reading package lists… Done
Building dependency tree
Reading state information… Done
r-base-dev is already the newest version (3.4.4-1ubuntu1).
r-cran-rmpi is already the newest version (0.6-6-4build1).
0 upgraded, 0 newly installed, 0 to remove and 313 not upgraded.
- rPkgsInstall -pkgs ALL
[i]Installing package into ‘/home/golbylab/R’
(as ‘lib’ is unspecified)
Warning: dependency ‘mvtnorm’ is not available
also installing the dependencies ‘units’, ‘sf’, ‘bridgesampling’, ‘spdep’
trying URL ‘http://cran.us.r-project.org/src/contrib/units_0.6-2.tar.gz’
Content type ‘application/x-gzip’ length 917316 bytes (895 KB)
downloaded 895 KB
trying URL ‘http://cran.us.r-project.org/src/contrib/sf_0.7-3.tar.gz’
Content type ‘application/x-gzip’ length 8166770 bytes (7.8 MB)
downloaded 7.8 MB
trying URL ‘http://cran.us.r-project.org/src/contrib/bridgesampling_0.6-0.tar.gz’
Content type ‘application/x-gzip’ length 1186306 bytes (1.1 MB)
downloaded 1.1 MB
trying URL ‘http://cran.us.r-project.org/src/contrib/spdep_1.0-2.tar.gz’
Content type ‘application/x-gzip’ length 1283061 bytes (1.2 MB)
downloaded 1.2 MB
trying URL ‘http://cran.us.r-project.org/src/contrib/brms_2.8.0.tar.gz’
Content type ‘application/x-gzip’ length 4333857 bytes (4.1 MB)
downloaded 4.1 MB
- installing source package ‘units’ …
** package ‘units’ successfully unpacked and MD5 sums checked
configure: units: 0.6-2
checking whether the C++ compiler works… yes
checking for C++ compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C++ preprocessor… g++ -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for stdbool.h that conforms to C99… no
checking for _Bool… no
checking for error_at_line… yes
checking for gcc… gcc -std=gnu99
checking whether we are using the GNU C compiler… yes
checking whether gcc -std=gnu99 accepts -g… yes
checking for gcc -std=gnu99 option to accept ISO C89… none needed
checking for XML_ParserCreate in -lexpat… yes
checking udunits2.h usability… no
checking udunits2.h presence… no
checking for udunits2.h… no
checking udunits2/udunits2.h usability… no
checking udunits2/udunits2.h presence… no
checking for udunits2/udunits2.h… no
checking for ut_read_xml in -ludunits2… no
configure: error: in `/tmp/Rtmppq3USj/R.INSTALL592f512d9946/units’:
configure: error:
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, …)
* rpm: udunits2-devel (Fedora, EPEL, …)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
–configure-args=‘–with-udunits2-lib=/usr/local/lib’
if the library was not found, and/or:
–configure-args=‘–with-udunits2-include=/usr/include/udunits2’
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
See `config.log’ for more details
ERROR: configuration failed for package ‘units’
- removing ‘/home/golbylab/R/units’
ERROR: dependency ‘mvtnorm’ is not available for package ‘bridgesampling’ - removing ‘/home/golbylab/R/bridgesampling’
ERROR: dependency ‘units’ is not available for package ‘sf’ - removing ‘/home/golbylab/R/sf’
ERROR: dependency ‘bridgesampling’ is not available for package ‘brms’ - removing ‘/home/golbylab/R/brms’
ERROR: dependency ‘sf’ is not available for package ‘spdep’ - removing ‘/home/golbylab/R/spdep’
The downloaded source packages are in
‘/tmp/RtmpxqAkR3/downloaded_packages’
++ Note: @ 11:11:07
This package has been installed on the computer: brms
Warning messages:
1: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘units’ had non-zero exit status
2: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘bridgesampling’ had non-zero exit status
3: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘sf’ had non-zero exit status
4: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘brms’ had non-zero exit status
5: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘spdep’ had non-zero exit status[/i]
Any suggestions will be highly appreicated.
Yours best,
Shun