From owner-freebsd-x11@FreeBSD.ORG Sat Oct 20 19:46:07 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C4A51FB for ; Sat, 20 Oct 2012 19:46:07 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA3D8FC08 for ; Sat, 20 Oct 2012 19:46:06 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id CE5804001E for ; Sat, 20 Oct 2012 21:46:04 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id C3EA140006; Sat, 20 Oct 2012 21:46:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 54DE140003; Sat, 20 Oct 2012 21:46:04 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3XkZHH6nyVz8ggx; Sat, 20 Oct 2012 21:46:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id BI5CdB_rAoj2; Sat, 20 Oct 2012 21:46:01 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3XkZHF69lfz8ggv; Sat, 20 Oct 2012 21:46:01 +0200 (CEST) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3XkZHF5mk2z9CvV; Sat, 20 Oct 2012 21:46:01 +0200 (CEST) Message-ID: <5082FF71.8080405@freebsd.org> Date: Sat, 20 Oct 2012 21:45:53 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: rvny@mail.ru Subject: Re: Install Openfire References: <1350727723.993535079@f161.mail.ru> <50828F25.2000406@freebsd.org> <1350761123.403759811@f257.mail.ru> In-Reply-To: <1350761123.403759811@f257.mail.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 19:46:07 -0000 On 2012-10-20 21:25, rvny@mail.ru wrote: > I remove old compilator's (gcc, cpp) with command: > > > "cd /usr/src/ && make BATCH_DELETE_OLD_FILES=true delete-old > delete-old-libs" > You have WITH_CLANG_IS_CC=true in your /etc/src.conf, that means that clang is installed as cc, c++ and cpp, and you don't have to remove those. Regards! -- Niclas > -- > > Sat, 20 Oct 2012 13:46:45 +0200 от Niclas Zeising : > > On 10/20/12 12:08, rvny@mail.ru wrote: > > Hello! I build FreeBSD 9.2 RC2 with CLANG. Then I want build > openfire. This is fals with error: > > > > root@maps:/usr/ports/net-im/openfire # cat /etc/src.conf > > WITH_CLANG=true > > WITH_CLANG_IS_CC=true > > WITHOUT_GCC=true > > CC=clang > > CXX=clang++ > > CPP=clang-cpp > > root@maps:/usr/ports/net-im/openfire # > > > > > > checking for cpp... /usr/bin/cpp > > checking if /usr/bin/cpp requires -undef... cpp: error trying to > exec 'cc1': execvp: No such file or directory > > cpp: error trying to exec 'cc1': execvp: No such file or directory > > cpp: error trying to exec 'cc1': execvp: No such file or directory > > configure: error: /usr/bin/cpp defines unix with or without > -undef. I don't know what to do. > > ===> Script "configure" failed unexpectedly. > > Please report the problem to x11@FreeBSD.org > [maintainer] and attach the > > "/usr/ports/x11/libX11/work/libX11-1.4.4/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/sbin/pkg_info > > -Ea). > > *** [do-configure] Error code 1 > > > > Stop in /usr/ports/x11/libX11. > > *** [build-depends] Error code 1 > > It seems like your cpp is broken. What does cpp --version and clang-cpp > --version say? > Regards! > -- > Niclas Zeising > >