-
Notifications
You must be signed in to change notification settings - Fork 16
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
Configure complains about unary operator #12
Comments
Hmm, I can't tell why it isn't working. Your fix to the if test makes sense. Can you post your An alternative approach is to download and unpack the boost tarball in some completely unrelated directory and then add |
The unary operator message is caused by a small bug in the configure.ac. I think I fixed it now (still need a new release for it though), but it shouldn't interfere with compiling the code. acd7106 However what Ben said is correct. Using |
I just had a try on a newly installed Ubuntu 16.04 machine. The unary operator message is still here, and after my "fix" from above, I do this:
And I get this weird result :
The strange thing is that is seems to be able to find the boost libraries, yet still somehow complains about not being able to find them.. |
I also faced the config error
Using --with-boost=/public/home/lchen/software/boost_1_61_0, but facing same error. |
@jvhaarst I apologize, I didn't test the 'fix' I made previously. I just pushed a fix 90f7ea7 and tested it now and it seems to be okay on my end. Let me know if you still have issues. @conniecl This doesn't have anything to do with the previous error relative to boost. I think it is a gcc version issue that we need to resolve/update, though I'm pretty sure we have tested it with newer versions of gcc recently. For now, try and older version (4.4.7 mentioned in the readme) of gcc and we will fix it asap. |
@JustinChu Thanks for your adivise, I have changed the gcc to 4.47, it seems work well. And thanks you again |
@JustinChu I have just done a new test run, and your fixes work, I no longer see a unary operator warning and the boost libraries are used. So all is well, but you might want to add zlib to the checks. |
Thank you, @JustinChu! |
If I run configure, I get this error:
./configure: line 4899: test: !=: unary operator expected
That line is this one :
configure:if test $ac_cv_header_boost_unordered_unordered_map_hpp != yes; then
I tried to fix it with :
configure:if test "$ac_cv_header_boost_unordered_unordered_map_hpp" != yes; then
But then the configure script kept complaining about missing boost libraries, even if I downloaded the latest version, and placed in the source directory.
Without the fix it compiles fine, by the way.
The text was updated successfully, but these errors were encountered: