Building gcc 4.1.1

From: Bugs (bb1@humboldt.edu)
Date: Fri Jun 23 2006 - 10:13:30 EDT


Hello,
I have been trying to install gcc V4.1.1 on a ds25,
Tru64 5.1b PK5.

It builds for about 3-4 hours, then fails with the error
shown below.
If anyone has a successful build, could you send me your
configure and make arguments?

This is what I use:

gtar xvf gcc-4.1.1.tar
chown -R root.system gcc-4.1.1*
cd gcc-4.1.1
mkdir jun02
cd jun02
../configure --enable-shared --enable-libgcj --enable-threads=posix --disable-libjava
make -j 2 bootstrap

After a few hours:
.
.
.
configure: configuring in classpath
configure: running /bin/sh '../../../../libjava/classpath/configure'
--prefix=/usr/local '--cache-file=./config.cache'
'--build=alphaev68-dec-osf5.1b' '--host=alphaev68-dec-osf5.1b'
'--target=alphaev68-dec-osf5.1b' '--enable-multilib' '--enable-shared'
'--enable-libgcj' '--enable-threads=posix' '--disable-libjava'
'--enable-languages=c,c++,java,objc' '--program-transform-name=s,y,y,'
'--with-target-subdir=alphaev68-dec-osf5.1b' '--srcdir=../../../libjava'
'CPPFLAGS=' 'build_alias=alphaev68-dec-osf5.1b'
'host_alias=alphaev68-dec-osf5.1b' 'target_alias=alphaev68-dec-osf5.1b'
--disable-load-library --disable-debug --enable-default-toolkit=
--with-vm-classes=/local/prg/src/gcc-4.1.1/libjava:/local/prg/src/gcc-4.1.1/jun22/alphaev68-dec-osf5.1b/libjava
--disable-core-jni --disable-examples --with-glibj=build
--disable-gtk-peer --disable-qt-peer --enable-ltdl-convenience
--with-auxdir=/local/prg/src/gcc-4.1.1 --cache-file=.././config.cache
--srcdir=../../../../libjava/classpath
../../../../libjava/classpath/configure: syntax error at line 11740:
`QT_INCLUDE_DIR=$' unexpected
configure: error: /bin/sh '../../../../libjava/classpath/configure' failed
for classpath

==================================================

The actual code that it fails on is:
     if test "x$HAVE_QT4" = "xyes"; then
                   QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
       EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
.
.
.

Thanks for you help.

Bugs

Operating Systems Analyst for unix systems
Humboldt State Univ. Information Technology Services
Arcata, Calif.

email bb1@humboldt.edu



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:30 EDT