configure failing on NetBSD with missing set
Summary
Steps to reproduce:
- Clone latest git repository (tested on 0.4.7.0-alpha-dev)
- ./autogen.sh
- export CC="/usr/pkg/gcc7/bin/gcc"
- ./configure
What is the current bug behavior?
...
checking for gcc... /usr/pkg/gcc7/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/user/stuff/tor':
configure: error: C compiler cannot create executables
See `config.log' for more details
What is the expected behavior?
It should consider this environment and print a usable error message.
Environment
- Tor 0.4.7.0-alpha-dev source
- NetBSD 9.2
- gcc 7.5.0
- autoconf 2.71
- automake 1.16.3
Relevant logs and/or screenshots
Full config.log
Possible fixes
Include a check if the as
binary is present on the system. If it is not, and the the operating system is NetBSD, print a message asking the user to verify if they installed the set comp.tar.xz
. The latter is necessary as it houses the GNU assembler and various libraries not installable by packages.
Edited by acidsys