configure: error: in `/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2

AN andy at neu.net
Mon Jul 2 16:48:24 UTC 2012


FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #23 r237852: Sat Jun 30 
18:45:27 EDT 2012     root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

===>   Compressing manual pages for clang-3.1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for clang-3.1
===>   Returning to build of libreoffice-3.5.4
===>   libreoffice-3.5.4 depends on file: /usr/local/lib/libcppunit.so - 
found
===>   libreoffice-3.5.4 depends on executable: xsltproc - found
===>   libreoffice-3.5.4 depends on file: /usr/local/lib/libcrypto.so.8 - 
found
===>   libreoffice-3.5.4 depends on file: /usr/local/bin/python2.7 - found
===>   libreoffice-3.5.4 depends on executable: gmake - found
===>   libreoffice-3.5.4 depends on file: /usr/local/bin/as - found
===>   libreoffice-3.5.4 depends on executable: bison - found
===>   libreoffice-3.5.4 depends on file: 
/usr/local/libdata/pkgconfig/xaw7.pc - found
===>   libreoffice-3.5.4 depends on file: 
/usr/local/libdata/pkgconfig/xrandr.pc - found
===>   libreoffice-3.5.4 depends on file: /usr/local/bin/perl5.14.2 - 
found
===>   libreoffice-3.5.4 depends on file: /usr/local/bin/intltool-extract 
- found
===>   libreoffice-3.5.4 depends on executable: pkg-config - found
===>   libreoffice-3.5.4 depends on executable: update-desktop-database - 
found
===>   libreoffice-3.5.4 depends on executable: gtk-update-icon-cache - 
found
===>   libreoffice-3.5.4 depends on shared library: cairo.2 - found
===>   libreoffice-3.5.4 depends on shared library: xml2.5 - found
===>   libreoffice-3.5.4 depends on shared library: xslt.2 - found
===>   libreoffice-3.5.4 depends on shared library: expat.6 - found
===>   libreoffice-3.5.4 depends on shared library: icutu.48 - found
===>   libreoffice-3.5.4 depends on shared library: jpeg.11 - found
===>   libreoffice-3.5.4 depends on shared library: curl.6 - found
===>   libreoffice-3.5.4 depends on shared library: hunspell-1.3.0 - found
===>   libreoffice-3.5.4 depends on shared library: mythes-1.2.0 - found
===>   libreoffice-3.5.4 depends on shared library: hyphen.2 - found
===>   libreoffice-3.5.4 depends on shared library: poppler-glib.8 - found
===>   libreoffice-3.5.4 depends on shared library: wpd-0.9.9 - found
===>   libreoffice-3.5.4 depends on shared library: wpg-0.2.2 - found
===>   libreoffice-3.5.4 depends on shared library: wps-0.2.2 - found
===>   libreoffice-3.5.4 depends on shared library: rdf.0 - found
===>   libreoffice-3.5.4 depends on shared library: exttextcat.0 - found
===>   libreoffice-3.5.4 depends on shared library: lpsolve55 - found
===>   libreoffice-3.5.4 depends on shared library: cups.2 - found
===>   libreoffice-3.5.4 depends on shared library: visio-0.0.0 - found
===>   libreoffice-3.5.4 depends on shared library: graphite2.2 - found
===>   libreoffice-3.5.4 depends on shared library: nss3.1 - found
===>   libreoffice-3.5.4 depends on shared library: SampleICC.2 - found
===>   libreoffice-3.5.4 depends on shared library: png15 - found
===>   libreoffice-3.5.4 depends on shared library: cmis-0.2.0 - found
===>   libreoffice-3.5.4 depends on shared library: intl - found
===>   libreoffice-3.5.4 depends on shared library: GL.1 - found
===>   libreoffice-3.5.4 depends on shared library: GLU.1 - found
===>   libreoffice-3.5.4 depends on shared library: pq.5 - found
===>   libreoffice-3.5.4 depends on shared library: db41.1 - found
===>   libreoffice-3.5.4 depends on shared library: atk-1.0.0 - found
===>   libreoffice-3.5.4 depends on shared library: gdk_pixbuf-2.0.0 - 
found
===>   libreoffice-3.5.4 depends on shared library: gconf-2.4 - found
===>   libreoffice-3.5.4 depends on shared library: glib-2.0.0 - found
===>   libreoffice-3.5.4 depends on shared library: gtk-x11-2.0.0 - found
===>   libreoffice-3.5.4 depends on shared library: gsf-1.114 - found
===>   libreoffice-3.5.4 depends on shared library: IDL-2.0 - found
===>   libreoffice-3.5.4 depends on shared library: rsvg-2.2 - found
===>   libreoffice-3.5.4 depends on shared library: xml2.5 - found
===>   libreoffice-3.5.4 depends on shared library: ORBit-2.0 - found
===>   libreoffice-3.5.4 depends on shared library: pango-1.0.0 - found
===>  Configuring for libreoffice-3.5.4
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/aclocal.m4
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/dmake/aclocal.m4
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/dmake/acinclude.m4
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/dmake/configure
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/configure
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking for sed... /usr/bin/sed
checking the FreeBSD operating system release... found OSVERSION=1000014
checking which thread library to use... -pthread
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for gawk... gawk
checking for gawk... /usr/local/bin/gawk
checking for bash... /usr/local/bin/bash
checking for GNU or BSD tar... gtar
configure: Automatic ccache detection ingored: CC is pre-defined
checking gcc home... /usr
checking for gcc... /usr/local/bin/clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/bin/clang accepts -g... yes
checking for /usr/local/bin/clang option to accept ISO C89... none needed
checking the GNU C compiler version... checked (gcc 4.2.1)
checking for -Bsymbolic-functions linker support ... found
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full 
product build
checking whether to use linkoo for the smoketest installation... no
checking whether to use link-time optimization... no
checking whether to include symbols... no
checking whether to strip the solver or not.... yes
checking whether cups support is present... checking for cupsPrintFiles in 
-lcups... yes
checking how to run the C preprocessor... /usr/local/bin/clang-cpp
configure: error: in 
`/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2':
configure: error: C preprocessor "/usr/local/bin/clang-cpp" fails sanity 
check
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to office at FreeBSD.org [maintainer] and attach 
the
"/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/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. an `ls /var/db/pkg`).
*** [do-configure] Error code 1

Stop in /usr/ports/editors/libreoffice.
*** [build] Error code 1

Stop in /usr/ports/editors/libreoffice.

================================================================================================================================================
[root at FBSD10 ~]# ls -l /usr/local/bin/clang-cpp
ls: /usr/local/bin/clang-cpp: No such file or directory
[root at FBSD10 ~]# locate clang | grep clang-cpp
/usr/bin/clang-cpp
/usr/share/man/man1/clang-cpp.1.gz
[root at FBSD10 ~]# ls -l /usr/bin/clang-cpp
-r-xr-xr-x  3 root  wheel  37115232 Jun 30 14:58 /usr/bin/clang-cpp
[root at FBSD10 ~]# /usr/bin/clang-cpp -v
FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
Target: x86_64-unknown-freebsd10.0
Thread model: posix
  "/usr/bin/clang-cpp" -cc1 -triple x86_64-unknown-freebsd10.0 -E 
-disable-free -main-file-name - -mrelocation-model static 
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables 
-target-cpu x86-64 -momit-leaf-frame-pointer -v -resource-dir 
/usr/bin/../lib/clang/3.1 -fmodule-cache-path /var/tmp/clang-module-cache 
-fdebug-compilation-dir /root -ferror-limit 19 -fmessage-length 80 
-mstackrealign -fgnu-runtime -fobjc-runtime-has-arc 
-fobjc-runtime-has-weak -fobjc-dispatch-method=non-legacy 
-fdiagnostics-show-option -fcolor-diagnostics -o - -x c -
clang -cc1 version 3.1 based upon LLVM 3.1 default target 
x86_64-unknown-freebsd10.0
ignoring nonexistent directory "/usr/bin/../lib/clang/3.1/include"
#include "..." search starts here:
#include <...> search starts here:
  /usr/include/clang/3.1
  /usr/include
End of search list.

Seems like a bad path.




More information about the freebsd-office mailing list