Skip to content

Commit

Permalink
Update yaml-cpp version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Brochet committed Jan 20, 2016
1 parent d54641a commit bc9acc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions external/build-external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# YAML

curl -O https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz
tar xf yaml-cpp-0.5.1.tar.gz
curl -O -J -L https://github.com/jbeder/yaml-cpp/archive/release-0.5.3.tar.gz
tar xf yaml-cpp-release-0.5.3.tar.gz

cd yaml-cpp-0.5.1
cd yaml-cpp-release-0.5.3
mkdir build
cd build

Expand All @@ -15,7 +15,7 @@ make -j4
make install

cd ../..
rm yaml-cpp-0.5.1.tar.gz
rm yaml-cpp-release-0.5.3.tar.gz

# TCLAP
curl -L "http://downloads.sourceforge.net/project/tclap/{tclap-1.2.1.tar.gz}?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ftclap%2Ffiles%2F&ts=1431017326&use_mirror=freefr" -o "#1"
Expand Down

4 comments on commit bc9acc4

@sdevissc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried to install plotIt with the latest changes, I get a yaml-related crash:

curl: Saved to filename 'yaml-cpp-release-0.5.3.tar.gz'
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/gcc
-- Check for working C compiler: /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/c++
-- Check for working CXX compiler: /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.57.0
-- Found the following Boost libraries:
-- Performing Test FLAG_WEXTRA
-- Performing Test FLAG_WEXTRA - Success
CMake Error at CMakeLists.txt:311 (export):
export Unknown arguments.

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.

Does someone reproduce this?

Thanks,

S.

@blinkseb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been able to reproduce, thanks for the report. Until I fix it, you can edit the build-external.sh file, and replace cmake on line 12 by cmake28. On ingrid it fixes the issue for me.

@sdevissc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I had finally found as well that using cmake28 solves the problem, I should have reported it here, sorry about that.

@blinkseb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reported the issue upstream: jbeder/yaml-cpp#361

Please sign in to comment.