Subject: bug#35691: [bug-guix] remote configure failure due to bad pathnames for crt*.o

From: Ludovic Courtès <[email-masked]>
Date: Mon, 13 May 2019 09:41:56 +0200

Hi Nelson,

"Nelson H. F. Beebe" <[email-masked]> 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’.