Error in installing minqa

I tried to install the package minqa because it is necessary to install other packages, but it resulted in the following error:

gfortran -fno-optimize-sibling-calls -fpic -g -O2 -c altmov.f -o altmov.o
make: gfortran: Ficheiro ou pasta inexistente
make: *** [/usr/lib64/R/etc/Makeconf:191: altmov.o] Erro 127
ERROR: compilation failed for package ‘minqa’

  • removing ‘/home/myname/R/x86_64-pc-linux-gnu-library/4.1/minqa’
    Warning in install.packages :
    installation of package ‘minqa’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpuVqMea/downloaded_packages’

Can anyone help me?

You are missing the gfortran compiler on your linux box. You need to install it using any of the installation commands appropriate for your linux distribution (yum, apt, zypper)

Alternatively you also can use the binaries from public RSPM (packagemanager.rstudio.com) in order to avoid the compilation step for most packages.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.