Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 18:31:14 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Mesa-9: configure: error: C compiler cannot create executables
Message-ID:  <54288C32.3080201@freebsd.org>
In-Reply-To: <82259777bbe474bb5581c2b4a0b79f25.authenticated@ultimatedns.net>
References:  <7b0a119ebc4d8d7813f92c0f94aba8d8.authenticated@ultimatedns.net> <542882B7.4060407@freebsd.org> <82259777bbe474bb5581c2b4a0b79f25.authenticated@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/28/2014 18:11, Chris H wrote:
>> On 09/28/2014 17:37, Chris H wrote:
>>> Greetings,
>>>  A recent install of RELENG_9, followed by a build|install world|kernel.
>>> Returns the following error when attempting an make install of
>>> x11/xorg-minimal
>>>
>>> ===>  Configuring for dri-9.1.7_5,2
>>> configure: loading site script /usr/ports/Templates/config.site
>>> checking build system type... amd64-portbld-freebsd9.3
>>> checking host system type... amd64-portbld-freebsd9.3
>>> checking target system type... amd64-portbld-freebsd9.3
>>> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
>>> checking for gawk... (cached) /usr/bin/awk
>>> checking whether gmake sets $(MAKE)... yes
>>> checking whether gmake supports nested variables... yes
>>> checking for style of include used by gmake... GNU
>>> checking for gcc... clang
>>> checking whether the C compiler works... no
>>> configure: error: in `/usr/ports/graphics/dri/work/Mesa-9.1.7':
>>> configure: error: C compiler cannot create executables
>>> See `config.log' for more details
>>> ===>  Script "configure" failed unexpectedly.
>>> Please report the problem to x11@FreeBSD.org [maintainer] and attach the
>>> "/usr/ports/graphics/dri/work/Mesa-9.1.7/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. a
>>> /usr/local/sbin/pkg-static info -g -Ea).
>>> *** [do-configure] Error code 1
>>>
>>> Any thoughts on how to overcome this issue?
>>>
>>> Relevant info:
>>>
>>> # svn info /usr/src
>>>
>>> Path: /usr/src
>>> Working Copy Root Path: /usr/src
>>> URL: svn://svn.freebsd.org/base/stable/9
>>> Relative URL: ^/stable/9
>>> Repository Root: svn://svn.freebsd.org/base
>>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>>> Revision: 272203
>>> Node Kind: directory
>>> Schedule: normal
>>> Last Changed Author: thomas
>>> Last Changed Rev: 272184
>>> Last Changed Date: 2014-09-26 12:13:13 -0700 (Fri, 26 Sep 2014)
>>>
>>> svn info /usr/ports
>>> Path: /usr/ports
>>> Working Copy Root Path: /usr/ports
>>> URL: svn://svn.freebsd.org/ports/head
>>> Relative URL: ^/head
>>> Repository Root: svn://svn.freebsd.org/ports
>>> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
>>> Revision: 369380
>>> Node Kind: directory
>>> Schedule: normal
>>> Last Changed Author: mva
>>> Last Changed Rev: 369380
>>> Last Changed Date: 2014-09-27 01:34:11 -0700 (Sat, 27 Sep 2014)
>>>
>>> FreeBSD demon 9.3-STABLE FreeBSD 9.3-STABLE #0 r272203: Sat Sep 27 15:49:55 PDT 2014
>>> root@demon:/usr/obj/usr/src/sys/DEMON  amd64
>>>
>>> Thank you for all your time, and consideration.
>>>
>>> --Chris
>>>
>>> _______________________________________________
>>> freebsd-current@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>>>
>>
>> What does config.log say?
> Please see attached (config.log.txt) -- it's big. :)
> 
>>
>> also 'clang -v'
> nadda -- don't think it's installed -- WITHOUT_CLANG=true (/etc/make.conf)
> 
> Thank you for your thoughtful reply, Allan.
> 
> --Chris
> 
>>
>>
>> --
>> Allan Jude
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>>
>>
>>
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

echo $CC

It seems it is trying to use clang, and you have disabled clang

check your /etc/make.conf

you might need to add CC=gcc to /etc/make.conf to make it work

Warning: I have no idea what I am talking about, it is 2am at a BSD
conference hacking lounge


-- 
Allan Jude



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54288C32.3080201>