trickle
trickle copied to clipboard
glibc 2.26 rpc changes
glibc has changed the location of rpc.h. It's now split into tirpc. As such the project won't compile without some tweaking.
https://stackoverflow.com/questions/50590546/unable-to-build-rpc-project-with-libtirpc has hints on how to fix it.
This is a problem on RHEL/CentOS 8 as well.
Same on Gentoo. Compiles with ./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc
.
./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc
But...
[root@localhost trickle]# ./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/trickle':
configure: error: C compiler cannot create executables
See `config.log' for more details