[Ace-users] [ace-users] How to build and install ace without openssl

Klaus Grue grue at diku.dk
Tue Feb 12 03:36:30 CST 2008


Hi,

What is the *recommended* way of installing ACE *without* openssl
on Linux?

I have read
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html
which describes a "GNU Autoconf" method and a "Traditional ACE/GNU
Make Configuration" method.

I have tried the "GNU Autoconf" method (c.f. DESCRIPTION below) but
get error messages concerning missing openssl header files even
though I do my best to tell autoconf not to link against openssl.

I have also tried the "Traditional ACE/GNU Make Configuration"
method (c.f. DESCRIPTION below) but there is no "make install" target.

Finally, I have tried "make" followed by manual copying of
compiled files. That seems to work. But I suppose that is not
the recommended install method.

So one way of formulating my problem is that
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html
is silent about how to *install* when using the "Traditional ACE/GNU
Make Configuration" method.

Cheers,
Klaus



ACE VERSION
===========
5.5

HOST MACHINE and OPERATING SYSTEM
=================================
> uname -a
Linux pkr-linux 2.6.11.4-21.17-smp #1 SMP Fri Apr 6 08:42:34 UTC 2007
i686 i686 i386 GNU/Linux

TARGET MACHINE and OPERATING SYSTEM
===================================
Same as host machine and operating system

COMPILER NAME AND VERSION (AND PATCHLEVEL)
==========================================
> g++ --version
g++ (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)

THE $ACE_ROOT/ace/config.h FILE
===============================
config-linux.h

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
==========================================================
platform_linux.GNU

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
====================================================================
File does not exist

AREA/CLASS/EXAMPLE AFFECTED
===========================
Cannot find out how to build and install ACE without OPENSSL.

WHAT DOES THE PROBLEM AFFECT
============================
Compilation/installation of ace

SYNOPSIS
========
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html
does not explain how to build and install ACE without OPENSSL

DESCRIPTION
===========
The section entitled "Building and Installing ACE on UNIX" in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html
suggests two ways of building ACE:
(1) GNU Autoconf
(2) Traditional ACE/GNU Make Configuration

Method 2 allows to build but not to install:
> tar zxf ACE-5.5.tar.gz
> cd ACE_wrappers
> cp ace/config-linux.h ace/config.h
> cp include/makeinclude/platform_linux.GNU \
>    include/makeinclude/platform_macros.GNU
> export ACE_ROOT=`pwd`
> export LD_LIBRARY_PATH=${ACE_ROOT}/ace:${LD_LIBRARY_PATH}
> export LD_LIBRARY_PATH=${ACE_ROOT}/lib:${LD_LIBRARY_PATH}
> make
> make install
make: *** No rule to make target `install'.  Stop.

Method 1 does not allow to build:
> tar zxf ACE-5.5.tar.gz
> mkdir ACE_wrappers/build
> cd ACE_wrappers/build
> ../configure --prefix=${INSTALL_DIR} --without-openssl
> make ssl=0
In file included from ../../../ace/SSL/SSL_Asynch_BIO.cpp:3:
../../../ace/SSL/SSL_Asynch_BIO.h:29:25: openssl/bio.h:
No such file or directory
make[4]: *** [libACE_SSL_la-SSL_Asynch_BIO.lo] Error 1
make[4]: Leaving directory `..../ACE_wrappers/build/ace/SSL'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `..../ACE_wrappers/build/ace'
make[2]: *** [install] Error 2
make[2]: Leaving directory `..../ACE_wrappers/build/ace'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `..../ACE_wrappers/build'
make: *** [alternative] Error 2

REPEAT BY
=========
See DESCRIPTION above.

SAMPLE FIX/WORKAROUND
=====================
I have worked around the problem by using Method 2 (Traditional
ACE/GNU Make Configuration) followed by manual copying of files.



More information about the Ace-users mailing list