[tao-users] Problems building ACE and TAO on SuSE Linux 9.0

[tao-users] Problems building ACE and TAO on SuSE Linux 9.0

Post by James Eggl » Wed, 07 Apr 2004 19:35:30


i,

I'm having problems trying to build TAO (and in fact ACE as well) on SuSE
9.0.

I downloaded the lastest BFO version (so ACE 5.4.1 and TAO 1.4.1) and went
through the appropriate parts of the READMEs, web pages and so on for Linux.
Of the two build methods, I can't get either to work. :( So then I tried
(for simplicity) to just build ACE.5.4.1 alone. Again, no joy.

Trying to build ACE alone:
===================
1) For the autoconf system, going into build and doing "../configure"
results in a 'bad interpreter" message - looking at the first line in
configure, there seems to be an space between the "#!" and the "bin/sh"...
making this a "/" results in some minor progress but another error soon
appears "cannot run /bin/sh ../aux_config/config.sub" - this is a bit wierd.
BTW, I've used autoconf to build I build omniORB, so I don't *think* it's a
platform problem.

2) For the 'traditional' build system, I believe I have sucessfully set up
the env variables for ACE_ROOT an LD_LIBRARY_PATH, and the created links
for config.h to config_linux.h and platform_macros.GNU to
platform_linux.GNU, because typing "make" in the /ace directory kicks off 5
mins of activity with lots of compilation, and ultimately a libACE_5_4_1.so
is created in "/ACE_wrappers/ace".... but then something goes awry. Typing
"make" again (so all the compilation messages don't appear this time), I get
the messages:

make[1]: Entering directory `/home/jeggleston/Desktop/ACE/ACE_wrappers/ace'

Makefile: /home/jeggleston/Desktop/ACE/ACE_wrappers/ace/Makefile.ace

: command not foundsktop/ACE/ACE_wrappers/bin/ace_components: line 10:
'home/jeggleston/Desktop/ACE/ACE_wrappers/bin/ace_components: line 31:
syntax error near unexpected token `in
'home/jeggleston/Desktop/ACE/ACE_wrappers/bin/ace_components: line 31: `
case $1 in
make[1]: *** [ACE_COMPONENTS] Error 2
make[1]: Leaving directory `/home/jeggleston/Desktop/ACE/ACE_wrappers/ace'
make: *** [all] Error 2

I'm assuming that there is something missing from my system... or have I
just completely missed an earlier step?

Trying to build ACE and TAO
=====================
1) For the autoconf system (which I know is currently only for ACE), there
seems to be no "configure" file in the ACE_wrappers directory... this is a
bit wierd. Surely it should be there just to build ACE?

2) For the trad mehtod similar overall problems... I have managed to build a
libTAO, but there seems to be some shell script kung fu that isn't working.


I have looked in the mailing lists and no one else seems to be having these
sort of problems, and it is fair to say this is probably a beginners Linux
mistake as I'm primarily a Windows monkey in the Linux jungle. Having said
that, I've managed omniORB without too many issues... and my more
experienced collegues briefly had a look to no avail...

Can anyone help???
James.


____________________________________________
James Eggleston
VEGA Informations-Technologien GmbH
Hilpertstrasse 20A
64295 Darmstadt, Germany
Internet : www.vega.de
Tel. : +49 (0) 6151 8257-0
Fax : + 49 (0) 6151 8257-99

Tel. direct: + 49 (0) 6151 8257-14
e-mail: XXXX@XXXXX.COM
Notice of Confidentiality
This transmission is intended for the named addressee(s) only. It contains
information which may be confidential and which may also be privileged.
Unless you are a named addressee (or authorised to receive it for the
addressee) you may not co
 
 
 

[tao-users] Problems building ACE and TAO on SuSE Linux 9.0

Post by Balachandr » Wed, 07 Apr 2004 20:42:20

i


To build ACE with autoconf did you download ACE.tar.gz or ACE+TAO.tar.gz.
autoconf should be available only in ACE.tar.gz since only ace is covered
by autoconf.


THanks
Bala













































































 
 
 

[tao-users] Problems building ACE and TAO on SuSE Linux 9.0

Post by Ossama Oth » Thu, 08 Apr 2004 01:03:57

Hi James,



I just downloaded the ACE.tar.bz2 tarball and the configure script and
it ran on my RedHat 9 box without any problems. The first line in the
configure script should be:

#! /bin/sh

Note the space between the "!" and "/".

[snip]


It is not distributed with the ACE+TAO distribution since we've had
users in the past wonder why there is no TAO configure script. As such
we currently only distribute it with the ACE-only betas/releases.


It sounds like there may some shell issues with your SuSE installation
since we're able to run the scripts in question on multiple platforms
besides Linux (RedHat, Debian, etc) including AIX, HP-UX and Solaris.

What does "/bin/sh --version" print out? On my RedHat 9 box I get:

GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.

I did some web searching and found some potential solutions:

http://www.yqcomputer.com/ (see discussion at bottom)
http://www.yqcomputer.com/


HTH,
-Ossama
--
Ossama Othman <ossama @ dre . vanderbilt . edu>
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068 70E6 5EB7 5E71 F7A3 94A8
 
 
 

[tao-users] Problems building ACE and TAO on SuSE Linux 9.0

Post by James Eggl » Thu, 15 Apr 2004 21:56:11

i,

Just to report that this problem was solved by simply using the .tar.gz
download rather than the .zip. Everything works first time using that
download (obviously).

Using "unzip xxx.zip -d ACE" with the .zip file results in files that have
the wrong end of line terminators. Its obviously a beginners error- sorry!

In my defence, this only causes a problem when the build completes the first
compiling & linking parts and gets to the scripting stage - a bit baffling
for a beginner. I can only offer that the downloads page doesn't explicitly
say that the .zip is for Windows only; if this is the case, could this be
added??? (I know, it's a weak excuse :) ) I guess seasoned Linux types will
automatically download the .tar.gz and Windows people will go for the
.zip....

Anyway, thanks for all your suggestions in the meantime!
James.

-----Original Message-----
From: Balachandran Natarajan [mailto: XXXX@XXXXX.COM ]
Sent: 06 April 2004 13:38
To: XXXX@XXXXX.COM
Cc: XXXX@XXXXX.COM
Subject: Re: [tao-users] Problems building ACE and TAO on SuSE Linux 9.0


Hi

Linux.

To build ACE with autoconf did you download ACE.tar.gz or ACE+TAO.tar.gz.
autoconf should be available only in ACE.tar.gz since only ace is covered
by autoconf.


THanks
Bala

wierd.
a
5
libACE_5_4_1.so
get
`/home/jeggleston/Desktop/ACE/ACE_wrappers/ace'
a
working.
these
you