From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bugs Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Building gcc 4.1.1 Date: Mon, 10 Jul 2006 13:23:37 -0700 (Pacific Standard Time) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: sea.gmane.org 1152563071 23009 80.91.229.2 (10 Jul 2006 20:24:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2006 20:24:31 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jul 10 22:24:24 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1G02Ig-0002TV-3L for gotm-tru64-unix-managers@gmane.org; Mon, 10 Jul 2006 22:24:15 +0200 Original-Received: (qmail 17738 invoked by uid 49509); 10 Jul 2006 20:23:53 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17728 invoked by uid 49501); 10 Jul 2006 20:23:52 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 1.617082 secs); 10 Jul 2006 20:23:52 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 10 Jul 2006 20:23:51 -0000 Original-Received: from emroute1.ornl.gov (localhost [127.0.0.1]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J2700CO0FBQ5E@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Jul 2006 16:23:50 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) id <0J2700K02FBME2@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Jul 2006 16:23:50 -0400 (EDT) Original-Received: from axe.humboldt.edu (axe.humboldt.edu [137.150.148.10]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTPS id <0J2700GD5FBKJS@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Jul 2006 16:23:45 -0400 (EDT) Original-Received: from localhost (its-bugs.humboldt.edu [137.150.38.52]) by axe.humboldt.edu (8.13.6/8.13.4) with ESMTP id k6AKNc40088449 for ; Mon, 10 Jul 2006 13:23:39 -0700 (PDT) In-reply-to: X-X-Sender: bb1@axe.humboldt.edu Original-To: Tru64-UNIX-Managers X-Envelope-from: bb1@humboldt.edu X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on email.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.3 Xref: news.gmane.org gmane.os.tru64.managers:8952 Archived-At: Sorry about being late on this summary. I was on vacation the last 2 weeks sitting in my boat on trinity lake. I received help from these kind folk, but before trying their solutions, I removed the alphaev68-dec-osf5.1b/libjava directory, ../configure --enable-shared --enable-libgcj --enable-threads=posix make bootstrap make install... and it works just fine. I tested it by compiling packages that require gcc such as gnutar 1-13, and a few others. My original post is below. Thanks again for your help. Bugs ------------------------------------ From spd at shiva.cps.unizar You should force "configure" to use ksh: - sh: $ LS=ls $ FOO=$($LS) syntax error: `FOO=$' unexpected - ksh: ~/ LS=ls ~/ FOO=$($LS) ~/ echo $FOO [...ls output...] otherwise, edit that shell script and replace $() syntax with `` syntax. --------------------------- From tjrc at sanger.ac. uk Do you actually want the java compiler? I've had trouble with that on Tru64 before. If you don't want the java compiler, just tell the build system not to build it, and you should be OK. I can't remember exactly which options you need to make it do this, but the documentation that comes with the source code in the doc/ subdirectory will tell you. Tim --------------------------- From J.Sainsbury at chem.usyd.edu. au The #error statement seems to indicate a missing type or typedef of the required size. eg something like (basic_functions.h around line 150) # if !defined(HAS_UINT32_T) # error Need type which holds 32 bits # endif My guess is if you backtrack from this and define the missing #define in config.h and supply the required typedef you may be able to it all to compile. But check the latest patches for the package as these things are often fixed quite quickly. --------------------------- From: Rainer Orth at TechFak.Uni-Bielefeld. DE I don't know what you try to achieve here: --disable-libjava doesn't exist, and would be just the opposite of --enable-libgcj. If you want to disable building libjava, you should just use --disable-libgcj (which makes sense since all libjava execution tests time out at the moment). Besides, --enable-threads=posix is superfluous since it's the default. . . . > ../../../../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" Again, a non-portable construct has crept into the classpath configure script. Replacing $(...) by `...` should work. Please file a bug at http://gcc.gnu.org/bugzilla/ for this issue. As a workaround, you can configure and build with CONFIG_SHELL set to either /bin/ksh (which might have some problems nonetheless), or some copy of bash. --------------------------- Bugs Operating Systems Analyst for unix systems Humboldt State Univ. Information Technology Services Arcata, Calif. email bb1@humboldt.edu On Fri, 23 Jun 2006, Bugs wrote: > > 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 > >