Can't build 2geom from slackbuilds.org on Slackware 15.0
by M0M0 from LinuxQuestions.org on (#6H4W6)
When I try to build 2geom, I get:
Code:[ 45%] Building CXX object src/2geom/CMakeFiles/2geom.dir/utils.cpp.o
[ 45%] Linking CXX shared library lib2geom.so
[ 45%] Built target 2geom
[ 45%] Building CXX object tests/CMakeFiles/intersection-graph-test.dir/intersection-graph-test.cpp.o
[ 48%] Linking CXX executable intersection-graph-test
/usr/bin/ld: CMakeFiles/intersection-graph-test.dir/intersection-graph-test.cpp.o: in function `void testing::internal::DefaultPrintTo<Geom::Path>(testing::internal::WrapPrinterType<(testing::internal::DefaultPrinterType)0>, Geom::Path const&, std::ostream*) [clone .isra.0]':
intersection-graph-test.cpp:(.text._ZN7testing8internal14DefaultPrintToIN4Geom4PathEEEvNS0_15WrapPrinterTypeILNS0_18DefaultPrinterTypeE0EEERKT_PSo.isra.0[_ZN7testing8internal18CmpHelperEQFailureIN4Geom10PathVectorENS2_4PathEEENS_15AssertionResultEPKcS7_RKT_RKT0_]+0x10b): undefined reference to `testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
collect2: Fehler: ld gab 1 als Ende-Status zurick
make[2]: *** [tests/CMakeFiles/intersection-graph-test.dir/build.make:101: tests/intersection-graph-test] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:501: tests/CMakeFiles/intersection-graph-test.dir/all] Fehler 2
make: *** [Makefile:146: all] Fehler 2Is this just me or is there a general problem?
Code:[ 45%] Building CXX object src/2geom/CMakeFiles/2geom.dir/utils.cpp.o
[ 45%] Linking CXX shared library lib2geom.so
[ 45%] Built target 2geom
[ 45%] Building CXX object tests/CMakeFiles/intersection-graph-test.dir/intersection-graph-test.cpp.o
[ 48%] Linking CXX executable intersection-graph-test
/usr/bin/ld: CMakeFiles/intersection-graph-test.dir/intersection-graph-test.cpp.o: in function `void testing::internal::DefaultPrintTo<Geom::Path>(testing::internal::WrapPrinterType<(testing::internal::DefaultPrinterType)0>, Geom::Path const&, std::ostream*) [clone .isra.0]':
intersection-graph-test.cpp:(.text._ZN7testing8internal14DefaultPrintToIN4Geom4PathEEEvNS0_15WrapPrinterTypeILNS0_18DefaultPrinterTypeE0EEERKT_PSo.isra.0[_ZN7testing8internal18CmpHelperEQFailureIN4Geom10PathVectorENS2_4PathEEENS_15AssertionResultEPKcS7_RKT_RKT0_]+0x10b): undefined reference to `testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
collect2: Fehler: ld gab 1 als Ende-Status zurick
make[2]: *** [tests/CMakeFiles/intersection-graph-test.dir/build.make:101: tests/intersection-graph-test] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:501: tests/CMakeFiles/intersection-graph-test.dir/all] Fehler 2
make: *** [Makefile:146: all] Fehler 2Is this just me or is there a general problem?