Problems With Installing Joinx On Centos6.
1
1
Entering edit mode
11.1 years ago
Gahoo ▴ 270

Hi there. I was trying to install MuSiC suit following Installation Of The Music Suite On Unsupported Linux Distributions. But I stuck in compiling and installing joinx. The dependencies should not be a problem. But the following command does not work out.

cmake joinx_source_dir -DBOOST_ROOT=boost_dir -DBoost_NO_SYSTEM_PATHS=on -DCMAKE_INSTALL_PREFIX=/usr/local/joinx

And I got the following error message:

CMake Error at CMakeLists.txt:72 (add_projects):
  Unknown CMake command "add_projects".

I don't know how CMake works. It seems "add_projects" is not a valid command in CMake, and I could not find any information about "add_projects". What was that exactly?

music • 2.9k views
ADD COMMENT
1
Entering edit mode
11.1 years ago
ernfrid ▴ 400

Included as part of joinx is the build-common set of cmake helpers (add_projects is part of that). Since this is a git submodule, it is likely you didn't obtain the files and it contains an empty directory.

There are two possible remedies.

  1. Use git to retrieve the build-common code by either redoing your clone using the recursive option git clone --recursive git@github.com:genome/joinx.git or using git submodule update --init build-common from within the main joinx directory.
  2. Download the build-common code from here: https://github.com/genome/build-common and put those files into the empty build-common directory in your joinx directory.
ADD COMMENT
0
Entering edit mode

Problems solved. Thank you. I tried git submodule update --init build-common, and it works.

ADD REPLY

Login before adding your answer.

Traffic: 2957 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