bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LFS 6.2: step 6.26.1


From: Ralf Wildenhues
Subject: Re: LFS 6.2: step 6.26.1
Date: Mon, 20 Aug 2007 22:41:12 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Jesse,

* Jesse Chisholm wrote on Mon, Aug 20, 2007 at 04:35:45PM CEST:
[...]
> Here is the attached bzip2-ed log file.

Thanks.  The issue was simpler than I expected:

| + gcj -c -o sub/conftest.o sub/conftest.c -MT sub/conftest.o -MD -MP -MF 
sub/conftest.TPo
| gcj: libgcj.spec: No such file or directory

Your gcj installation is broken.  Searching the net for this error
message reveals more than one possible issue, and that error is not
related to Automake.  I'm afraid you may have to do some research
yourself if you want your gcj working.

However, please try the patch below, it adds a check to Automake's which
should ensure that the test is SKIPped in this case.

I intend to apply to HEAD and branch-1-10 (and put you in THANKS) if it
works for you and no-one else complains.

Thanks,
Ralf

2007-08-20  Ralf Wildenhues  <address@hidden>

        * tests/defs.in (required): For gcj, check whether `gcj -v'
        works, to avoid broken installations without libgcj.spec.
        Export $GCJ.
        * tests/gcj4.test: Setting GCJ not needed any more.
        * THANKS: Update.
        Report by Jesse Chisholm.

Index: tests/defs.in
===================================================================
RCS file: /cvs/automake/automake/tests/defs.in,v
retrieving revision 1.43
diff -u -r1.43 defs.in
--- tests/defs.in       7 Jul 2007 11:23:28 -0000       1.43
+++ tests/defs.in       20 Aug 2007 20:40:06 -0000
@@ -139,6 +139,13 @@
       echo "$me: running $CC --version"
       ( $CC --version ) || exit 77
       ;;
+    gcj)
+      GCJ=gcj
+      export GCJ
+      echo "$me: running $GCJ --version"
+      ( $GCJ --version ) || exit 77
+      ( $GCJ -v ) || exit 77
+      ;;
     g++)
       CXX=g++
       export CXX
Index: tests/gcj4.test
===================================================================
RCS file: /cvs/automake/automake/tests/gcj4.test,v
retrieving revision 1.5
diff -u -r1.5 gcj4.test
--- tests/gcj4.test     7 Jul 2007 11:23:28 -0000       1.5
+++ tests/gcj4.test     20 Aug 2007 20:40:07 -0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2007  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -38,7 +38,7 @@
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-./configure GCJ=gcj >stdout
+./configure >stdout
 cat stdout
 
 # Configure must be checking the dependency style of gcj ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]