I believe I discovered the root cause after downloading and building ACE and TAO libraries from the upstream sources, an experience that has caused me to appreciate Even More the work of Debian ACE+TAO maintainers. In the process, I discovered another minor issue identified at the bottom of this update.

First, forgot to mention in the initial report (should that matter)
Debian version: Wheezy(testing)
Debian arch: amd64

The problem is actually with package libnetsvcs-6.0.1 rather than ace-netsvcs as initially reported. This package should install a symlink to the library installed in /usr/lib from libnetsvcs.so to libnetsvcs-6.0.1.so.

After manually creating that symlink, the original code below taken from the ACE Programmer's Guide now runs (and correctly logs output as intended)
--------------------------------
logger.cpp (builds successfully with >LDFLAGS=-lACE make logger):
#define ACE_TRACEN 0
#include "ace/Log_Msg.h"

int ACE_TMAIN( int argc, char *argv[] )
{
ACE_LOG_MSG->open( argv[0], ACE_Log_Msg::LOGGER, ACE_DEFAULT_LOGGER_KEY );
  ACE_TRACE( "main" );

  ACE_DEBUG( (LM_DEBUG, "%IHi Mom\n") );
  ACE_DEBUG( (LM_INFO, "%IGoodnight\n") );

  return 0;
}

server.conf (instantiated via >ace_netsvcs -f server.conf):
dynamic Logger Service_Object * ACE:_make_ACE_Logging_Strategy() "-s foobar -f STDERR|OSTREAM|VERBOSE" dynamic Server_Logging_Service Service_Object * netsvcs:_make_ACE_Server_Logging_Acceptor() active "-p 20009"

client.conf (instantiated via >ace_netsvcs -f client.conf):
dynamic Client_Logging_Service Service_Object * netsvcs:_make_ACE_Client_Logging_Acceptor() active "-h localhost -p 20009"
--------------------------------

The other minor additional configuration issue I discovered is that package libkokyu-dev doesn't depend on libkokyu-6.0.1 (although all the other {ACE|TAO} -dev packages do depend on their underlying base library).

Regards,
-Ken Gregson

And seriously, Thanks for all the time you put in maintaining Debian for our entire community.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to