isc dhcp does not make

Chuck Swiger cswiger at mac.com
Thu Jan 26 01:44:17 UTC 2012


On Jan 25, 2012, at 4:38 PM, Randy Bush wrote:
> checking for gcc... cc
> checking for C compiler default output file name... 
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to zi at FreeBSD.org [maintainer] and attach the
> "/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log" including
> the output of the failure of your make command. Also, it might be a good idea
> to provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> 
> clang?

The instructions given suggest looking at:

  /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log

It's likely to be informative.   Failing that, a basic sanity check:

echo 'int main() { return 0; }' > test.c
cc -o test test.c
./test && echo 'OK' || echo 'bad'

Regards,
-- 
-Chuck



More information about the freebsd-ports mailing list