Question: Issues with local installation of SomaticSniper
0
gravatar for Max
2.6 years ago by
Max130
Max130 wrote:

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 • 810 views
ADD COMMENTlink modified 2.6 years ago by nnutter200 • written 2.6 years ago by Max130

I'm assuming your actual command sequence is:

mkdir somatic-sniper/build
cd somatic-sniper/build
cmake ../
make deps
make -j
make test
ADD REPLYlink written 2.6 years ago by Ram12k

Yes, that is correct.

ADD REPLYlink written 2.6 years ago by Max130
1
gravatar for nnutter
2.6 years ago by
nnutter200
St. Louis, MO
nnutter200 wrote:

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

ADD COMMENTlink written 2.6 years ago by nnutter200

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 REPLYlink written 2.6 years ago by Max130

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 REPLYlink modified 2.6 years ago • written 2.6 years ago by nnutter200
0
gravatar for Ram
2.6 years ago by
Ram12k
New York
Ram12k wrote:

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 COMMENTlink written 2.6 years ago by Ram12k

What error are you getting with make -j?

ADD REPLYlink written 2.6 years ago by Max130
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 588 users visited in the last hour