当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 关于libdrm2.4的安装问题
帖子发表于 : 2008-12-23 14:23 

注册: 2008-12-18 9:37
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
参照了下面的方法后。
viewtopic.php?f=77&t=164984&start=0
make install并没有完成安装
装显卡驱动的时候还是提示要求》=libdrm 2.4
看readme上说
By default, libdrm and the DRM header files will install into /usr/local/.
If you want to install this DRM to replace your system copy, say:

./configure --prefix=/usr --exec-prefix=/

Then,
make install
To build the device-specific kernel modules:

cd linux-core/
make
cp *.ko /lib/modules/VERSION/kernel/drivers/char/drm/
(where VERSION is your kernel version: uname -f)
Or,
cd bsd-core/
make
copy the kernel modules to the appropriate place
后面他指定的目录我机器上根本没有。请问问题出在什么地方?

我sudo make install之后的代码:
Making install in libdrm
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in .
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[3]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[3]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib" || /bin/mkdir -p "//lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libdrm.la' '//lib/libdrm.la'
/usr/bin/install -c .libs/libdrm.so.2.3.0 //lib/libdrm.so.2.3.0
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2; }; })
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so; }; })
/usr/bin/install -c .libs/libdrm.lai //lib/libdrm.la
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include" || /bin/mkdir -p "/usr/include"
/usr/bin/install -c -m 644 'xf86drm.h' '/usr/include/xf86drm.h'
make[3]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in intel
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[3]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[3]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib" || /bin/mkdir -p "//lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c 'libdrm_intel.la' '//lib/libdrm_intel.la'
libtool: install: warning: relinking `libdrm_intel.la'
(cd /home/dawn/下载/libdrm-2.4.1/libdrm/intel; /bin/bash ../../libtool --tag=CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_intel.la -rpath //lib intel_bufmgr.lo intel_bufmgr_fake.lo intel_bufmgr_gem.lo mm.lo ../libdrm.la )
../../libtool: line 6348: cd: /home/dawn/下载/libdrm-2.4.1/libdrm/intel: No such file or directory
gcc -shared .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/mm.o -Wl,--rpath -Wl,//lib -L//lib -ldrm -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0
/usr/bin/install -c .libs/libdrm_intel.so.1.0.0T //lib/libdrm_intel.so.1.0.0
(cd //lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so.1 || { rm -f libdrm_intel.so.1 && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so.1; }; })
(cd //lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so || { rm -f libdrm_intel.so && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so; }; })
/usr/bin/install -c .libs/libdrm_intel.lai //lib/libdrm_intel.la
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include" || /bin/mkdir -p "/usr/include"
/usr/bin/install -c -m 644 'intel_bufmgr.h' '/usr/include/intel_bufmgr.h'
make[3]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in shared-core
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "/usr/include/drm" || /bin/mkdir -p "/usr/include/drm"
/usr/bin/install -c -m 644 'drm.h' '/usr/include/drm/drm.h'
/usr/bin/install -c -m 644 'drm_sarea.h' '/usr/include/drm/drm_sarea.h'
/usr/bin/install -c -m 644 'i915_drm.h' '/usr/include/drm/i915_drm.h'
/usr/bin/install -c -m 644 'mach64_drm.h' '/usr/include/drm/mach64_drm.h'
/usr/bin/install -c -m 644 'mga_drm.h' '/usr/include/drm/mga_drm.h'
/usr/bin/install -c -m 644 'nouveau_drm.h' '/usr/include/drm/nouveau_drm.h'
/usr/bin/install -c -m 644 'r128_drm.h' '/usr/include/drm/r128_drm.h'
/usr/bin/install -c -m 644 'radeon_drm.h' '/usr/include/drm/radeon_drm.h'
/usr/bin/install -c -m 644 'savage_drm.h' '/usr/include/drm/savage_drm.h'
/usr/bin/install -c -m 644 'sis_drm.h' '/usr/include/drm/sis_drm.h'
/usr/bin/install -c -m 644 'via_drm.h' '/usr/include/drm/via_drm.h'
/usr/bin/install -c -m 644 'r300_reg.h' '/usr/include/drm/r300_reg.h'
/usr/bin/install -c -m 644 'via_3d_reg.h' '/usr/include/drm/via_3d_reg.h'
/usr/bin/install -c -m 644 'xgi_drm.h' '/usr/include/drm/xgi_drm.h'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
Making install in tests
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[2]: 没有什么可以做的为 `install-exec-am'。
make[2]: 没有什么可以做的为 `install-data-am'。
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib/pkgconfig" || /bin/mkdir -p "//lib/pkgconfig"
/usr/bin/install -c -m 644 'libdrm.pc' '//lib/pkgconfig/libdrm.pc'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1'
dawn@dawn:~/download/libdrm-2.4.1$ sudo make install
[sudo] password for dawn:
Making install in libdrm
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in .
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[3]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[3]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib" || /bin/mkdir -p "//lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libdrm.la' '//lib/libdrm.la'
/usr/bin/install -c .libs/libdrm.so.2.3.0 //lib/libdrm.so.2.3.0
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2; }; })
(cd //lib && { ln -s -f libdrm.so.2.3.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so; }; })
/usr/bin/install -c .libs/libdrm.lai //lib/libdrm.la
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include" || /bin/mkdir -p "/usr/include"
/usr/bin/install -c -m 644 'xf86drm.h' '/usr/include/xf86drm.h'
make[3]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in intel
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[3]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[3]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib" || /bin/mkdir -p "//lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c 'libdrm_intel.la' '//lib/libdrm_intel.la'
libtool: install: warning: relinking `libdrm_intel.la'
(cd /home/dawn/下载/libdrm-2.4.1/libdrm/intel; /bin/bash ../../libtool --tag=CC --mode=relink gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -g -O2 -version-number 1:0:0 -no-undefined -o libdrm_intel.la -rpath //lib intel_bufmgr.lo intel_bufmgr_fake.lo intel_bufmgr_gem.lo mm.lo ../libdrm.la )
../../libtool: line 6348: cd: /home/dawn/下载/libdrm-2.4.1/libdrm/intel: No such file or directory
gcc -shared .libs/intel_bufmgr.o .libs/intel_bufmgr_fake.o .libs/intel_bufmgr_gem.o .libs/mm.o -Wl,--rpath -Wl,//lib -L//lib -ldrm -Wl,-soname -Wl,libdrm_intel.so.1 -o .libs/libdrm_intel.so.1.0.0
/usr/bin/install -c .libs/libdrm_intel.so.1.0.0T //lib/libdrm_intel.so.1.0.0
(cd //lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so.1 || { rm -f libdrm_intel.so.1 && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so.1; }; })
(cd //lib && { ln -s -f libdrm_intel.so.1.0.0 libdrm_intel.so || { rm -f libdrm_intel.so && ln -s libdrm_intel.so.1.0.0 libdrm_intel.so; }; })
/usr/bin/install -c .libs/libdrm_intel.lai //lib/libdrm_intel.la
PATH="$PATH:/sbin" ldconfig -n //lib
----------------------------------------------------------------------
Libraries have been installed in:
//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/include" || /bin/mkdir -p "/usr/include"
/usr/bin/install -c -m 644 'intel_bufmgr.h' '/usr/include/intel_bufmgr.h'
make[3]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm/intel'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/libdrm'
Making install in shared-core
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "/usr/include/drm" || /bin/mkdir -p "/usr/include/drm"
/usr/bin/install -c -m 644 'drm.h' '/usr/include/drm/drm.h'
/usr/bin/install -c -m 644 'drm_sarea.h' '/usr/include/drm/drm_sarea.h'
/usr/bin/install -c -m 644 'i915_drm.h' '/usr/include/drm/i915_drm.h'
/usr/bin/install -c -m 644 'mach64_drm.h' '/usr/include/drm/mach64_drm.h'
/usr/bin/install -c -m 644 'mga_drm.h' '/usr/include/drm/mga_drm.h'
/usr/bin/install -c -m 644 'nouveau_drm.h' '/usr/include/drm/nouveau_drm.h'
/usr/bin/install -c -m 644 'r128_drm.h' '/usr/include/drm/r128_drm.h'
/usr/bin/install -c -m 644 'radeon_drm.h' '/usr/include/drm/radeon_drm.h'
/usr/bin/install -c -m 644 'savage_drm.h' '/usr/include/drm/savage_drm.h'
/usr/bin/install -c -m 644 'sis_drm.h' '/usr/include/drm/sis_drm.h'
/usr/bin/install -c -m 644 'via_drm.h' '/usr/include/drm/via_drm.h'
/usr/bin/install -c -m 644 'r300_reg.h' '/usr/include/drm/r300_reg.h'
/usr/bin/install -c -m 644 'via_3d_reg.h' '/usr/include/drm/via_3d_reg.h'
/usr/bin/install -c -m 644 'xgi_drm.h' '/usr/include/drm/xgi_drm.h'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/shared-core'
Making install in tests
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[2]: 没有什么可以做的为 `install-exec-am'。
make[2]: 没有什么可以做的为 `install-data-am'。
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1/tests'
make[1]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1'
make[2]: 正在进入目录 `/home/dawn/download/libdrm-2.4.1'
make[2]: 没有什么可以做的为 `install-exec-am'。
test -z "//lib/pkgconfig" || /bin/mkdir -p "//lib/pkgconfig"
/usr/bin/install -c -m 644 'libdrm.pc' '//lib/pkgconfig/libdrm.pc'
make[2]:正在离开目录 `/home/dawn/download/libdrm-2.4.1'
make[1]:正在离开目录 `/home/dawn/download/libdrm-2.4.1'

不胜感激


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译