Install Openfire

Niclas Zeising zeising at freebsd.org
Sat Oct 20 19:46:07 UTC 2012


On 2012-10-20 21:25, rvny at 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 at freebsd.org>:
> 
>     On 10/20/12 12:08, rvny at mail.ru <sentmsg?compose&To=rvny at mail.ru> wrote:
>     > Hello! I build FreeBSD 9.2 RC2 with CLANG. Then I want build
>     openfire. This is fals with error:
>     >
>     > root at 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 at 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 at FreeBSD.org
>     <sentmsg?compose&To=x11 at 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
> 
> 



More information about the freebsd-x11 mailing list