-
Notifications
You must be signed in to change notification settings - Fork 138
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
Error checking version boostlib #68
Comments
First off, if you are going to compile gearmand from source, you might as well get the latest version, which you can download from https://github.com/gearman/gearmand/releases Secondly, if you used yum to install boost, you probably didn't install the "devel" package. Try "sudo yum install boost-devel.x86_64" or similar. |
FWIW I see this same issue when compiling from scratch, using Alpine Linux:
|
The existence of /usr/include/boost/version.hpp doesn't mean you have everything you need to compile programs that use boost. On Alpine Linux, I think you need the boost-dev package in addition to the boost package. |
I had installed it. I ended up finding out that someone's already packaged it in their testing repo. To get it installed, I do the following now: echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk add --update gearmand@testing gearman-dev@testing Here is the repo with what they patched and the compilation options for the curious: |
They didn't do anything special except install the boost-dev package, which is what I suggested. Anyway, glad you found a solution. |
Hi. Did you try boost-program-options or similar package? https://www.rpmfind.net/linux/rpm2html/search.php?query=boost-program-options That is usually missing from dependencies downloaded before building and causes |
Bump. I am not sure if we can do anything for this one. Feels like maybe a dead issue. |
There's clearly something broken in autotools-generated scripts, especially in the configure itself around line 17342, where configure is desperately trying to figure out where boost libraries are. This was working in 1.1.11, but this is broken from 1.1.12 to 1.1.18 (most recent as of now). I was being able to build gearman on Solaris with boost 1.55-1.66 (any version) by patching the configure of the 1.1.18 like this: adding "BOOSTLIBDIR=/usr/local/boost/lib" (mine boost was installed in custom prefix) after line "if test "x$ax_boost_user_program_options_lib" = "x"; then". But this is purely hackish way of dealing with it, so I think the autotools templates that the configure is generated from should be patched or reconsidered. |
I had the same issue compiling 1.1.12 For whatever reason installing these packages allowed it to compile
|
Why would you be compiling 1.1.12? We're up to 1.1.18 now.
Quoting carpii (2019-02-02 12:14:06)
… I had the same issue compiling 1.1.12
boost-devel was installed but wasn't being detected, even when I pass
--with-boost
For whatever reason installing these packages allowed it to compile
yum install gcc-c++.x86_64 gperf
—
You are receiving this because you commented.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References
1. #68 (comment)
2. https://github.com/notifications/unsubscribe-auth/AAcvYCnKQEon7JiG3760-x92IsRA-qgfks5vJfGOgaJpZM4LUedJ
|
Understood, but the note above does say that 1.18 is affected also My note was more to help people in a similar situation than a bug report as such |
I've got the same error for version 1.1.19
at the same time
|
Hello! This issue probably should've been closed previously. I would call this a new issue since CentOS 7 and Debian 10 are very different, but, hey, we're here now. 😄 Unfortunately, I don't have a Dockerfile for building gearmand on Debian, so I don't have a solution ready. I don't have a Debian system readily available, and I don't have any real experience using Debian (everything is RHEL/CentOS with some Ubuntu where I work). We should probably add Debian to our CI workflow though. Are you willing to help with debugging this, @easterism ? Maybe try compiling from the GitHub master branch source? The first thing I'd probably recommend trying is updating |
Wait, are you actually compiling 1.1.19 and not 1.1.19.1? If so, you definitely want to download the 1.1.19.1 release source code. 1.1.19 wasn't packaged correctly for release and should be avoided. The Debian package description lists the following build dependencies:
Not sure if that's for Debian 10 or not, but are you sure you have all of those installed? You'd think Is there a reason why you want to compile from source instead of using the Debian package? |
@esabol I did it for master (1.1.19.1 for now) as well, same result.
no special reason, but i stuck with strange issue (like #343). Conditions: Debian package 1.1.18+ds single server at the same host, 3 workers, very rare usage. Suddenly php client wont connect. I checking
I've no idea why it happens but reinstall gearman-job-server temporarly help. Next 1-2 day it works well, but next sh... happens again. So I hope compile from source will help... but I've no success yet P.S. Its all about production server. On my dev server with completly same condition it works well. So looks like its a kind of magic :) |
Well, you didn't answer my question in my previous post:
Answering that question is step 1. |
Right, it doesn't!
@esabol thank you again! |
I am trying to install an extension Gearman:
Operating System: Centos 7
PHP: 5.6.28
Perform the following steps:
More details: http://pastebin.com/NFpbq20c
However, I have set BOOST 1.53
Why is this happening and how can I fix this?
The text was updated successfully, but these errors were encountered: