No CRAM-MD5 support for libsasl2 when compiling

2015-08-16 Thread F21
I am trying to build mesos 0.23. In my case, I am trying to build mesos and all of its dependencies manually, so I can build a package that contains everything. I am building cyrus sasl 2.1.26 like so: ./configure CC=gcc-4.8 CPPFLAGS=-I/usr/include/openssl

Re: No CRAM-MD5 support for libsasl2 when compiling

2015-08-16 Thread Jeff Schroeder
Try updating your CPPFLAGS with -I and the full path to those headers perhaps? Once I had both installed this worked for me, but I was not using nonstandard paths. On Sunday, August 16, 2015, F21 f21.gro...@gmail.com wrote: Hey Jeff, I do have all headers and libraries installed in

Re: No CRAM-MD5 support for libsasl2 when compiling

2015-08-16 Thread Jeff Schroeder
Yes, the same thing happened to me at first. You need both the headers (the dev package and .h files) and the actual libraries installed. On Sunday, August 16, 2015, F21 f21.gro...@gmail.com wrote: I am trying to build mesos 0.23. In my case, I am trying to build mesos and all of its

Re: No CRAM-MD5 support for libsasl2 when compiling

2015-08-16 Thread F21
Hey Jeff, I do have all headers and libraries installed in /home/user/Desktop/libsasl2 as they are compiled manually (I plan to pack the required files together with mesos into a package later on). I can see that ./configure does find the headers for libsasl2, but it can't see the plugins

Re: No CRAM-MD5 support for libsasl2 when compiling

2015-08-16 Thread F21
I did some poking around. Looks like configure compiles a small c program (crammd5_installed.c) and runs it to test whether sasl2 with cram-md5 support is available. The solution is to export SASL_PATH and add the location of the compiled libraries to LD_LIBRARY_PATH: ../configure