config-patches
[Top][All Lists]
Advanced

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

Re: Trying to configure bash


From: Zack Weinberg
Subject: Re: Trying to configure bash
Date: Tue, 06 Feb 2024 08:59:31 -0500
User-agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61

On Mon, Feb 5, 2024, at 10:16 PM, Daniel Premo wrote:
> root@F005-068E /root/projects/bash/bash-5.2.21 [#] ./configure
> checking build system type... ././support/config.guess: unable to guess 
> system type
> 
> NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
> the system type. Please install a C compiler and try again.

*Do* you have a C compiler installed?  You're going to need one anyway,
in order to build bash, so you might as well make sure of that now.

The code that tries to find a C compiler, looks for it under the names
"cc", "gcc", "c89", and "c99", in that order.  Check not only that
it's installed, but that it *works*; for instance, your problem could
be that you have the compiler but not all of the C library, and so it
can't actually produce executables.

zw

@config-patches at large: maybe the "unable to guess system type"
diagnostics should report on the availability of a C compiler in
detail, as well as what they already produce?



reply via email to

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