compilation errors on alcaro branch

Issue #42 resolved
skaluzka created an issue

hi,

I am not able to compile code from alcaro branch (49d0d2c). I am facing below errors:

[kaluzka@archbang build]$ cmake ..
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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 Tclsh: /bin/tclsh (found version "8.6") 
-- Found TCL: /usr/lib64/libtcl.so  
-- Found TCLTK: /usr/lib64/libtcl.so  
-- Found TK: /usr/lib64/libtk.so  
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
--   thread
--   wave
CMake Warning at doc/CMakeLists.txt:4 (message):
  The documentation won't be built because pandoc was not found.


-- Configuring done
-- Generating done
-- Build files have been written to: /home/kaluzka/devel/public/git/vera/build
[kaluzka@archbang build]$ make
Scanning dependencies of target vera
[  1%] Building CXX object src/CMakeFiles/vera.dir/structures/SourceFiles.cpp.o
[  3%] Building CXX object src/CMakeFiles/vera.dir/structures/TokensIterator.cpp.o
In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,
                 from /usr/include/boost/python/ssize_t.hpp:9,
                 from /usr/include/boost/python/object.hpp:8,
                 from /home/kaluzka/devel/public/git/vera/src/structures/Document.h:23,
                 from /home/kaluzka/devel/public/git/vera/src/structures/TokensIterator.h:12,
                 from /home/kaluzka/devel/public/git/vera/src/structures/TokensIterator.cpp:8:
/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
 # include <pyconfig.h>
                       ^
compilation terminated.
src/CMakeFiles/vera.dir/build.make:80: recipe for target 'src/CMakeFiles/vera.dir/structures/TokensIterator.cpp.o' failed
make[2]: *** [src/CMakeFiles/vera.dir/structures/TokensIterator.cpp.o] Error 1
CMakeFiles/Makefile2:1015: recipe for target 'src/CMakeFiles/vera.dir/all' failed
make[1]: *** [src/CMakeFiles/vera.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
[kaluzka@archbang build]$ 

could you please have a look? I have also found probably related/similar issue on stackoverflow:

http://stackoverflow.com/questions/5238160/boost-python-linking

are you able to fix that? thanks in advance for any comments

Comments (3)

  1. Log in to comment