From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35691: remote configure failure due to bad pathnames for crt*.o Date: Mon, 13 May 2019 09:41:56 +0200 Message-ID: <87r292vm0r.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQ5bz-0004bW-EK for bug-guix@gnu.org; Mon, 13 May 2019 03:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQ5by-0001kH-Ct for bug-guix@gnu.org; Mon, 13 May 2019 03:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQ5by-0001k6-9Z for bug-guix@gnu.org; Mon, 13 May 2019 03:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQ5by-0007u3-5S for bug-guix@gnu.org; Mon, 13 May 2019 03:43:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Nelson H. F. Beebe's message of "Sat, 11 May 2019 17:24:10 -0600") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "Nelson H. F. Beebe" Cc: 35691@debbugs.gnu.org Hi Nelson, "Nelson H. F. Beebe" skribis: > However, if I instead execute those commands remotely with > > % ssh guix10.vm.example.com 'cd FOO-x.y.z ; ./configure && make all chec= k && make install' > > then the configure script fails like this: > > checking whether the C compiler works... no > configure: error: in `/local/build/cc/dw-2.00': > configure: error: C compiler cannot create executables > See `config.log' for more details > ... > > The config.log file contains these messages: > > ld: cannot find crt1.o: No such file or directory > ld: cannot find crti.o: No such file or directory > collect2: error: ld returned 1 exit status You need to install the =E2=80=98gcc-toolchain=E2=80=99 package, not just = =E2=80=98gcc=E2=80=99: https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.h= tml#The-GCC-toolchain I hope this helps! Thanks for testing, Ludo=E2=80=99.