免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
31 [报告]
发表于 2009-02-15 21:11 |只看该作者
提个问题:文泉正黑应该只要用ports安装就可以了吧?编译时那个选项怎么选?

论坛徽章:
0
32 [报告]
发表于 2009-02-15 21:17 |只看该作者
原帖由 fhzxt 于 2009-2-15 21:11 发表
提个问题:文泉正黑应该只要用ports安装就可以了吧?编译时那个选项怎么选?


到文泉驿下载字体,kde 4.2安装完成以后,用它的字体安装程序,一安装就能用!正黑是ttf字体,点阵字体推荐用ports安装

论坛徽章:
0
33 [报告]
发表于 2009-02-16 10:33 |只看该作者
还有一个问题就是,我事先下载了KDE4.2的Source包,但是有些包要放在:/usr/ports/distfiles/kde/下面,有些放在/usr/ports/distfiles/下面,有什么规律,不然我已经下载好的包又要从网上重新下载一次?

论坛徽章:
0
34 [报告]
发表于 2009-02-16 13:02 |只看该作者
遇到2个麻烦:
一个是用portupgrade更新ports时告诉我两个目录找不到不能更新xorg,所以我的xorg还是7.3的,重新extract我也试过了,我是用portsnape的,用的是portsnape.cn.freebsd.org的服务器。那两个目录是:/usr/ports/x11/xorg-protos和/usr/ports/x11/xphelloworld;
第二个是鼠标不能用了,先说明我没有去改配置文件,文本模式下触摸板和usb鼠标都能用,xorg.conf是用xorg -configure生成的,我只改了分辨率,其他也没改,测试时,两个鼠标都不能动。请教各位啊,7-stable的,古老版本的方法估计不能用。

[ 本帖最后由 fhzxt 于 2009-2-16 13:04 编辑 ]

论坛徽章:
0
35 [报告]
发表于 2009-02-16 13:33 |只看该作者
原帖由 waveflowers 于 2009-2-16 10:33 发表
还有一个问题就是,我事先下载了KDE4.2的Source包,但是有些包要放在:/usr/ports/distfiles/kde/下面,有些放在/usr/ports/distfiles/下面,有什么规律,不然我已经下载好的包又要从网上重新下载一次?


KDE 4.2 和 Qt 4.4.3 的源代码包,都是放在 /usr/ports/distfiles/KDE 目录下,注意KDE是大写!

论坛徽章:
0
36 [报告]
发表于 2009-02-16 13:40 |只看该作者
原帖由 fhzxt 于 2009-2-16 13:02 发表
遇到2个麻烦:
一个是用portupgrade更新ports时告诉我两个目录找不到不能更新xorg,所以我的xorg还是7.3的,重新extract我也试过了,我是用portsnape的,用的是portsnape.cn.freebsd.org的服务器。那两个目录是 ...


ports的缺失可以用csup到官网去更新,若还出现所说的问题,建议删除 /usr/ports/index-7.db这个文件,用portupgrade重新建立ports的数据库

xorg的问题,我是一种猜测,估计是更新了xorg 的server 了,xorg 7.4 的server 在配置输入设备时,需要hal的支持,否则无法识别输入设备,尤其是鼠标。可以在rc.conf中加入 hald_enable="YES",系统启动自动加载hal,也可以 cd /usr/local/etc/rc.d && ./hald forcestart临时启动hal,再启动x,看看是否能用鼠标!

论坛徽章:
0
37 [报告]
发表于 2009-02-16 13:48 |只看该作者
csup是不是更新前照handbook所说要删除以前的全部ports?而且我看过了那两个目录确实不存在,应该不是db的问题

[ 本帖最后由 fhzxt 于 2009-2-16 13:49 编辑 ]

论坛徽章:
0
38 [报告]
发表于 2009-02-16 13:55 |只看该作者
原帖由 fhzxt 于 2009-2-16 13:48 发表
csup是不是更新前照handbook所说要删除以前的全部ports?而且我看过了那两个目录确实不存在,应该不是db的问题


csup和cvsup的功能是一样的,不需要运行前删除整个ports,更新就行,db是之前形成的,删除重建也很快!

论坛徽章:
0
39 [报告]
发表于 2009-02-16 14:12 |只看该作者
别管他了。。。

[ 本帖最后由 fhzxt 于 2009-2-16 15:43 编辑 ]

论坛徽章:
0
40 [报告]
发表于 2009-02-16 16:45 |只看该作者
===>   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... no
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 DRI2PROTO... yes
checking for DRIGL... gnome-config: not found
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
No package 'xcb-glx' 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/graphics/libglut.
*** Error code 1

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

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

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/devel/gconf2.
*** Error code 1

Stop in /usr/ports/security/gnome-keyring.
*** Error code 1

Stop in /usr/ports/security/gnome-keyring.
*** Error code 1

Stop in /usr/ports/devel/gvfs.
*** Error code 1

Stop in /usr/ports/devel/gvfs.
*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

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

Stop in /usr/ports/x11-toolkits/qt4-gui.
*** 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.

这是在哪里出了问题?有没有办法解决?多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP