Skip to content

Instantly share code, notes, and snippets.

@jbae11
Created August 2, 2017 15:39
Show Gist options
  • Save jbae11/0c81a6a44f5ef8c45a71e21a3dde9451 to your computer and use it in GitHub Desktop.
Save jbae11/0c81a6a44f5ef8c45a71e21a3dde9451 to your computer and use it in GitHub Desktop.
build error for cyborg 2
dkadkf@arfc-100 ~ $ echo "$SCALE"
:/home/dkadkf/SCALE-6.2.2
dkadkf@arfc-100 ~ $ cd github/cyborg
dkadkf@arfc-100 ~/github/cyborg (master) $ ls
build  cmake  CMakeLists.txt  example_reactor.xml  inputs  install.py  README.rst  scripts  src  tests
dkadkf@arfc-100 ~/github/cyborg (master) $ python install.py --orglib_root=~/SCALE-6.2.2/data/arplibs
/usr/bin/cmake
-- CMake Build type: 
-- Using /home/dkadkf/.local as CYCLUS_ROOT_DIR.
-- Found Cyclus Core Headers : /home/dkadkf/.local/include/cyclus
-- Found Cyclus Core Test Headers : /home/dkadkf/.local/include/cyclus
-- Found Cyclus Core Shared Data : /home/dkadkf/.local/share/cyclus
-- Found Cyclus Core Library : /home/dkadkf/.local/lib/libcyclus.so
-- Found Cyclus Test Libraries : /home/dkadkf/.local/lib/cyclus/libgtest.so/home/dkadkf/.local/lib/cyclus/libbaseagentunittests.so
-- LibXML++ find package args: LibXml2;REQUIRED
-- LibXML++ find package args: Glibmm;REQUIRED
-- Glibmm find package args: Glib;REQUIRED
-- Found glib-2.0: /home/dkadkf/anaconda3/include/glib-2.0, /home/dkadkf/anaconda3/lib/libglib-2.0.so
-- Glibmm find package args: SigC++;REQUIRED
-- Found SigC++ 
-- Found Glibmm 
-- Found LibXML++ 
--LIBS: /home/dkadkf/.local/lib/libcyclus.so;/usr/lib/x86_64-linux-gnu/libxml++-2.6.so;/usr/lib/x86_64-linux-gnu/libxml2.so;/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so;/home/dkadkf/anaconda3/lib/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libsigc-2.0.so
--LD_LIBRARY_PATH: 
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   program_options
--   filesystem
--   system
--    Boost Root: 
--    Boost Include directory: /usr/include
--    Boost Library directories: /usr/lib/x86_64-linux-gnu
--    Boost Program Options location: /usr/lib/x86_64-linux-gnu/libboost_program_options.so
--    Boost Filesystem location: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--    Boost Serialization location: 
-- A library with BLAS API found.
-- A library with LAPACK API found.
	Found LAPACK Libraries: /usr/lib/liblapack.so;/usr/lib/libblas.so
--    HDF5 Root: 
--    HDF5 Include directory: /home/dkadkf/anaconda3/include
--    HDF5 Library directories: /home/dkadkf/anaconda3/lib
--    HDF5 Libraries: /home/dkadkf/anaconda3/lib/libhdf5_hl.so;/home/dkadkf/anaconda3/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/dkadkf/anaconda3/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Found Sqlite3 header file in /home/dkadkf/anaconda3/include
-- Found Sqlite3 libraries: /home/dkadkf/anaconda3/lib/libsqlite3.so
--    SQLITE3 Include directories: /home/dkadkf/anaconda3/include
--    SQLITE3 Libraries: /home/dkadkf/anaconda3/lib/libsqlite3.so
CMake Error at CMakeLists.txt:155 (include):
  include called with wrong number of arguments.  include() only takes one
  file.


-- Using :/home/dkadkf/SCALE-6.2.2 as SCALE_ROOT_DIR.
SCALE_INCLUDE_DIR: 
SCALE JSON LIBRARY: SCALE_JSON_LIBRARY-NOTFOUND
-- SCALE was not found. Make sure SCALE_LIBRARY and SCALE_INCLUDE_DIRS are set.
-- SCALE_INCLUDE_DIRS was set to: 
-- SCALE_LIBRARIES was set to: 
CMake Error at cmake/FindSCALE.cmake:105 (MESSAGE):
  SCALE was not found.  Make sure SCALE_LIBRARY and SCALE_INCLUDE_DIRS are
  set.
Call Stack (most recent call first):
  CMakeLists.txt:160 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/dkadkf/github/cyborg/build/CMakeFiles/CMakeOutput.log".
See also "/home/dkadkf/github/cyborg/build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "install.py", line 142, in <module>
    main()
  File "install.py", line 139, in main
    install(args)
  File "install.py", line 64, in install
    shell=(os.name == 'nt'))
  File "/home/dkadkf/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/dkadkf/github/cyborg', '-DCMAKE_INSTALL_PREFIX=/home/dkadkf/.local', '-DCYCLUS_ROOT_DIR=/home/dkadkf/.local', '-DUSER_ORGLIB_DIR=/home/dkadkf/SCALE-6.2.2/data/arplibs']' returned non-zero exit status 1.
dkadkf@arfc-100 ~/github/cyborg (master) $ cd ~/SCALE
SCALE/       SCALE-6.2.2/ 
dkadkf@arfc-100 ~/github/cyborg (master) $ cd ~/SCALE-6.2.2/
dkadkf@arfc-100 ~/SCALE-6.2.2 $ ls
Ampx                  CentrmOptions.xml  data  exsite               images    Keno3d    MoreOptions.xml  python      ScaleRunResources.xml
AmpxRunResources.xml  cmds               docs  FileNameAliases.txt  include   lib       ParmOptions.xml  regression  uslstats
bin                   Copyrights.txt     etc   help                 Javapeno  Meshview  plugins          samples     vibe
dkadkf@arfc-100 ~/SCALE-6.2.2 $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment