maggu2810 / maggu2810-overlay

In this project I store a Gentoo portage overlay (ebuilds, sets, profiles, etc.)
13 stars 5 forks source link

fatal error: drm.h: No such file or directory #include <drm.h> #10

Closed IndianaStone closed 8 years ago

IndianaStone commented 8 years ago

I am a noob to linux and i am trying to update my opengl drivers, anyway, when i use the "make" command this happens

make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Making all in main/tests
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/main/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/main/tests'
Making all in drivers/dri
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri'
Making all in common
make[5]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Making all in xmlpool
make[6]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make  all-am
make[7]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[6]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[6]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
  CC       utils.lo
In file included from utils.h:32:0,
                 from utils.c:41:
../../../../../include/GL/internal/dri_interface.h:44:17: fatal error: drm.h: No such file or directory
 #include <drm.h>
                 ^
compilation terminated.
Makefile:716: recipe for target 'utils.lo' failed
make[6]: *** [utils.lo] Error 1
make[6]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Makefile:771: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Makefile:753: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri'
Makefile:2983: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Makefile:1838: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Makefile:676: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src'
Makefile:621: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# apt-get install libdrm-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libdrm-devel
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# apt-get install libdrm-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdrm-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  courier-authlib expect maildrop tcl-expect
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# qfile /usr/include/drm/drm.h 
bash: qfile: command not found
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# sys-kernel/linux-headers (/usr/include/drm/drm.h)
bash: syntax error near unexpected token `/usr/include/drm/drm.h'
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# mkdir /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm
mkdir: cannot create directory ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm’: No such file or directory
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# cp /usr/include/libdrm/drm.h /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm/
cp: cannot create regular file ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm/’: No such file or directory
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# cp /usr/include/libdrm/drm_mode.h /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm/
cp: cannot create regular file ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/drm/’: No such file or directory
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# qlist linux-headers | grep drm
bash: qlist: command not found
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# USE="-xorg" emerge -1 mesa
bash: emerge: command not found
root@Indiana:/home/bradley/Downloads/mesa-11.2.2# make && make install
Making all in src
make[1]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src'
Making all in .
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src'
Making all in gtest
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/gtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/gtest'
Making all in util
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
make  all-recursive
make[3]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
Making all in .
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
Making all in tests/hash_table
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/util/tests/hash_table'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/util/tests/hash_table'
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/util'
Making all in mapi/glapi/gen
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi/glapi/gen'
make  all-am
make[3]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi/glapi/gen'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi/glapi/gen'
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi/glapi/gen'
Making all in mapi
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
make  all-recursive
make[3]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mapi'
Making all in compiler
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/compiler'
make  all-am
make[3]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/compiler'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/compiler'
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/compiler'
Making all in mesa
make[2]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
updating main/git_sha1.h
make  all-recursive
make[3]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Making all in .
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
updating main/git_sha1.h
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Making all in main/tests
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/main/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/main/tests'
Making all in drivers/dri
make[4]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri'
Making all in common
make[5]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Making all in xmlpool
make[6]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make  all-am
make[7]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[6]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common/xmlpool'
make[6]: Entering directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
  CC       utils.lo
In file included from utils.h:32:0,
                 from utils.c:41:
../../../../../include/GL/internal/dri_interface.h:44:17: fatal error: drm.h: No such file or directory
 #include <drm.h>
                 ^
compilation terminated.
Makefile:716: recipe for target 'utils.lo' failed
make[6]: *** [utils.lo] Error 1
make[6]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Makefile:771: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri/common'
Makefile:753: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa/drivers/dri'
Makefile:2983: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Makefile:1838: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src/mesa'
Makefile:676: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bradley/Downloads/mesa-11.2.2/src'
Makefile:621: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

can i have some help please?

maggu2810 commented 8 years ago

Hello, you should use the preformatted syntax for such pastings. I have edit that for you.

I am a little bit irritated... What is the relationship between your error and my overlay?

IndianaStone commented 8 years ago

I apologize maggu, i didn't mean to report it as an issue on your overlay.

maggu2810 commented 8 years ago

No problem, but if it is not related to this overlay, you should report it to a Forum. Sorry