Install Openfire

rvny at mail.ru rvny at mail.ru
Sat Oct 20 10:08:55 UTC 2012


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 # 


root at maps:/usr/ports/net-im/openfire # make
===>   openfire-3.7.1_1,1 depends on file: /usr/local/openjdk6/bin/java - not found
===>    Verifying install for /usr/local/openjdk6/bin/java in /usr/ports/java/openjdk6
===>   openjdk6-b26 depends on file: /usr/local/bin/zip - found
===>   openjdk6-b26 depends on file: /usr/local/bin/unzip - found
===>   openjdk6-b26 depends on file: /usr/local/bin/registervm - found
===>   openjdk6-b26 depends on file: /usr/local/include/cups/cups.h - found
===>   openjdk6-b26 depends on executable: gmake - found
===>   openjdk6-b26 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/share/aclocal/xorg-macros.m4 - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/bigreqsproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xcmiscproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/kbproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/inputproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xf86bigfontproto.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found
===>   libX11-1.4.4,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found
===>   libX11-1.4.4,1 depends on executable: pkgconf - found
===>  Configuring for libX11-1.4.4,1
checking build system type... amd64-portbld-freebsd9.1
checking host system type... amd64-portbld-freebsd9.1
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang-cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.1 file names to amd64-portbld-freebsd9.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for clang option to accept ISO C99... none needed
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if clang supports -Werror=attributes... no
checking whether to build functional specifications... no
checking for xsltproc... /usr/local/bin/xsltproc
checking for X.Org SGML entities >= 1.8... no
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 [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

Stop in /usr/ports/java/openjdk6.
*** [install] Error code 1

Stop in /usr/ports/java/openjdk6.
*** [build-depends] Error code 1

Stop in /usr/ports/net-im/openfire.
root at maps:/usr/ports/net-im/openfire # 




More information about the freebsd-x11 mailing list