From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id ACC613955C91 for ; Tue, 10 May 2022 11:01:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ACC613955C91 Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 0474D66884; Tue, 10 May 2022 07:01:13 -0400 (EDT) Message-ID: Subject: Re: libjava configure fails on finding no C compiler in $PATH despite gcc being present From: Xi Ruoyao To: Zopolis0 , Jonathan Wakely Cc: gcc-help Date: Tue, 10 May 2022 19:01:09 +0800 In-Reply-To: References: <4d4d2db210a3f181e0114d2670a7918826957900.camel@xry111.site> <8f8fb7611632ff388659b1da3500abc181da97c2.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2022 11:01:16 -0000 On Tue, 2022-05-10 at 20:56 +1000, Zopolis0 wrote: > By the build tree do you mean the directory I'm running configure > from? If so, then no libjava directory is present despite the libjava > configure script certainly running during the build process.=C2=A0 It should be in x86_64-pc-linux-gnu (or whatever triplet for your platform) directory, along with other target libraries (for eg libstdc++-v3). If not, something is wrong. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University