michaelforney/wld

won't build with out nouveau.h

Closed this issue · 4 comments

257 commented
make
  GEN	wld.pc
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	buffer.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	buffered_surface.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	color.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	context.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	font.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	renderer.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	surface.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	drm.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	dumb.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	intel.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	intel/batch.o
Package libdrm_nouveau was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_nouveau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_nouveau' found
  CC	nouveau.o
nouveau.c:36:21: fatal error: nouveau.h: No such file or directory
 #include <nouveau.h>
                     ^
compilation terminated.
make: *** [Makefile:132: nouveau.o] Error 1
257 commented

DRM_DRIVERS should check something with pkgconfig but i'm not sure what. any suggestions?

Did you remove nouveau from DRM_DRIVERS in config.mk?

257 commented

yes

The only thing that mentions libdrm_nouveau anywhere is

wld/Makefile

Line 48 in efe0a1e

WLD_REQUIRES_PRIVATE += libdrm_nouveau
, which is conditional on finding the nouveau substring in $(DRM_DRIVERS).