Troubles building on Fedora 30
Trying to build on Fedora 30 and I'm getting:
checking whether we are cross compiling... configure: error: in/root/rpmbuild/BUILD/sniproxy-0.6.0+git.8.g3fa47ea':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use --host'. See config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.LYY5Lz (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LYY5Lz (%build) ` ...can anyone help me resolve this please?
Thanks.
Change the redhat/sniproxy.spec line 26 to:%configure CFLAGS="-fPIC -I/usr/include/libev", I can compile normally, but I ’m not sure it will affect the use
same here, CentOS 8, Fedora 30/31 all failed.