-
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
Unable to find the jansson headers #114
Comments
UPD> autoconf (GNU Autoconf) 2.69 |
Fix this error: |
Hi, I am currently on vacation but I will look at the spec file next week. Thanks for your issue. Peter |
To build the plugin on centOS 7 minimal you need to have all recommend development tools installed. However there is the other thing that centos 7 comes with librados-devel package version 0.94.5 which is pretty old and not supported by our plugin. So you need to find a librados-devel package in a newer version or build ceph by your own, which is straight forward but takes some time. Have a look at http://docs.ceph.com/docs/master/install/build-ceph/ for ceph build instructions. Keep in mind that centos 7 gcc version 4.8.5 is pretty old, so http://docs.ceph.com/docs/master/dev/cxx/ may be of interrest. |
Hi,
Centos 7 64bit, fresh install os.
Package jansson-2.10-1.el7.x86_64 already installed and latest version
Package jansson-devel-2.10-1.el7.x86_64 already installed and latest version
bash configure
...
checking for library containing strerror... none required
checking for inline... inline
checking for "dovecot-config"... /usr/lib64/dovecot/dovecot-config
checking whether OS supports plugin dependencies... yes
checking for valgrind... no
checking jansson.h usability... no
checking jansson.h presence... yes
configure: WARNING: jansson.h: present but cannot be compiled
configure: WARNING: jansson.h: check for missing prerequisite headers?
configure: WARNING: jansson.h: see the Autoconf documentation
configure: WARNING: jansson.h: section "Present But Cannot Be Compiled"
configure: WARNING: jansson.h: proceeding with the compiler's result
configure: WARNING: ## ----------------------------------------------------------------------------- ##
configure: WARNING: ## Report this to https://github.com/ceph-dovecot/dovecot-ceph-plugin/issues/new ##
configure: WARNING: ## ----------------------------------------------------------------------------- ##
checking for jansson.h... no
configure: error: Unable to find the jansson headers
The text was updated successfully, but these errors were encountered: