rlorigro / GFAse

Tool for globally phasing diploid assembly graphs with orthogonal data
Mozilla Public License 2.0
36 stars 4 forks source link

No package "jansson" error during build step #10

Closed bistace closed 1 year ago

bistace commented 1 year ago

Hello,

I wanted to try GFAse but I get an error during the make step on CentOS7 with gcc 9.2.0. Here is the relevant part of the log:

[ 15%] No patch step for 'project_bdsg'
config.status: creating config.mk
[ 15%] Performing configure step for 'project_bdsg'
config.status: creating htslib.pc.tmp
config.status: creating config.h
-- Checking for module 'jansson'
--   No package 'jansson' found
CMake Error at /env/products/cmake/3.19.1/share/cmake-3.19/Modules/FindPkgConfig.cmake:553 (message):
  A required package was not found
Call Stack (most recent call first):
  /env/products/cmake/3.19.1/share/cmake-3.19/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
  CMakeLists.txt:140 (pkg_check_modules)

Could you please help me solve this issue?

rlorigro commented 1 year ago

Hi,

Jansson is a dependency of one of our dependencies (a secondary or transitive dependency, so to speak). I believe it is the "dev" version of this library that you will need to install (libjansson-dev). The same will apply to any other messages like this you see during the installation.

bistace commented 1 year ago

Thanks, I will re-try the installation!

rlorigro commented 1 year ago

I noticed I've missed this in the Dependencies list on the Readme, so I will add it. Let me know if I missed anything else.

We also have a WDL and corresponding docker image here: https://github.com/meredith705/gfase_wdl/tree/75fea4e1e7746c9d48f81d8e29ba425d7c75b6f9

which will run the appropriate alignments and feed them to GFAse automatically (I will also add this to the Readme)