免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 杜比环绕声
打印 上一主题 下一主题

[FreeBSD] kde 4.2 on FreeBSD 赏析 [复制链接]

论坛徽章:
0
41 [报告]
发表于 2009-02-16 16:59 |只看该作者
http://www.nabble.com/Freebsd-7.2---firefox3-td21752734.html,帮你搜了一下
第一个是说你需要xcb这个port,然后你去看下1月23号的UPDATING里关于libxcb的内容,
第二个建议是说libX11 , libxcb这两个包你没有升级完毕,新的版本和旧的不一样,具体怎么样你自己决定吧

论坛徽章:
0
42 [报告]
发表于 2009-02-16 23:46 |只看该作者
yeah!我的鼠标问题解决了,原来是我的配置文件错了,而且这个错误还真不容易找出来。因为试了好多办法都没用,郁闷之际,用纯英文搜了下,结果找到人家的配置文件:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
对比之下,发现倒数第二行我的居然是Option "ZAxisMapping" "4 5 6 7",多出来两个,改掉后一切正常

论坛徽章:
0
43 [报告]
发表于 2009-02-17 10:46 |只看该作者
原帖由 fhzxt 于 2009-2-16 23:46 发表
yeah!我的鼠标问题解决了,原来是我的配置文件错了,而且这个错误还真不容易找出来。因为试了好多办法都没用,郁闷之际,用纯英文搜了下,结果找到人家的配置文件:
Section "InputDevice"
Identifier "Mouse ...


fhzxt兄的这个解决办法似乎并不是问题根节所在,“4 5"是鼠标左右键,“6 7"是滚轮的“上下键”模拟,似乎和鼠标不能使用关系不大,除非是没有滚轮的鼠标

论坛徽章:
0
44 [报告]
发表于 2009-02-17 10:50 |只看该作者
我不知道哪个理解是对的,但我的理解是:4,5就是上下滚轮,1,2是左右,3是中键(按下滚轮),至少compiz里定义快捷键是这么定义的,而且确实我把6,7删了就好用了,在x里面滚轮可是正常的。我的鼠标是罗技的G1,还有一个额外的后退键,不知道可不可以算是6。
ps:能不能看下我说的那个kde和tetex的问题

论坛徽章:
0
45 [报告]
发表于 2009-02-17 11:17 |只看该作者
[/usr/ports/x11/kde4]# make install clean
===>   kde4-4.2.0 depends on file: /usr/local/kde4/bin/kdebugdialog - not found
===>    Verifying install for /usr/local/kde4/bin/kdebugdialog in /usr/ports/x11/kdebase4-runtime
===>   kdebase-runtime-4.2.0_1 depends on package: qt4-corelib>=4.4.3 - found
===>   kdebase-runtime-4.2.0_1 depends on package: qt4-opengl>=4.4.3 - not found
===>   Verifying install for qt4-opengl>=4.4.3 in /usr/ports/x11/qt4-opengl
===>   qt4-opengl-4.4.3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   qt4-opengl-4.4.3 depends on package: qt4-qmake>=4.4.3 - found
===>   qt4-opengl-4.4.3 depends on package: qt4-moc>=4.4.3 - found
===>   qt4-opengl-4.4.3 depends on package: qt4-corelib>=4.4.3 - found
===>   qt4-opengl-4.4.3 depends on package: qt4-gui>=4.4.3 - found
===>   qt4-opengl-4.4.3 depends on shared library: GLU.1 - not found
===>    Verifying install for GLU.1 in /usr/ports/graphics/libGLU
===>   libGLU-7.3 depends on executable: gmake - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   libGLU-7.3 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   libGLU-7.3 depends on shared library: GL.1 - found
===>  Configuring for libGLU-7.3
checking build system type... i386-portbld-freebsd7.1
checking host system type... i386-portbld-freebsd7.1
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for gmake... gmake
checking for makedepend... /usr/local/bin/makedepend
checking for sed... /usr/bin/sed
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable assembly... yes, x86
checking for cc option to produce PIC... -fPIC
checking for dlopen... yes
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for DRIGL... gnome-config: not found
configure: error: Package requirements (x11 xext xxf86vm xdamage xfixes x11-xcb xcb-glx) were not met:

No package 'x11-xcb' 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 DRIGL_CFLAGS
and DRIGL_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@FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/libGLU/work/Mesa-7.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`).
*** Error code 1

Stop in /usr/ports/graphics/libGLU.
*** Error code 1

Stop in /usr/ports/x11/qt4-opengl.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.

请问高手又遇到了这个错误要怎么解决???

论坛徽章:
0
46 [报告]
发表于 2009-02-17 11:44 |只看该作者
上次你怎么解决的?
pkg_info | grep 'xcb'?

论坛徽章:
0
47 [报告]
发表于 2009-02-17 11:46 |只看该作者
[/usr/ports/x11/kde4]# pkg_info | grep 'xcb'
libxcb-1.1.93       The X protocol C-language Binding (XCB) library
xcb-2.4_1           A tool for managing x11 cut-buffers
xcb-proto-1.3       The X protocol C-language Binding (XCB) protocol
xcb-util-0.3.3      A module with libxcb/libX11 extension/replacement libraries

上次是把有些依赖的Ports去掉,跳过了。这个就不行了!

论坛徽章:
0
48 [报告]
发表于 2009-02-17 11:56 |只看该作者
我也不知道了,我没遇到这个问题,我的xcb相关包和你的一样,也许,你把ports删了,重新csup一遍,再更新一遍?仅供参考

论坛徽章:
0
49 [报告]
发表于 2009-02-17 11:56 |只看该作者
原始短消息: KDE42编译空间大小
所需空间,我在另外一台机子上编译KDE42,qt4已经install & clean了,那再编译kde要多少空间?


如果要完整编译,大约需要2G的空间,建议你先编译基本系统,

cd  /usr/ports/x11/kde4
make config

把所有的选项都勾掉,那些都是应用程序,可以之后一个一个的编译,这种情况下会编译kdelibs,kdebase和kdepimlib,以我的经验,kdebase需要的空间很大,应用程序里面kdepim和kdeedu需要的空间也很大,可以之后选择单独安装,其他的都不太大了,1G空间足够了

ps:短消息回复说无法找到用户,只好发到这里了!

论坛徽章:
0
50 [报告]
发表于 2009-02-17 12:01 |只看该作者
收到,我的大概已经占了快4G了。。。选了admin,artwork,pim,看来不行的话就勾掉再来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP