Bug #1249

building MAUS-v0.5.0 - fails to find jsoncpp

Added by Kyberd, Paul about 11 years ago. Updated almost 11 years ago.

Build System
Target version:
Start date:
11 April 2013
Due date:
% Done:


Estimated time:
New Issue


ERROR: Couldn't find jsoncpp.
scons: Reading SConscript files ...
Checking whether the C++ compiler worksyes
Checking for C++ library json... no
ERROR: Couldn't find jsoncpp.
FAIL! See logs.x

build on FEDORA 17
I have done a yum install jsoncpp - which succeeded.
I think this error has occurred before but I can't see
a reference in the issues


install.log (2.79 MB) install.log Kyberd, Paul, 11 April 2013 16:10

Related issues

Related to MAUS - Bug #1262: Error while installing Maus0.5.1ClosedRogers, Chris26 April 2013


Updated by Kyberd, Paul about 11 years ago

doing a find -- shows the files appear to be in the third_party tree nad
none of them are empty

find: `./run/user/paul/gvfs': Permission denied


Updated by Rogers, Chris about 11 years ago

The problem is that ROOT install fails on Fedora:

In file included from include/TTF.h:30:0,
                 from /home/paul/research/mausV5/third_party/build/root_v5.30.03/graf2d/graf/src/TTF.cxx:23:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.
make: *** [graf2d/graf/src/TTF.o] Error 1
FAIL: Failed to configure/make

You need to do a manual root install (follow the script third_party/bash/21root.bash if you like).


Updated by Rogers, Chris about 11 years ago

Should say this is a known issue - we need to update ROOT version


Updated by Taylor, Ian about 11 years ago

A general, but hopefully helpful, comment for those that are seeing errors such as this, where an external dependency is missing.

On Redhat based machines (including Fedora), the rpm package that would provide the missing file can be determined by running:

yum provides */<missing_file_name>

This package can then be installed with:

yum install <package_name>

although this will obviously require root access or sudo privileges.

For apt users (Debian, Ubuntu), an equivalent command would be:

apt-file search <missing_file_name>

but you'll first have to install the apt-file tool:

apt-get install apt-file

Hope this is helpful,



Updated by Rogers, Chris about 11 years ago

  • Category set to Build System
  • Status changed from Open to Closed
  • Assignee set to Rogers, Chris
  • Target version set to Future MAUS release
  • % Done changed from 0 to 100

I think this is done (a workaround was proposed for build on Fedora 17). Long term fix we will upgrade ROOT version... sometime... when we get around to it...


Updated by Kyberd, Paul about 11 years ago

Work round failed ... so issue is still unresolved.
I went back to centos, but because this tends to be a bit slow on release it
is not ideal for new laptops. Scientific Linux the other supported release
also tends to have issues running on virtual machines.


Updated by Rogers, Chris about 11 years ago

  • Status changed from Closed to Open
  • % Done changed from 100 to 0

Well, I don't know quite what we can do - if your linux distribution does not work with ROOT then I don't quite know how to progress.


Updated by Taylor, Ian about 11 years ago

Sorry, I was tryign to help Paul with this, but I became distracted with MOM duties.

I have successfully installed all MAUS software on Fedora 17 and 18, so I know that this is do-able.

To make life easier, we can aim to do two things:

a) move to a new ROOT. As Chris said, this is in the works, and will happen in it's own time.

b) provide a list of dependencies. This can be as simple as:


and we provide some simple instructions for determining which packages are needed, depending on whether you are running a yum or apt based distro. This list can be compiled organically as we go along, when someone has an issue with a dependency being missing, they add it to the wiki, as well as solving their own problem.


Updated by Kyberd, Paul about 11 years ago

Ian's comments were useful and allowed me to make progress, but in the end did not solve the problem. I ran out of ideas (and time) so I retreated to something which worked. The fact that Ian is MOM means that he has other things to do than sort out problem with an unsupported version of Linux. I posted the response because of what I see as a real problem for people trying to get a version running locally. There are two versions of linux supported and there are good reasons for choosing those versions. But neither of them are the most reliable in terms of installation on a random piece of hardware. Not sure there is a solution to the problem, but I wanted to point out that I felt it was a problem.


Updated by Rogers, Chris about 11 years ago

Can I close this issue? I think it is fixed with the new ROOT version which was in 0.5.3.


Updated by Taylor, Ian about 11 years ago

Yes, this can be closed. I had no problem building v0.5.3 on Fedora 18. A list of file dependencies can be compiled at some point, but isn't necessary.


Updated by Rogers, Chris about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100


Feel free to amend the Install documentation.


Updated by Kyberd, Paul about 11 years ago

I haven't had time to try with Fedora 18, but close it and I'll reopen if required


Updated by Rajaram, Durga almost 11 years ago

  • Target version changed from Future MAUS release to MAUS-v0.5.5

Also available in: Atom PDF