[omniORB] Installation and Configuration on RedHat 6.0

Sai-Lai Lo S.Lo@uk.research.att.com
13 Sep 1999 22:22:21 +0100


This is strange. I'm using gcc-2.95 with -O2 on RH 5.2 with no problems
(2.8.0pre2). All examples work fine (plus of course much more complex
programs).

$ /usr/local/gcc-2.95/bin/gcc -v
Reading specs from /usr/local/gcc-2.95/lib/gcc-lib/i686-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)

One thing you should watch out for with RH6 is that it comes with
glibc-2.1. It runs programs compiled and linked  with glibc-2.0, i.e. RH
5.2 fine. BUT if you compile on RH6 and link with a library, e.g. omniORB2
runtime, that was linked with glibc-2.0, the executable won't work.

Also, there shouldn't be any problem inherit in 2.8.0pre2 that prevents it
from working.

I wonder why it is so difficult to get omniNames to work:

1. Start omniNames 1ST TIME on machine "foobar"
      $ omniNames -start 23456

   Next time you restart, you don't have to specify the -start option
   it will reuse the same port.

2. On machine foobar2:
      $ eg3_impl -ORBInitialHost foobar -ORBInitialPort 23456

3. On machine foobar3:
      $ eg3_clt -ORBInitialHost foobar -ORBInitialPort 23456

That should work! Simple right????

Sai-Lai



>>>>> Kelly Burkhart writes:

> Are you able to get the echo examples working?  I am unable to get eg3 
> working when I compile optimized.  It (sort of) works when I replace the
> optimize flags in the makefile with -g.  (This is with 2.8 pre 2).

> I say sort of because it is not able to use an omniORB 2.7 omniNames
> running on my real machine.  I assume 2.8 applications should be able
> to use a 2.7 omniNames.  Is that correct?

> I just rebuilt today with a brand new gcc (2.95.1 19990816 release).
> I configured gcc as follows:

> --prefix=/usr/local/gcc --enable-shared --enable-threads \
> i586-pc-linux-gnu

> Any ideas?

> FWIW, I did find a gdb that works with threaded applications on RH6.
> Look here:

> ftp://ftp.valinux.com/pub/support/hjl/gdb

> -K




-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND