-
Notifications
You must be signed in to change notification settings - Fork 426
Description
I am trying to install Singularity 3.5.3 on an Ubuntu 18.04 VM instance. I have downloaded and installed go Version 1.13 and the Singularity source tarball on Github. When I try running ./mconfig, I get the error:
markc@mark-vm:~/singularity$ ./mconfig
Configuring for project `singularity' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
checking: host C compiler... cc
checking: host C++ compiler... c++
checking: host Go compiler (at least version 1.13)... not found!
mconfig: could not complete configuration
I have updated both my PATH and LD_LIBRARY_PATH environment variables to include the relevant directories for Go. I have also tried using the newest go Version 1.14 as well without success.
Activity
dtrudg commentedon Mar 6, 2020
Please can you provide an
echo $PATH
andgo env
output?SpiderMonkey1975 commentedon Mar 6, 2020
steveheistand commentedon Mar 16, 2020
for automated installs of singularity HOME/GOCACHE/GOPATH/TMPDIR should all be defined before
trying to build and install.
as an fyi in case others find this while searching.
apiszcz commentedon Jul 31, 2020
Seeing same configuration check issue.
rohitfarmer commentedon Sep 10, 2020
I am having the same problem on Ubuntu 18.04
apiszcz commentedon Sep 10, 2020
rohitfarmer commentedon Sep 11, 2020
I am exactly following this tutorial https://sylabs.io/guides/3.5/user-guide/quick_start.html#quick-installation-steps from sylabs.io
kmanalo commentedon Sep 16, 2020
Thanks @steveheistand I should have paid attention to your comment more, that fixed my problem working on an Azure VM for fresh Singuarity installs.
nclowell commentedon Mar 11, 2021
I'm a similar boat to @rohitfarmer, I'm following the same tutorial and getting the same error.
I'm trying to install singularity 3.7.2 on a VM instance of Ubuntu 20.04.2 LTS and getting the following
Here's my output of go env
and echo $PATH
Can anyone help? Thanks!
apiszcz commentedon Mar 11, 2021
user exact version specified, NOT the latest
tahashmi commentedon Apr 7, 2021
If someone faces this issue, follow this installation guide.
apoliakov commentedon Nov 19, 2021
Hey all!
I just lost like 4 hours due to this problem and I wanted to leave something behind so that others don't go thru the same pain. I got the dreaded
I came here. I ran those instructions above like 3 times. But they didn't do it. My problem was that I was running a "security hardened linux" (CentOS 7) that did not allow execution of code from the
/tmp
directory. And the "go checker" runs something out of that directory. This isolates the failing step:In my case this happened because
/tmp
is mounted with thenoexec
flag. So there was nothing wrong with the version of go. The checker just crashed onpermission denied
and then reported the wrong error. Probably could use better error handling. So the fix is to either mount/tmp
withoutnoexec
(which for me happened in a systemd service) or just export likeTMP_DIR=/path/to/other/tmp
otavio-santini commentedon Mar 23, 2022
Hi all!
For me the only thing that works was use recursive cloning of syngularity files.
I used the command:
git clone --recursive https://github.com/sylabs/singularity.git
Another problem I faced was related to Seccomp, it was necessary to install it by using:
#'zardus/preeny#56 (comment)
Good luck!
rohitfarmer commentedon Mar 23, 2022
I recently had the same problem, so I had to completely uninstall GO and reinstall it following the procedure on Singularity docs. It worked afterward.
26 remaining items