Unable to build graphics/dri on amd64 due to missing libdrm_intel

Conrad J. Sabatier conrads at cox.net
Sat Jun 30 23:40:49 UTC 2012


For a while now, I've been getting the same error during the configure
phase when trying to build graphics/dri.

Configure is looking for libdrm_intel, which doesn't exist on my system
(I'm using the nvidia driver).

I do have WITH_NEW_ORG=yes defined in /etc/make.confm, and all of my
other X packages are at the latest version.

Any suggestions will be greatly appreciated!

===>  Extracting for dri-8.0.3,2
=> SHA256 Checksum OK for MesaLib-8.0.3.tar.bz2.
===>  Patching for dri-8.0.3,2
===>  Applying extra patch /usr/ports/graphics/dri/../../graphics/libGL/files/extra-src-glsl_ir_constant_expression.cpp
===>   dri-8.0.3,2 depends on executable: makedepend - found
===>   dri-8.0.3,2 depends on file: /usr/local/lib/python2.7/site-packages/libxml2.py - found
===>   dri-8.0.3,2 depends on file: /usr/local/bin/python2.7 - found
===>   dri-8.0.3,2 depends on executable: gmake - found
===>   dri-8.0.3,2 depends on executable: bison - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   dri-8.0.3,2 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   dri-8.0.3,2 depends on shared library: drm - found
===>   dri-8.0.3,2 depends on shared library: expat.6 - found
===>  Configuring for dri-8.0.3,2
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/dri/work/Mesa-8.0.3/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/dri/work/Mesa-8.0.3/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/dri/work/Mesa-8.0.3/acinclude.m4
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
cannot open /usr/ports/graphics/dri/work/Mesa-8.0.3/bin/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... bin/install-sh -c -d
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
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 dependency style of clang... none
checking how to run the C preprocessor... clang-cpp
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) none
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... none
checking for gmake... gmake
checking for python2... no
checking for python... python
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for makedepend... /usr/local/bin/makedepend
checking for flex... /usr/bin/flex
checking for bison... /usr/local/bin/bison
checking for gtest-config... /usr/local/bin/gtest-config
checking if compiling with clang... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether clang supports -fvisibility=hidden... yes
checking whether clang++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, amd64
checking for clang option to produce PIC... -fPIC
checking for dlopen... yes
checking for posix_memalign... yes
checking for LIBDRM... yes
checking pkg-config files for X11 are available... yes
checking for X11... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for xcb_glx_create_context_attribs_arb_checked in -lxcb-glx... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for INTEL... no
configure: error: Package requirements (libdrm_intel >= 2.4.30) were not met:

No package 'libdrm_intel' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables INTEL_CFLAGS
and INTEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/dri/work/Mesa-8.0.3/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/graphics/dri.

-- 
Conrad J. Sabatier
conrads at cox.net


More information about the freebsd-x11 mailing list