Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.9.4
-
None
-
Ubuntu 16.04 x86_64
Description
I downloaded and configured as:
./configure --prefix=/opt/apache/activemq-cpp-3.9.4
The configure completed with no problems, but the build failed with a couple of errors:
In file included from decaf/internal/net/ssl/openssl/OpenSSLParameters.cpp:18:0:
decaf/internal/net/ssl/openssl/OpenSSLParameters.h:27:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -W -Wall -Wextra -Wconversion -fPIC -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g -O2 -pthread -MT activemq/commands/libactivemq_cpp_la-ActiveMQTempQueue.lo -MD -MP -MF activemq/commands/.deps/libactivemq_cpp_la-ActiveMQTempQueue.Tpo -c activemq/commands/ActiveMQTempQueue.cpp -o activemq/commands/libactivemq_cpp_la-ActiveMQTempQueue.o >/dev/null 2>&1
decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp:21:29: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
On Ubuntu, the solution to the build failure is to install libssl-dev. However, I feel the configure script should require the presence of this file if the build will fail without it.