sniproxy icon indicating copy to clipboard operation
sniproxy copied to clipboard

Troubles building on Fedora 30

Open jpm1968 opened this issue 6 years ago • 2 comments

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.

jpm1968 avatar Nov 12 '19 14:11 jpm1968

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

myxuchangbin avatar Dec 06 '19 03:12 myxuchangbin

same here, CentOS 8, Fedora 30/31 all failed.

manjuprajna avatar Dec 12 '19 09:12 manjuprajna