Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error during build due to no libdrm_intel package found #19

Open
Kabouik opened this issue May 27, 2020 · 3 comments
Open

Fatal error during build due to no libdrm_intel package found #19

Kabouik opened this issue May 27, 2020 · 3 comments

Comments

@Kabouik
Copy link

Kabouik commented May 27, 2020

I am trying to build wterm on a Sailfish OS device but I get the following error related to intel_bufmgr.h. libdrm-devel 2.4.97 is installed, but it seems this is not enough because I can see a libdrm_intel package is missing. Is there a workaround, or is it impossible to build wterm on an ARM device?

[nemo@Sailfish wterm]$ make
make -C src/wld
make[1]: Entering directory '/home/nemo/Templates/wterm/src/wld'
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	buffer.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	buffered_surface.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	color.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	context.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	font.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	renderer.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	surface.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	drm.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	dumb.o
Package libdrm_intel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm_intel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm_intel' found
  CC	intel.o
In file included from intel.c:26:
intel/batch.h:30:10: fatal error: intel_bufmgr.h: No such file or directory
 #include <intel_bufmgr.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:132: intel.o] Error 1
make[1]: Leaving directory '/home/nemo/Templates/wterm/src/wld'
make: *** [Makefile:53: wld] Error 2
@majestrate
Copy link
Owner

i haven't ever tested this on ARM. pretty sure all this code is x86 specific right now.

tbh i forked this from another project for myself and never expected anyone to care about portability.
patches welcome.

@Kabouik
Copy link
Author

Kabouik commented May 27, 2020

Understood, thank you! Unfortunately I don't think I can help, I'm just a SFOS enthusiast trying to build a new terminal for it, but have no real coding skills or knowledge regarding architectures.

@Kabouik
Copy link
Author

Kabouik commented May 27, 2020

I never had the opportunity to run wterm so I don't know its exact features, but as a fork of st, I believe it would be a very nice terminal emulator for ARM devices that have a hardware keyboard. SailfishOS could be a nice testing context since it uses Wayland (with QtWayland and Lipstick) and I am happy to do any testing with a hardware-keyboard device if need be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants