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_ROOTenvironment variable to point to the top level directory of your OpenSSL distribution, i.e. the one containing OpenSSL'sincludeandlibdirectories. - Build ACE as described above. When building ACE, add
ssl=1to yourmakecommand line invocation, or add it to yourplatform_macros.GNUfile. - Build the ACE_SSL library in the <tt>$ACE_ROOT/ace/SSL</tt> directory. The
ACE_ROOTenvironment variable should be set prior to this point.
Microsoft Visual Studio
- Set the
SSL_ROOTenvironment variable to the location of the directory containing the OpenSSLinc32andout32dlldirectories. - Add
ssl=1to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.featuresor$ACE_ROOT/local.featuresfile. - At the moment you are using OpenSSL v1.1 or newer also add
openssl11=1to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.featuresor$ACE_ROOT/local.featuresfile. - Re-run MPC to add support for building the ACE_SSL library to your MSVC++ workspaces and projects.
- Open the
ACE.slnsolution, and refer to the ACE build and installation instructions above for details on creating aconfig.hconfiguration header for this platform. Once theconfig.hfile has been created, build theACE_SSLproject.
Embarcadero C++
Support for building ACE's ACE_SSL library and TAO's SSLIOP pluggable protocol with Embarcadero C++ does exist.
- Set the
SSL_ROOTenvironment variable to the location of the directory containing the OpenSSLinc32andout32directories. - Add
ssl=1to your MPC$ACE_ROOT/bin/MakeProjectCreator/config/default.featuresor$ACE_ROOT/local.featuresfile, 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)








网友评论