Issues with local installation of SomaticSniper
2
0
Entering edit mode
8.1 years ago
Max ▴ 140

I am working on a server on which I do not have root/admin privileges, so I'm attempting to do a local install of SomaticSniper in my work directory. I seem to be able to obtain the files from github, which creates a somatic-sniper directory with, among other things, a build-common subdirectory.

The documentation instructs me to do the following

mkdir somatic-sniper/build cd somatic-sniper/build cmake ../ make deps make -j make test


First, there is already a build directory there. Second, there are cmake subdirectories, so cmake is not treated as a command, therefore make fails.

I attempted the same within somatic-sniper/build-common (the rest of the commands the same) and wind up with the same errors, e.g. cmake command not found, etc. Please advise as to what I am doing incorrectly.

Thank you

SomaticSniper • 2.0k views
ADD COMMENT
0
Entering edit mode

I'm assuming your actual command sequence is:

mkdir somatic-sniper/build
cd somatic-sniper/build
cmake ../
make deps
make -j
make test

ADD REPLY
0
Entering edit mode

Yes, that is correct.

ADD REPLY
1
Entering edit mode
8.1 years ago
nnutter ▴ 210

You probably need to install CMake; it's listed as one of the build dependencies.

ADD COMMENT
0
Entering edit mode

Yes, I think that is the problem (or at least one of them). I'll try a local install of cmake and see if the rest of it works.

ADD REPLY
0
Entering edit mode

Your OS may provide a recent enough version of cmake as well. If you are on OS X, Homebrew (or similar) is a pretty invaluable tool for installing tools such as cmake.

ADD REPLY
0
Entering edit mode
8.1 years ago
Ram 38k

OK, the git repo does not come with a build directory. The mkdir creates it. I'm erroring out at make -j, but it's not the error you face. Also, there are no cmake subdirectories.

I think you're better of trying the entire procedure (from git clone to make test) afresh in a different directory.

ADD COMMENT
0
Entering edit mode

What error are you getting with make -j?

ADD REPLY

Login before adding your answer.

Traffic: 2444 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6