Hi Alvin,
Here is a script that I used. Unfortunately it is for 4.0.2 and I'm
running AIX 5.3 but there should not be any changes. I'm hoping you
can use this to spot how or why your configure and make invocations
are different.
I believe this has to be run as root because of the ulimit change.
Good luck,
Perry
#!/bin/sh
ulimit -S -d unlimited
export CONFIG_SHELL=/usr/local/bin/bash
( ../gcc-4.0.2/configure -v \
--disable-nls \
--with-libiconv-prefix=/usr \
--enable-languages=c,c++ && echo "configure returned $?" ) >
C-OUT 2>&1
echo CONFIG COMPLETE -- STARTING MAKE
echo CONFIG COMPLETE -- STARTING MAKE
echo CONFIG COMPLETE -- STARTING MAKE
echo CONFIG COMPLETE -- STARTING MAKE
echo CONFIG COMPLETE -- STARTING MAKE
( gmake bootstrap && echo "gmake returned $?" ) > M-OUT 2>&1 &
sleep 1
tail -f M-OUT
On Apr 27, 2006, at 9:06 AM, Belden, Alvin (MED US) wrote:
Hi Eljay,
Thanks for your reply. I built in a separate directory not in
the source tree of the directory where I untarred the distribution. I
did again just to be sure and still I get the errors below.
for file in
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/tree_as
soc_cntnr/constructor_destructor_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/in
clude/ext/pb_assoc/detail/type_utils.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/includ
e/ext/pb_assoc/detail/order_statistics_imp.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/
include/ext/pb_assoc/detail/basic_assoc_cntnr/d_find_fn_imps.hpp
/WORK/gcc/gcc-4
.1.0/libstdc++-v3/include/ext/pb_assoc/detail/basic_assoc_cntnr/
d_insert
_fn_imps
.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
basic_assoc
_cn
tnr/extract_key.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail
/basic_assoc_cntnr/erase_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ex
t/pb_assoc/detail/basic_assoc_cntnr/insert_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libst
dc++-v3/include/ext/pb_assoc/detail/basic_assoc_cntnr/
constructor_destru
ctor_fn_
imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
basic_asso
c_cntnr/info_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/d
etail/basic_assoc_cntnr/iterators_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/i
nclude/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp
/WORK/gcc/gcc-4.1
.0/libstdc++-v3/include/ext/pb_assoc/detail/basic_assoc_cntnr/
constructo
rs_destr
uctor_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/s
play_tree_/erase_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_ass
oc/detail/splay_tree_/splay_tree_.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/e
xt/pb_assoc/detail/splay_tree_/node.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include
/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc+
+-v3/include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp
/WORK/gcc/gcc-4.1.
0/libstdc++-v3/include/ext/pb_assoc/detail/splay_tree_/
splay_fn_imps.hpp
/WORK/g
cc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/splay_tree_/
split_
join_fn_
imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
splay_tree
_/info_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
splay_tree_/debug_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_as
soc/detail/splay_tree_/constructors_destructor_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/l
ibstdc++-v3/include/ext/pb_assoc/detail/typelist/
typelist_transform.hpp
/WORK/gc
c/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/typelist/
typelist_a
pply.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
typelist/ty
pelist_
filter.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/typelist
/typelist_at_index.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/det
ail/typelist/typelist_contains.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/
pb_assoc/detail/typelist/typelist_append.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/in
clude/ext/pb_assoc/detail/typelist/typelist_typelist_append.hpp
/WORK/gcc/gcc-4.
1.0/libstdc++-v3/include/ext/pb_assoc/detail/ds_trait_imp.hpp
/WORK/gcc/gcc-4.1.
0/libstdc++-v3/include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
resize
_fn_imps
.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_assoc/detail/
basic_hash_
ass
oc_cntnr/constructor_destructor_fn_imps.hpp
/WORK/gcc/gcc-4.1.0/libstdc++-v3/inc
lude/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
constructors_destructor_
fn_imps.
hpp ; do \
install_base=/usr/local/include/c++/4.1.0/./ext/pb_assoc ; \
relative_name=`echo $file | sed -e
"s|/WORK/gcc/gcc-4.1.0/libstdc++-v3/include
/ext/pb_assoc|.|g"` ;\
/WORK/gcc/gcc-4.1.0/install-sh -c -m 644 ${file}
${install_base}/${relative_na
me} ; done
/WORK/gcc/gcc-4.1.0/install-sh:
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_
assoc/detail/tree_assoc_cntnr/constructor_destructor_fn_imps.hpp does
not exist.
/WORK/gcc/gcc-4.1.0/install-sh:
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_
assoc/detail/basic_assoc_cntnr/constructor_destructor_fn_imps.hpp does
not exist
.
/WORK/gcc/gcc-4.1.0/install-sh:
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_
assoc/detail/basic_assoc_cntnr/constructors_destructor_fn_imps.hpp
does
not exis
t.
/WORK/gcc/gcc-4.1.0/install-sh:
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_
assoc/detail/basic_hash_assoc_cntnr/constructor_destructor_fn_imps.hpp
does not
exist.
/WORK/gcc/gcc-4.1.0/install-sh:
/WORK/gcc/gcc-4.1.0/libstdc++-v3/include/ext/pb_
assoc/detail/basic_hash_assoc_cntnr/
constructors_destructor_fn_imps.hpp
does not
exist.
make[4]: *** [install-headers] Error 1
make[4]: Leaving directory
`/WORK/gcc/gccbld/powerpc-ibm-aix5.2.0.0/libstdc++-v3
/include'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/WORK/gcc/gccbld/powerpc-ibm-aix5.2.0.0/libstdc++-v3
/include'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/WORK/gcc/gccbld/powerpc-ibm-aix5.2.0.0/libstdc++-v3
'
make[1]: *** [install-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/WORK/gcc/gccbld'
make: *** [install] Error 2
-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-
owner@xxxxxxxxxxx] On
Behalf Of John Love-Jensen
Sent: Wednesday, April 26, 2006 1:39 PM
To: Belden, Alvin (MED US); MSX to GCC
Subject: Re: Problems building 4.1.0 on AIX 5.2.0
Hi Alvin,
Don't run configure in the source code directory.
Create a peer build directory, run configure from the peer, ala
../gcc-4.1.0-src/configure --disable-werror --enable-bootstrap
--prefix=/usr/local --enable-languages=c,c++
You'll have to rm your current (tainted) source code directory, and
untar
the source again.
Note: the build directory doesn't have to be a peer. But it
should not
be
the source code directory itself, nor any subdirectory thereof.
HTH,
--Eljay
----------------------------------------------------------------------
---------
This message and any included attachments are from Siemens Medical
Solutions
USA, Inc. and are intended only for the addressee(s).
The information contained herein may include trade secrets or
privileged or
otherwise confidential information. Unauthorized review,
forwarding, printing,
copying, distributing, or using such information is strictly
prohibited and may
be unlawful. If you received this message in error, or have reason
to believe
you are not authorized to receive it, please promptly delete this
message and
notify the sender by e-mail with a copy to
Central.SecurityOffice@xxxxxxxxxxxxxxx
Thank you