Summary: | sci-chemistry/avogadro2-0.9.0 : CMake Error at /.../AvogadroLibsTargets.cmake:205 (message): | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Chemistry-Related Packages <sci-chemistry> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gentoo_bugs.nu_q5v, milan |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
CMakeOutput.log emerge-history.txt environment etc.portage.tbz2 sci-chemistry:avogadro2-0.9.0:20170429-092113.log temp.tbz2 fixes a cmake file to compile with gcc-6 and gcc-7 |
Description
Toralf Förster
![]() Created attachment 471256 [details]
emerge-info.txt
Created attachment 471258 [details]
CMakeOutput.log
Created attachment 471260 [details]
emerge-history.txt
Created attachment 471262 [details]
environment
Created attachment 471264 [details]
etc.portage.tbz2
Created attachment 471266 [details]
sci-chemistry:avogadro2-0.9.0:20170429-092113.log
Created attachment 471268 [details]
temp.tbz2
Created attachment 474360 [details, diff]
fixes a cmake file to compile with gcc-6 and gcc-7
This patch fixes the build of avogadrolibs, I think both 0.8.0 and 0.9.0 versions. However there is a problem with the cmake refereing for /usr/lib64/libjson.a and /usr/lib64/libjsoncpp.a
The/usr/lib64/libjson.a problem may be fixed by making a link to it from libjson-c.a
The /usr/lib64/libjsoncpp.a problem may be fixed by deleting the line -DBUILD_STATIC_LIBS=OFF in jsoncpp-1.8.0.build
Then also avogadro2 will build
The text in comment #8 actually belongs to the bug (is copied from there) Bug #588706 (avogadrolibs bug) but fixes also the problem for the avogadro2 so I left it here. *** This bug has been marked as a duplicate of bug 624242 *** |