Jerry Quinn created AMQCPP-618:
----------------------------------
Summary: Build failure on Ubuntu 16.04
Key: AMQCPP-618
URL: https://issues.apache.org/jira/browse/AMQCPP-618
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Build Support
Affects Versions: 3.9.4
Environment: Ubuntu 16.04 x86_64
Reporter: Jerry Quinn
Assignee: Timothy Bish
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)