LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 898|回复: 9

XORG 6.8.1, 最新portage的问题?

[复制链接]
发表于 2004-11-2 09:05:42 | 显示全部楼层 |阅读模式
用最新的2004.2-r1安装了基本系统,发现grub有毛病,无论你怎么更改bios里边的硬盘顺序,grub-install的时候,device.map里边设定的map都是一样。但是启动的时候,grub确根据bios的设定,重新设定硬盘的map顺序。费了我很长时间才发现问题所在。搞定这个了。这个是题外话。
但是安装XORG确出现问题了。DX帮忙。
我下载的是10月28号的包。安装XORG出现这个错误。
making all in lib/GLU/libutil...
make[5]: Entering directory `/var/tmp/portage/xorg-x11-6.8.1/work/xc/lib/GLU/libutil'
rm -f error.o unshared/error.o
gcc -c -ansi -pedantic -Wno-return-type -w  -I../include        -I../../../include      -I../../../include/GL  -I../../.. -I../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE                               -DFUNCPROTO=15 -DNARROWPROTO   -DNDEBUG       -O2 -march=pentium3 -fomit-frame-pointer -pipe -fno-strict-aliasing   error.c -o unshared/error.o
In file included from error.c:40:
../../../include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from error.c:40:
../../../include/GL/glu.h:262: error: syntax error before '*' token
../../../include/GL/glu.h:262: error: `GLvoid' declared as function returning a function
../../../include/GL/glu.h:269: error: syntax error before "gluBuild1DMipmapLevels"
../../../include/GL/glu.h:269: error: syntax error before "target"
../../../include/GL/glu.h:269: error: ISO C forbids data definition with no type or storage class
../../../include/GL/glu.h:270: error: syntax error before "gluBuild1DMipmaps"
../../../include/GL/glu.h:270: error: syntax error before "target"
../../../include/GL/glu.h:270: error: ISO C forbids data definition with no type or storage class
../../../include/GL/glu.h:271: error: syntax error before "gluBuild2DMipmapLevels"
../../../include/GL/glu.h:271: error: syntax error before "target"
../../../include/GL/glu.h:271: error: ISO C forbids data definition with no type or storage class
../../../include/GL/glu.h:272: error: syntax error before "gluBuild2DMipmaps"
../../../include/GL/glu.h:272: error: syntax error before "target"
../../../include/GL/glu.h:272: error: ISO C forbids data definition with no type or storage class
../../../include/GL/glu.h:273: error: syntax error before "gluBuild3DMipmapLevels"
../../../include/GL/glu.h:273: error: syntax error before "target"
and so on.

从现象看,好像是因为有的包没有安装好,造成的依赖关系没有解决。
给点建议。

:thank
发表于 2004-11-2 09:12:57 | 显示全部楼层
在USE里加入“glx”试试。
 楼主| 发表于 2004-11-2 09:25:37 | 显示全部楼层
最初由 ldh168 发表
在USE里加入“glx”试试。

我来试一试。你说的不是glc吧?
发表于 2004-11-2 09:49:41 | 显示全部楼层
最初由 blackwhite 发表
我来试一试。你说的不是glc吧?


是glx

你[PHP]emerge -av xorg-x11[/PHP] 看是什么结果。

里面有glx和glc的
 楼主| 发表于 2004-11-2 10:02:09 | 显示全部楼层
通过了。谢谢。
发表于 2004-11-4 16:37:58 | 显示全部楼层
我加了glc和glx还是出现楼主帖的错误。
发表于 2004-11-4 23:00:50 | 显示全部楼层
我从stage1开始。gcc3.4。nptl ,现在还是出现上面的错误。连xfree都通过不了。中文portage一开始用的是1026的,后来换成cvs里的。
 楼主| 发表于 2004-11-4 23:38:52 | 显示全部楼层
export BREAKME=TRUE。
USE='cjk glc glx' emerge xorg-x11
发表于 2004-11-5 08:13:44 | 显示全部楼层
拿几个变量我都有加上,还是有问题,
发表于 2004-11-8 16:09:31 | 显示全部楼层
怎么我的xorg-x11没事呢?我用的是2004.1,没有这个现象
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表