From owner-freebsd-current@FreeBSD.ORG Mon Sep 29 00:29:43 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC651B0D; Mon, 29 Sep 2014 00:29:43 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76B3BC4B; Mon, 29 Sep 2014 00:29:43 +0000 (UTC) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.5/8.14.5) with ESMTP id s8T0TvlC098697; Sun, 28 Sep 2014 17:30:03 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimatedns.net (8.14.5/8.14.5/Submit) id s8T0TqH8098691; Sun, 28 Sep 2014 17:29:52 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net ([2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Sun, 28 Sep 2014 17:29:52 -0700 (PDT) Message-ID: <55ea1654e68d865f7becfa4bf57474c3.authenticated@ultimatedns.net> In-Reply-To: <54288C32.3080201@freebsd.org> References: <7b0a119ebc4d8d7813f92c0f94aba8d8.authenticated@ultimatedns.net> <542882B7.4060407@freebsd.org> <82259777bbe474bb5581c2b4a0b79f25.authenticated@ultimatedns.net> <54288C32.3080201@freebsd.org> Date: Sun, 28 Sep 2014 17:29:52 -0700 (PDT) Subject: Re: Mesa-9: configure: error: C compiler cannot create executables From: "Chris H" To: "Allan Jude" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 00:29:43 -0000 > 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 # echo $CC CC: Undefined variable > > It seems it is trying to use clang, and you have disabled clang > > check your /etc/make.conf I'm carrying over defines from a 9.2-STABLE box: WITHOUT_CLANG=true FAVORITE_COMPILER=gcc These worked famously on the 9.2. So I thought them safe here (9.3). > > 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 LOL I wish you the best! :) Thank you for taking the time to reply, Allan. Especially under the circumstances! --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" >