[tao-bugs] [autoconf build]: TAO-1.5.8 missing file from MPC/autoconf installation

[tao-bugs] [autoconf build]: TAO-1.5.8 missing file from MPC/autoconf installation

Post by Thomas Loc » Wed, 09 May 2007 03:38:55


'm finding the file tao/String_Const_Sequence_Element_T.h missing from
an autoconf-based installation of TAO-1.5.8. I see the file name in the
header list in TAO/tao/tao.mpc. Rerunning MPC seems to put that file
name into TAO/tao/Makefile.am. But running autoreconf does not seem to
get the file name to appear in TAO/tao/Makefile.in. This is probably due
to a slew of error messages coming from autoreconf (run with parameters
as suggested for some previous release which had configuration file
trouble). Details below and suggestions welcome!

- Tom

TAO VERSION: 1.5.8
ACE VERSION: 5.5.8

HOST MACHINE and OPERATING SYSTEM:
PC running Linux FC6 (kernel 2.6.20-1.2944.fc6)

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
same
COMPILER NAME AND VERSION (AND PATCHLEVEL):
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
autoreconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.6

THE $ACE_ROOT/ace/config.h FILE:
Generated from autoconf, but not relevant to issue
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
n/a
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features:
*_ROOT
TAO_ROOT, $ACE_ROOT/TAO
CIAO_ROOT, $TAO_ROOT/CIAO

AREA/CLASS/EXAMPLE AFFECTED:
Missing header file in installation.
Difficulty in recreating the autoconf makefiles.

DOES THE PROBLEM AFFECT:
COMPILATION?
Application compilation, yes.
LINKING?
No.
EXECUTION?
No.
OTHER (please specify)?
autoconf build environment.

SYNOPSIS:
tao/String_Const_Sequence_Element_T.h is missing from an autoconf
installation. Unable to run autoreconf.

DESCRIPTION:
I'm finding the file tao/String_Const_Sequence_Element_T.h missing from
an autoconf-based installation of TAO-1.5.8. I see the file name in the
header list in TAO/tao/tao.mpc. Rerunning MPC seems to put that file
into Makefile.am. But running autoreconf does not recreate
TAO/tao/Makefile.in. This is probably due to a slew of error messages
coming from autoreconf (run with parameters as suggested for some
previous release which had configuration file trouble).

REPEAT BY:
The build sequence for a typical autoconf build (for an RPM) is:

export ACE_ROOT=%{_builddir}/ACE_wrappers
export TAO_ROOT=$ACE_ROOT/TAO
mkdir $ACE_ROOT/build
pushd $ACE_ROOT/build
export CPPFLAGS='-DACE_USE_ISO9601_TIME'
../configure --prefix=%{prefix} --mandir=%{_mandir}
--disable-dependency-tracking
popd
export LD_LIBRARY_PATH=$ACE_ROOT/lib
pushd $ACE_ROOT/build
make
popd
rm -rf %{buildroot}
pushd $ACE_ROOT/build
make DESTDIR=%{buildroot} install

which results in the missing header file.

To reconstruct the autoconf makefiles from the original MPC
configuration files, the sequence looks like this:

export ACE_ROOT=%{_builddir}/ACE_wrappers
export TAO_ROOT=$ACE_ROOT/TAO
mkdir $ACE_ROOT/build
pushd $TAO_ROOT
$ACE_ROOT/bin/mwc.pl -type automake TAO_ACE.mwc
popd
pushd $ACE_ROOT
autoreconf -ivf
popd
pushd $ACE_ROOT/build
export CPPFLAGS='-DACE_USE_ISO9601_TIME'
../configure --prefix=%{prefix} --mandir=%{_mandir}
--disable-dependency-tracking
popd
export LD_LIBRARY_PATH=$ACE_ROOT/lib
pushd $ACE_ROOT/build
make
popd
rm -rf %{buildroot}
pushd $ACE_ROOT/build
make DESTDIR=%{buildroot} install

but apparent errors in running autoreconf seem to keep
$TAO_ROOT/tao/Makefile.in from being recreated:
 
 
 

1. [tao-bugs] [autoconf build]: TAO-1.5.8 missing file from MPC/autoconf installation

2. [tao-bugs] [autoconf build]: TAO-1.5.8 missing file fromMPC/autoconf installation

i Thomas,

Thanks for reporting this, I have fixed this. I have fixed this by just
adding the file by hand to Makefile.am, regeneration is not something we do
each time.

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl

*** Integrated compile and test statistics see http://remedy.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***


3. [tao-bugs] [autoconf] Installation issues with 1.5.0

4. [tao-bugs] [autoconf] Installation issues with 1.5.0

5. [tao-users] TAO autoconf build for solaris 8

6. [tao-bugs] [autoconf] Some files are not installed

7. [tao-bugs] TAO Build: TAO Build Fails on XP for MFC Debug

8. [tao-users] MPC + autoconf

9. [tao-users] [tao-bugs] BC++B 6.0: missing files during installation (1.3.5)

10. [ace-bugs] [ace-users] [tao-bugs] ACE/TAO build: Problems building on amd64/x86_64 Solaris 10

11. [ace-users] [ace-bugs] [tao-bugs] ACE/TAO build: Problems building on amd64/x86_64 Solaris 10

12. [ace-bugs] [tao-bugs] ACE/TAO build: Problems building on amd64/x86_64 Solaris 10

13. [tao-bugs] [tao-users] ACE 5.4.0 TAO 1.4 build problems in orbsvcs

14. [tao-bugs] Generating Windows VC8 Build Files Via MPC

15. [tao-bugs] TAO : TAO_Unbounded_WString_Sequence missing constructor (DEBUG build)