← Back to team overview

yade-dev team mailing list archive

[Bug 1256067] [NEW] Problem compiling the code, message error "-- Configuring incomplete, errors occurred!"

 

Public bug reported:

Hi all, 
I don't succeed to compile the code from the actual source code (, an error message tells me : "Could NOT find BZip2", but bzip2 is installed on my computer, so I don't understand. Maybe it comes from something else in the error message, but that the only thing I found myself. 
I am using Ubuntu 12.04.3 LTS
The full description of what I am doing and what it gives (it is the same if I try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

raphael@GRP3723:~/yade-source/New/20131128Version$ make install
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib/libpython2.7.so 
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Version is set to 2013-11-28.git-502e3ef
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/libgl2ps.so 
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Found NumPy: version "1.6.1" /usr/lib/python2.7/dist-packages/numpy/core/include
-- Found Loki: /usr/include 
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   python
--   thread
--   date_time
--   filesystem
--   iostreams
--   regex
--   serialization
--   system
--   Boost_VERSION: 104601
--   Boost_LIB_VERSION: 1_46_1
--   Boost_INCLUDE_DIRS: /usr/include
--   Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:96 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Erreur 1

** Affects: yade
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1256067

Title:
  Problem compiling the code, message error "-- Configuring incomplete,
  errors occurred!"

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Hi all, 
  I don't succeed to compile the code from the actual source code (, an error message tells me : "Could NOT find BZip2", but bzip2 is installed on my computer, so I don't understand. Maybe it comes from something else in the error message, but that the only thing I found myself. 
  I am using Ubuntu 12.04.3 LTS
  The full description of what I am doing and what it gives (it is the same if I try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

  raphael@GRP3723:~/yade-source/New/20131128Version$ make install
  -- The C compiler identification is GNU
  -- The CXX compiler identification is GNU
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Found PythonLibs: /usr/lib/libpython2.7.so 
  -- Found PythonInterp: /usr/bin/python (found version "2.7.3")
  -- Try OpenMP C flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Try OpenMP CXX flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Found OpenMP: -fopenmp 
  -- Looking for Q_WS_X11
  -- Looking for Q_WS_X11 - found
  -- Looking for Q_WS_WIN
  -- Looking for Q_WS_WIN - not found.
  -- Looking for Q_WS_QWS
  -- Looking for Q_WS_QWS - not found.
  -- Looking for Q_WS_MAC
  -- Looking for Q_WS_MAC - not found.
  -- Found Qt4: /usr/bin/qmake (found version "4.8.1")
  -- Version is set to 2013-11-28.git-502e3ef
  -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
  -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
  -- Looking for gethostbyname
  -- Looking for gethostbyname - found
  -- Looking for connect
  -- Looking for connect - found
  -- Looking for remove
  -- Looking for remove - found
  -- Looking for shmat
  -- Looking for shmat - found
  -- Looking for IceConnectionNumber in ICE
  -- Looking for IceConnectionNumber in ICE - found
  -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
  -- GTS using gts-config /usr/bin/gts-config
  -- Using GTS from /usr
  -- Found GL2PS: /usr/lib/libgl2ps.so 
  -- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
  -- Found NumPy: version "1.6.1" /usr/lib/python2.7/dist-packages/numpy/core/include
  -- Found Loki: /usr/include 
  -- Boost version: 1.46.1
  -- Found the following Boost libraries:
  --   python
  --   thread
  --   date_time
  --   filesystem
  --   iostreams
  --   regex
  --   serialization
  --   system
  --   Boost_VERSION: 104601
  --   Boost_LIB_VERSION: 1_46_1
  --   Boost_INCLUDE_DIRS: /usr/include
  --   Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so
  -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
  CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
    Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
  Call Stack (most recent call first):
    /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    CMakeLists.txt:96 (FIND_PACKAGE)

  
  -- Configuring incomplete, errors occurred!
  make: *** [cmake_check_build_system] Erreur 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1256067/+subscriptions


Follow ups

References