-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on Debian sid (CMake or Boost issue?) #25
Comments
There are some other recent bug reports similar to this; they were fixed by moving all the python code to a python module. -- are you using the latest atomspace? Problem is, of course, nothing there actually uses boost. The only thing that does use it is python, and attention does not link directly to python. |
Has anybody made progress on that? I'm having the same problem on Manjaro. |
@ngeiswei last time we talked, you said the problem went away, after the refactoring of the python code ... since attention no longer links to python, and thus, no longer links to boost, I can't imagine how this problem can arise, unless there is some left-over cruft in the build directory, or the install directories... This comment: opencog/opencog#3653 (comment) where I quote: "I had this problem on Manjaro, opencog/atomspace#2738 fixed it " |
the python refactoring that eliminated the boost dependencies was this one: opencog/atomspace#2738 |
i have the same problem on ubuntu 20.04, with current pull (master c7a557a) and had to use @mhatta 's fix described above for cmake to work. |
So you know I have pushed https://github.com/opencog/attention/tree/workaround-issue-25 with @mhatta workaround until this gets fixed (I'm willing to bite the bullet but I just have more important/interesting things to do ATM) that I'll keep rebased onto the master for the time being. |
This was patched just now in pull req #28. All that it really does is to work around a python bug. We need someone ho understands python to maintain the python code. (This is a python bug because only python uses those boost components. attention does not actually use them, so the proposed fix shouldn't be needed ...) |
The build of "attention" module fails on the current Debian sid:
Modifying
FIND_PACKAGE
inCMakeLists.txt
to something likeFIND_PACKAGE(Boost REQUIRED COMPONENTS system filesystem)
fixes this, but I'm not sure this is the way to go. The current version of CMake in sid is 3.16.3, Boost is 1.71.0.3.The text was updated successfully, but these errors were encountered: