-
Notifications
You must be signed in to change notification settings - Fork 18
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
Boost error while running make #119
Comments
I have updated gcc to 9.2.0 and still compile error exists. Error in |
I have put a new release online: In this release, the autogen.sh will automatically add the alternative boost directory to the makefile. All you have to do is specify the --with-boost path when running configure. |
Thank you! I'll try. |
I tried to use the --with-boost path, but I still get an error. |
I also encountered this problem, and tried the 3.0.11 version and did not solve it. |
That's odd! The compiler points to "/usr/include/boost/range/end.hpp". What argument did you specify with the "--with-boost" option? |
I am using
But when I make the same error as above, I try to update my boost, then make but it seems to be unsuccessful and can't make install
|
@Moefuru you don't need to include the "--with-boost" argument if your boost is installed at the default location. Did you still get the same error after reinstalling boost with the default settings? |
I got the error using the default settings, in configure
|
Ah! That error is different from the previous one. It's caused by the fact that your --with-boost points to the default installation at '/usr/' and your --with-boost-libdir points to libraries installed under '/usr/local/'. These versions might not be the same. Try running without any arguments first, so that the configure script uses only one version of the library. See how that works out. If you get a new error, tell me! |
The above command has not been carried with any parameters. |
OK then, I need you to tell me what is in the file "/etc/ld.so.conf" and what files are under "/etc/ld.so.conf.d/". This tells me where your default library location is. |
OK, what's in the files dyinst-x86_64.conf and kernel-3.10.0-957.el7.x86_64.conf ? |
OK, thank you! Unfortunately, none of these files contain a default library path. So I still don't know where the boost libraries are installed on your machine. I need you to provide more details. What commands did you use to install boost? Was it yum? We're basically looking for a file named libboost_thread-mt.so, but it has to be the right version. Commands that might help finding the boost libraries:
(takes a lot of time)
(requires a database update) |
This is some file information about boost, I hope it is useful.
|
I used to install boost with yum, but it seems that I can't solve the problem. So I compiled and installed the latest version. |
I see, you have a lot of different versions of boost installed. I presume 1.71.0 was the last version you installed? I think we need to manually tell the system that libraries can be found under '/usr/lib/'. We can do that by creating a file named "/etc/ld.so.conf.d/usr.conf", with contents "/usr/lib". To be safe, you'd better also remove the other versions of boost you installed. Especially the one under /usr/local/lib. Then run 'ldconfig'. This should automatically tell the configure script where to find the boost include files under /usr/include/boost and the library files under /usr/lib/. |
Thank you! I'll try. |
@supernovaZhangJiaXing |
Sorry, I did not follow this issue after that. In fact, my friend gave me a statically compiled dssp that day, so I did not try to compile it later. |
事实上,我已经在几个月前,从朋友那里得到了编译好的版本,并且测试是可以正常使用的,非常感谢您对这个问题的关注
发自我的iPhone
…------------------ Original ------------------
From: supernovaZhangJiaXing <[email protected]>
Date: Fri,Nov 20,2020 7:50 PM
To: cmbi/hssp <[email protected]>
Cc: Pony_Join <[email protected]>, Mention <[email protected]>
Subject: Re: [cmbi/hssp] Boost error while running make (#119)
@supernovaZhangJiaXing
Is your problem still ocuring with the latest release of hssp?
Sorry, I did not follow this issue after that. In fact, my friend gave me a statically compiled dssp that day, so I did not try to compile it later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I tried to install dssp on Cent OS 7. I got the error while running make:
I have tried the methods mentioned in #118 , downloaded boost 1.71.0 and installed to
$Home/boost
and configured with--with-boost=$HOME/boost
andmake -L
, but it still did not work and yet reported another error:Seems the hpp file was somewhere misworking.
:(
The text was updated successfully, but these errors were encountered: