Summary: | sci-chemistry/avogadro fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Marcus D. Hanwell (RETIRED) <cryos> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | sci-chemistry |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2009-07-09 20:39:46 UTC
Created attachment 197405 [details]
Build log
It seems that avogadro build system doesn't like out-of-source compilation. The fact is that config.h is generated and placed into the _build dir, so we have two alternative ways of fixing this bug. 1) fix the build system. 2) set CMAKE_IN_SOURCE_BUILD="1" into the ebuild. Why do you think Avogadro does not like out of source builds? That is how I do all my development. I am looking into the issue, but cannot reproduce it here. That file is included in quite a few other places too. Of course the config.h will be placed in the build directory, but it is also added as an include directory. I will look into the issue now, and see if I can spot anything. I am not able to reproduce, but this call should have used the application binary location, rather than the installation prefix. Fixing that means that the config.h file is not required by the plugin. Out of curiosity - are you both using GCC 4.4? I am still using GCC 4.3 here. I have committed an updated ebuild (no rev bump as it is a fix for a build failure), please try avogadro-0.9.7, v 1.3. This is also committed upstream and will be in the 0.9.8/1.0.0 release of Avogadro. Thanks. Please test, as I could not reproduce the bug here. |