Once extracted, I tried following the build instructions from the
website and was met with only errors.
1. Building ACE:
$ export ACE_ROOT=/path/to/ACE_wrappers
$ cd $ACE_ROOT/ace
$ make
I get 701 lines of errors, here's some:
1. I get conflicting declaration 'typedef in ssize_t' from lots of
files.
2. ace/config.h: No such file or directory
3. declaration of C function 'int sigwait(sigset_t*)' conflicts with
previous declaration...
4. Tons more conflicting declarations
5. Redefinition errors
6. Final error is gmake[1]: *** [.shobj/Name_Proxy.o] Error 1
RHEL4 here on a x86_64 machine, nothing special.
2. Building $ACE_ROOT/apps/gperf/src:
Won't compile b/c there's "no rule to make target /path/to/
ACE_wrappers//include/makeinclude/platform_macros.GNU'. Stop."
3. executing make in the $TAO_ROOT directory:
Lots of errors about missing files, libraries, etc...
Obviously something MAJOR is completely messed up. What gives? I
followed the instructions on the website to the letter.
--
Andrew Troschinetz
Applied Research Laboratories
(512) 835-3410
Part of the steps listed include creating config.h and
platform_macros.GNU. See the section "Using the Traditional ACE/GNU
Configuration" in the ACE-INSTALL.html document (this lives in $ACE_ROOT
in the distribution) and the TAO FAQ:
http://www.theaceorb.com/faq/index.html#HowToBuildACEandTAOonLinux
Thanks,
Adam Mitz
Software Engineer
Object Computing, Inc.
Using the new install instructions I still get tons of errors:
gmake[1]: *** No rule to make target `../../../../bin/tao_idl', needed
by `FooC.inl'. Stop.
gmake: *** [CSD_Test_ThreadPool3_Idl] Error 2
gmake: *** Waiting for unfinished jobs....
gmake[1]: *** No rule to make target `../../../../bin/tao_idl', needed
by `FooC.inl'. Stop.
gmake: *** [CSD_Test_ThreadPool2_Idl] Error 2
gmake[1]: *** No rule to make target `../../../../bin/tao_idl', needed
by `FooC.inl'. Stop.
gmake: *** [CSD_Test_ThreadPool_Idl] Error 2
gmake[1]: *** No rule to make target `../../../bin/tao_idl', needed by
`testC.inl'. Stop.
Leaving directory `/opt/ace/TAO/tests/ORB_Local_Config/
Service_Dependency'
gmake[1]: Entering directory `/opt/ace/TAO/tests/IOR_Endpoint_Hostnames'
list_interfaces will not be built due to the following missing library:
ACE
GNUmakefile: /opt/ace/TAO/tests/IOR_Endpoint_Hostnames/
GNUmakefile.list_interfaces MAKEFLAGS=wl 2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/tests/IOR_Endpoint_Hostnames'
gmake[1]: Entering directory `/opt/ace/TAO/orbsvcs/tests/unit/Notify/
MC/MonitorManager'
MonitorManager_Server will not be built due to the following missing
library:
ACE
GNUmakefile: /opt/ace/TAO/orbsvcs/tests/unit/Notify/MC/MonitorManager/
GNUmakefile.MonitorManager_Server MAKEFLAGS=wl 2 - --jobserver-fds=4,5
-j
gmake[1]: Leaving directory `/opt/ace/TAO/orbsvcs/tests/unit/Notify/MC/
MonitorManager'
gmake[1]: Entering directory `/opt/ace/TAO/TAO_IDL'
TAO_IDL_FE will not be built due to the following missing library:
ACE
GNUmakefile: /opt/ace/TAO/TAO_IDL/GNUmakefile.TAO_IDL_FE MAKEFLAGS=wl
2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/TAO_IDL'
/opt/ace/TAO/TAO_IDL
gmake[1]: Entering directory `/opt/ace/TAO/tests/Bug_2936_Regression'
bug2936_exe will not be built due to the following missing library:
ACE
GNUmakefile: /opt/ace/TAO/tests/Bug_2936_Regression/
GNUmakefile.bug2936_exe MAKEFLAGS=wl 2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/tests/Bug_2936_Regression'
gmake[1]: Entering directory `/opt/ace/TAO/TAO_IDL'
TAO_IDL_BE will not be built due to the following missing library:
TAO_IDL_FE ACE
GNUmakefile: /opt/ace/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE MAKEFLAGS=wl
2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/TAO_IDL'
/opt/ace/TAO/TAO_IDL
gmake[1]: Entering directory `/opt/ace/TAO/TAO_IDL'
TAO_IDL_EXE will not be built due to the following missing library:
TAO_IDL_BE TAO_IDL_FE ACE
GNUmakefile: /opt/ace/TAO/TAO_IDL/GNUmakefile.TAO_IDL_EXE MAKEFLAGS=wl
2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/TAO_IDL'
/opt/ace/TAO/tao
/opt/ace/TAO/examples/Buffered_Oneways
/opt/ace/TAO/examples/CSD_Strategy/ThreadPool
/opt/ace/TAO/examples/CSD_Strategy/ThreadPool2
/opt/ace/TAO/examples/CSD_Strategy/ThreadPool3
gmake[1]: Entering directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool3'
gmake[1]: Entering directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool2'
GNUmakefile: /opt/ace/TAO/examples/CSD_Strategy/ThreadPool3/
GNUmakefile.CSD_Test_ThreadPool3_Idl MAKEFLAGS=wl 2 - --jobserver-
fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool3'
GNUmakefile: /opt/ace/TAO/examples/CSD_Strategy/ThreadPool2/
GNUmakefile.CSD_Test_ThreadPool2_Idl MAKEFLAGS=wl 2 - --jobserver-
fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool2'
gmake[1]: Entering directory `/opt/ace/TAO/examples/Buffered_Oneways'
gmake[1]: Entering directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool'
GNUmakefile: /opt/ace/TAO/examples/CSD_Strategy/ThreadPool/
GNUmakefile.CSD_Test_ThreadPool_Idl MAKEFLAGS=wl 2 - --jobserver-
fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/examples/CSD_Strategy/
ThreadPool'
GNUmakefile: /opt/ace/TAO/examples/Buffered_Oneways/
GNUmakefile.Buffered_Oneways_IDL MAKEFLAGS=wl 2 - --jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/examples/Buffered_Oneways'
gmake[1]: Entering directory `/opt/ace/TAO/tao'
TAO will not be built due to the following missing library:
ACE
GNUmakefile: /opt/ace/TAO/tao/GNUmakefile.TAO MAKEFLAGS=wl 2 - --
jobserver-fds=4,5 -j
gmake[1]: Leaving directory `/opt/ace/TAO/tao'
> Ah I see. I was using the more obvious (link is off the main webpage)
> install instructions found at http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/TAO-INSTALL.html
>
> Using the new install instructions I still get tons of errors:
It looks like you haven't build the TAO IDL compiler. Make sure you do
that before trying to build other tests. BTW, there are also
precompiled versions of ACE+TAO you can purchase at nominal costs from
the various vendors listed at
http://www.dre.vanderbilt.edu/support.html
so you might want to go this route if you're having problems.
Thanks,
Doug
> _______________________________________________
> tao-users mailing list
> tao-...@list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/tao-users
What you might want to do is go back to where you typed "make", and do
"make depend" first. This will generate dependencies locally.
Off the top of my head, general steps to build on make-based platforms
are:
1. unpack ACE/TAO/CIAO and MPC
2. set up config.h and platform_macros.GNU
3. set up environment variables
4. run mwc.pl on $TAO_ROOT/TAO_ACE.mwc
5. make depend
6. make
---
Chris Cleeland, Principal Software Engineer
http://www.theaceorb.com AND http://www.ociweb.com
I'm not trying to build any of the tests, I'm just trying to build/
install TAO. Shouldn't be too hard (I imagine).
On Mar 24, 2008, at 11:37 AM, Douglas C. Schmidt wrote:
>
> Hi Andrew,
>
>> Ah I see. I was using the more obvious (link is off the main webpage)
>> install instructions found at http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/TAO-INSTALL.html
>>
>> Using the new install instructions I still get tons of errors:
>
> It looks like you haven't build the TAO IDL compiler. Make sure you
> do
>> GNUmakefile.MonitorManager_Server MAKEFLAGS=wl 2 - --jobserver-
>> fds=4,5
>> -j
>>
>> gmake[1]: Leaving directory `/opt/ace/TAO/orbsvcs/tests/unit/Notify/
>> MC/
>> GNUmakefile.Buffered_Oneways_IDL MAKEFLAGS=wl 2 - --jobserver-
>> fds=4,5 -j
>>
> A pre-compiled route might be a good idea, but maybe as a last resort.
>
> I'm not trying to build any of the tests, I'm just trying to build/
> install TAO. Shouldn't be too hard (I imagine).
Right - you just need to make sure you do things in the proper order, e.g.:
. Build ACE
. Build GPERF (optional)
. Build TAO
. Build TAO IDL
. Build TAO's Object Services
before you try to run the tests, etc.
Thanks,
Doug
I just tried this:
$ cd $TAO_ROOT
$ $ACE_ROOT/bin/mwc.pl -type gnuace TAO_ACE.mwc
$ make depend
$ make
And things seem to be going along smoothly. Thanks!
On Mar 24, 2008, at 11:44 AM, Chris Cleeland wrote:
>
> On Mar 24, 2008, at 11:37 AM, Douglas C. Schmidt wrote:
>>
>>> Ah I see. I was using the more obvious (link is off the main
>>> webpage)
>>> install instructions found at http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/TAO-INSTALL.html
>>>
>>> Using the new install instructions I still get tons of errors:
>>
>> It looks like you haven't build the TAO IDL compiler. Make sure you
>> do
>> that before trying to build other tests.
>
> What you might want to do is go back to where you typed "make", and do
> "make depend" first. This will generate dependencies locally.
>
> Off the top of my head, general steps to build on make-based platforms
> are:
>
> 1. unpack ACE/TAO/CIAO and MPC
> 2. set up config.h and platform_macros.GNU
> 3. set up environment variables
> 4. run mwc.pl on $TAO_ROOT/TAO_ACE.mwc
> 5. make depend
> 6. make
>
> ---
> Chris Cleeland, Principal Software Engineer
> http://www.theaceorb.com AND http://www.ociweb.com
>
>
I haven't built from anything other than out of the repo in quite
awhile, so I honestly don't know.
> I just tried this:
>
> $ cd $TAO_ROOT
> $ $ACE_ROOT/bin/mwc.pl -type gnuace TAO_ACE.mwc
> $ make depend
> $ make
>
> And things seem to be going along smoothly. Thanks!
Great!
Just to let y'all know, that was probably the most responsive and
helpful mailing list experience I've ever had. While I may not be
looking forward to working with CORBA extensively in the future, I'm
glad I stumbled upon TAO early-on.
Well Chris,
It's significantly complicated for one thing. I get the impression
that the OMG never asked the people who were to use CORBA about what
they wanted before the went ahead and made the specification.
Also, this project has just been dumped on my head and I've got no
previous experience with either CORBA or LDAP (which this project will
also be using extensively). Not to mention the fact that I think the
goals of the project are misguided.
I've been tasked with replacing all bare calls to functions that write/
read to/from the disk with an interface that will handle that
functionality for us. That is, someone on some committee somewhere
decided that fopen()/fwrite()/fread() was just "too unmaintainable"
and tasked someone with creating this gargantuan CORBA/LDAP
application that now we have to interface with to get anything done.
Of course this CORBA/LDAP software was created out of shop so not only
do I have to learn CORBA and LDAP double time, but I also have to deal
with a mountain of Other Peoples' Code.
Fun times,
Andrew,
I believe that the source RPM here will build on RHEL4:
http://dist.bonsai.com/ken/ace_tao_rpm/index.html
There is a primer for building from source RPM here:
http://www.bonsai.com/wiki/index.php/Building_from_Source_RPM
In general, building from source rpm is very predicable.
Please let me know if you try this and have any problems.
Ken
--
Ken Sedgwick
Bonsai Software, Inc.
http://www.bonsai.com/ken/
(510) 610-4162
ken...@bonsai.com
Public Key: http://www.bonsai.com/ken/ken.asc
GPG Fingerprint: 851E 3B07 E586 0843 9434 5CC7 4033 3B9B 3F3F 9640
Fantastic! I encountered no problems what so ever.
I did get some warnings when installing the srpm though:
warning: ace-tao-5.6.3-1.src.rpm: V3 DSA signature: NOKEY, key ID
3f3f9640
warning: user ksedgwic does not exist - using root
warning: group ksedgwic does not exist - using root
... (repeat last two lines 12 more times)
--