build of libGL-9.1.7 fails: "/lib/cpp" fails sanity check

Claude Buisson clbuisson at orange.fr
Tue Jan 21 16:04:17 UTC 2014


Hello

building graphics/libGL on

FreeBSD watson 10.0-STABLE FreeBSD 10.0-STABLE #1 r260579M: Fri Jan 17 17:26:38
CET 2014     toor at watson:/home/obj/home/src/sys/WATSON10X  amd64

built whithout gcc

with a ports tree at r340357

WITH_NEWXORG

the build fails at the configure stage:

..
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... cpp
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking for gcc... no
checking for cc... cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cc -E
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/ports/graphics/libGL/work/Mesa-9.1.7':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
"/home/ports/graphics/libGL/work/Mesa-9.1.7/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/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /home/ports/graphics/libGL

config.log is attached

(so clang is supposed to be gcc3 ..)

Thanks for your help

Claude Buisson


More information about the freebsd-x11 mailing list