Date: Sat, 20 Oct 2012 21:45:53 +0200 From: Niclas Zeising <zeising@freebsd.org> To: rvny@mail.ru Cc: x11@freebsd.org Subject: Re: Install Openfire Message-ID: <5082FF71.8080405@freebsd.org> In-Reply-To: <1350761123.403759811@f257.mail.ru> References: <1350727723.993535079@f161.mail.ru> <50828F25.2000406@freebsd.org> <1350761123.403759811@f257.mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <zeising@freebsd.org>: > > On 10/20/12 12:08, rvny@mail.ru <sentmsg?compose&To=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 > <sentmsg?compose&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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5082FF71.8080405>