This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Show Configure failure reason even with -s
authorAndy Dougherty <doughera@newton.phys.lafayette.edu>
Tue, 12 Aug 1997 01:54:38 +0000 (13:54 +1200)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Thu, 4 Sep 1997 12:00:00 +0000 (00:00 +1200)
Subject: [PATCH] Re: Problem during configure of perl5.00402

On Mon, 11 Aug 1997, Jim Anderson wrote:

> Configure is failing and not giving any indication why :-( Any help
> appreciated.

> Checking your choice of C compiler, libs, and flags for coherency...
> You have a BIG problem.  Shall I abort Configure [y]
> Ok.  Stopping Configure.

It's not giving any indication why because you're running in silent
mode.  If you didn't have the '-s', you would have seen the contents of
UU/try.msg.

Of course, such a failure is certainly 'essential information' of the type
that Configure -s certainly ought to put out, so Configure probably ought
to have the following patch applied:

p5p-msgid: Pine.SUN.3.96.970812141623.14256K-100000@newton.phys

Configure

index ceb215c..e1cf655 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -3823,7 +3823,7 @@ else
 fi
 case "$dflt" in
 y)
-       $cat try.msg
+       $cat try.msg >&4
        case "$knowitall" in
        '')
                echo "(The supplied flags might be incorrect with this C compiler.)"