Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 16:43:43 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: isc dhcp does not make
Message-ID:  <62D0D166-A917-45CA-A65B-71992B1DD9C5@mac.com>
In-Reply-To: <m2ehuncn7l.wl%randy@psg.com>
References:  <m2ehuncn7l.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62D0D166-A917-45CA-A65B-71992B1DD9C5>