[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35691: [bug-guix] remote configure failure due to bad pathnames for
From: |
Ludovic Courtès |
Subject: |
bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o |
Date: |
Mon, 13 May 2019 09:41:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi Nelson,
"Nelson H. F. Beebe" <address@hidden> skribis:
> However, if I instead execute those commands remotely with
>
> % ssh guix10.vm.example.com 'cd FOO-x.y.z ; ./configure && make all
> check && 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 ‘gcc-toolchain’ package, not just ‘gcc’:
https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.html#The-GCC-toolchain
I hope this helps!
Thanks for testing,
Ludo’.