redex: Installation error: Please install jsoncpp

Hi Team, I’m trying to install Redex in my Mac OSX(El Captain) using the tutorial given in http://fbredex.com/ . But I get this error.

screen shot 2016-06-03 at 1 50 36 am

I tried installing brew install jsoncpp

It shows jsoncpp is already installed

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 9
  • Comments: 19 (1 by maintainers)

Most upvoted comments

I was able to fix this issue on Mac OS X El Capitan 10.11.4 by simply installing the Xcode command-line tools, as instructed in README.md:

xcode-select --install

I had assumed that they were already installed so skipped this step in the setup. After running the command the compilation completes successfully.

@denversc worked for me on macOS Sierra and having both xcode 8 and 7.3.1 : ) Thanks!

@denversc At last your solution worked for me !! great !! šŸ‘

@marukami
Thanks.

My home brew version is 0.9.5

git:(master) brew info jsoncpp jsoncpp: stable 0.10.5 (bottled), HEAD Library for interacting with JSON https://github.com/open-source-parsers/jsoncpp /usr/local/Cellar/jsoncpp/0.10.5 (20 files, 640K) * Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/jsoncpp.rb

After update brew to 0.9.9, brew can find jsoncpp:1.6.5.

āžœ Documents brew info jsoncpp jsoncpp: stable 1.6.5 (bottled), HEAD Library for interacting with JSON https://github.com/open-source-parsers/jsoncpp /usr/local/Cellar/jsoncpp/0.10.5 (22 files, 583.2K) Poured from bottle on 2016-06-12 at 18:34:33 /usr/local/Cellar/jsoncpp/1.6.5 (22 files, 604.0K) * Poured from bottle on 2016-06-17 at 17:31:02 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/jsoncpp.rb

@dkmeteor That looks like it. The latest I found was 1.7.2 https://github.com/open-source-parsers/jsoncpp/tree/1.7.2. Brew tends to lag a bit.

My setup is brew info jsoncpp gives https://github.com/Homebrew/homebrew-core/blob/master/Formula/jsoncpp.rb I’m using Homebrew 0.9.9

Try brew uninstall jsoncpp and check brew doctor for any issue that might be there. Otherwise, you could clone and build from tag 1.6.5

sudo apt-get install libjsoncpp-dev works for me on Ubuntu 14.04

Same issue in Ubuntu 14.04 LTS