Thanks for your feedback! I've addressed 1 and 4 by clarifying the docs to say to install to /usr (as you suggested). I've addressed 2 and 3 by adding '#include <unistd.h>' to connection_pool.cpp and sas.cpp.
So did you successfully get Clearwater running on Mint? Matt From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: 20 August 2013 04:23 To: [email protected] Subject: [Clearwater] compiing from source Clearwater Team, Just wanted to pass on some experiences compiling from source. This was on Mint, an Ubuntu derivative - I don't intend to use Mint but I was using it for practice. No need to do anything with this unless you think there is a problem underneath it all. 1. If you install ZeroMQ from source, say into /opt, you also need to tell the Makefile for sprout where to find it. So, edit the sprout Makefile and add entries for CPPFLAGS and LDFLAGS to guide the system to your ZeroMQ install folder. (But see #4 below too.) 2. The compiler complained about the call to 'sleep' in connection_pool.cpp: connection_pool.cpp: In member function ‘void ConnectionPool::recycle_connections()’: connection_pool.cpp:366:12: error: ‘sleep’ was not declared in this scope I fixed it by adding a C-include for unistd.h in the source file. 3. Similarly for sas.cpp: sas.cpp: In member function ‘void SAS::Connection::writer()’: sas.cpp:153:13: error: ‘::close’ has not been declared sas.cpp:164:7: error: ‘::close’ has not been declared sas.cpp: In member function ‘bool SAS::Connection::connect_init()’: sas.cpp:213:5: error: ‘::close’ has not been declared Again, inserting unistd.h helps. 4. the unit tests do not like ZeroMQ installed anywhere other than /usr/lib/(libzmq.whatever). I had to install them here to get 'make test' to build. So if your documentation says to install ZeroMQ from source, it also needs to say to install it in /usr, eg via "./configure --prefix=/usr". --k
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
