Building and Installing the ACE_SSL Library
The first step for all platforms is to build and install the OpenSSL distribution. The ACE_SSL library must then be built according to the instructions below.
Unix
- Make sure the OpenSSL header file directory is in your compiler's include path, and that OpenSSL libraries are in your library link/load path (e.g.
LD_LIBRARY_PATH
). If you installed OpenSSL into a set of directories unknown by the compiler, set theSSL_ROOT
environment variable to point to the top level directory of your OpenSSL distribution, i.e. the one containing OpenSSL'sinclude
andlib
directories. - Build ACE as described above. When building ACE, add
ssl=1
to yourmake
command line invocation, or add it to yourplatform_macros.GNU
file. - Build the ACE_SSL library in the <tt>$ACE_ROOT/ace/SSL</tt> directory. The
ACE_ROOT
environment variable should be set prior to this point.
Microsoft Visual Studio
- Set the
SSL_ROOT
environment variable to the location of the directory containing the OpenSSLinc32
andout32dll
directories. - Add
ssl=1
to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.features
or$ACE_ROOT/local.features
file. - At the moment you are using OpenSSL v1.1 or newer also add
openssl11=1
to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.features
or$ACE_ROOT/local.features
file. - Re-run MPC to add support for building the ACE_SSL library to your MSVC++ workspaces and projects.
- Open the
ACE.sln
solution, and refer to the ACE build and installation instructions above for details on creating aconfig.h
configuration header for this platform. Once theconfig.h
file has been created, build theACE_SSL
project.
Embarcadero C++
Support for building ACE's ACE_SSL library and TAO's SSLIOP pluggable protocol with Embarcadero C++ does exist.
- Set the
SSL_ROOT
environment variable to the location of the directory containing the OpenSSLinc32
andout32
directories. - Add
ssl=1
to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.features
or$ACE_ROOT/local.features
file, and re-run MPC to add support for building the ACE_SSL library to your Embarcadero C++ makefiles. - Build ACE and TAO.
Building and Installing ACE and Its Auxiliary Libraries and Services (vanderbilt.edu)
网友评论