Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-users] How to compile TAO

427 views
Skip to first unread message

Felipe Augusto Pereira de Figueiredo

unread,
Nov 24, 2008, 7:04:22 PM11/24/08
to tao-...@list.isis.vanderbilt.edu
Hi everybody,

I'm trying to compile TAO in order to learn more about CORBA. I follwed the procedure on http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#platforms

Building and Installing ACE on UNIX

As of ACE 5.4, you can choose between two methods of building ACE on UNIX:
  1. GNU Autoconf
  2. Traditional ACE/GNU Make Configuration
The build process for Windows is different from both of the UNIX methods.

Building ACE with GNU Autoconf

...
...
  1. cd to the top-level ACE_wrappers directory.
  2. Create a subdirectory to hold your build's configuration and built ACE version, and then change to the new directory:
           mkdir build
    cd build
  3. ../configure [options]
____________________________________________________________________________________________________________________________________________________________________________

But until now I couldn't run any example because when I try to create the build files by using:

bin/mwc.pl -type gnuace

I get the following messages:
____________________________________________________________________________________
Using .../TAO/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
TAO_ROOT was used in the configuration file, but was not defined.
CIAO_ROOT was used in the configuration file, but was not defined.
ACE_ROOT was used in the configuration file, but was not defined.
DDS_ROOT was used in the configuration file, but was not defined.
dynamic_types directory /bin/MakeProjectCreator not found.
dynamic_types directory /MPC not found.
ERROR: Invalid type: gnuace
mwc.pl v3.6.45
____________________________________________________________________________________

Then I tried: bin/mwc.pl -type make
and then the following appears:
____________________________________________________________________________________
Using .../TAO/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
TAO_ROOT was used in the configuration file, but was not defined.
CIAO_ROOT was used in the configuration file, but was not defined.
ACE_ROOT was used in the configuration file, but was not defined.
DDS_ROOT was used in the configuration file, but was not defined.
dynamic_types directory /bin/MakeProjectCreator not found.
dynamic_types directory /MPC not found.
Generating 'make' output using default input
GettingStarted.mpc: line 1:
ERROR: Unable to locate parent: portableserver
ERROR: Unable to process GettingStarted.mpc
ERROR: Unable to process: default input
____________________________________________________________________________________


What I'm doing wrong? Could anyboby help me? What is the correct way to get TAO running on my PC?
PS.: I'm using Ubuntu 8.04 LTS Desktop Edition and ACE+TAO-5.6.6 (Micro Release Kit).

Many thanks and Best Regards!

Felipe Augusto


Steve Totten

unread,
Nov 24, 2008, 9:36:44 PM11/24/08
to Felipe Augusto Pereira de Figueiredo, tao-...@list.isis.vanderbilt.edu
Hello Filipe,

Felipe Augusto Pereira de Figueiredo wrote:
> Hi everybody,
>
> I'm trying to compile TAO in order to learn more about CORBA. I follwed
> the procedure on
> http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#platforms

> <http://www.dre.vanderbilt.edu/%7Eschmidt/DOC_ROOT/ACE/ACE-INSTALL.html#platforms>

<snip/>

> But until now I couldn't run any example because when I try to create
> the build files by using:
>
> bin/mwc.pl -type gnuace
>
> I get the following messages:
> ____________________________________________________________________________________
> Using .../TAO/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
> TAO_ROOT was used in the configuration file, but was not defined.
> CIAO_ROOT was used in the configuration file, but was not defined.
> ACE_ROOT was used in the configuration file, but was not defined.
> DDS_ROOT was used in the configuration file, but was not defined.
> dynamic_types directory /bin/MakeProjectCreator not found.
> dynamic_types directory /MPC not found.
> ERROR: Invalid type: gnuace
> mwc.pl v3.6.45

You are missing some environment variable definitions.

<snip/>

> What I'm doing wrong? Could anyboby help me? What is the correct way to
> get TAO running on my PC?

> PS.: I'm using Ubuntu 8.04 LTS Desktop Edition and ACE+TAO-5.6.6 (*Micro
> Release Kit*).


>
> Many thanks and Best Regards!

The simple build instructions in OCI's TAO FAQ may help you:

http://www.theaceorb.com/faq/index.html#HowToBuildACEandTAOonLinux

The instructions are for building ACE+TAO on Linux, but you should
be able to adapt them for other Unix or Unix-like platforms.

Good luck!

Steve
--
----------------------------------------------------------------
Steve Totten, Principal Software Engineer and Partner
Object Computing, Inc. (OCI), St. Louis, MO, USA
http://www.ociweb.com/ http://www.theaceorb.com/
----------------------------------------------------------------

0 new messages