Can't build 2geom from slackbuilds.org on Slackware 15.0
When I try to build 2geom, I get:
Code:
[ 45%] Building CXX object src/2geom/CMakeFiles/2geom.dir/utils.cpp.o |
It should built fine on latest stable
https://github.com/SlackBuildsOrg/slackbuilds/pull/4063 |
I built 2geom 5 days ago, worked fine.
Did you install the dependencies ok? |
Rebuild the dependencies, double-conversion, and gtest, did not help.
|
Quote:
|
would be good to see the verbose output of cmake and even the configure phase.
|
Since the routines which could not be linked had the namespace `testing::`, I added `-D2GEOM_TESTING=OFF` to the Slackbuild's cmake line. Using this modification, it build (and works) fine.
Not sure what the actual problem was, but since the tests are not run anyway, their building should probably be removed from the Slackbuild script anyway. |
It seems you missed gtest?
|
No, gtest is installed. I can also link arbitrary objects against it without any problem (so the linker does normally find it). The header files are also found when building 2geom. Just the linking seems to fail.
|
Although not really understanding why, but sometimes, when compiling inkscape I had to remove the old inkscape package first as 2geom did not get built properly (it was omitted/skipped).
Does it help to remove the old 2geom package first, before compiling the new one? (hmmm; at my end on current the error does not show up, and compiling works when 2geom is present; so dunno whether this would work) |
When compiling Inkscape 1.3.2 with a modified SlackBuild from SBo, it didn't build successfully until I enabled -DWITH_INTERNAL_2GEOM=ON in the cmake options. I forgot what was causing the original to not build though.
--ltlnx |
All times are GMT -5. The time now is 09:15 PM. |