LinuxSir.cn,穿越时空的Linuxsir!

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

emerge kdebase错误

[复制链接]
发表于 2006-4-5 09:46:31 | 显示全部楼层 |阅读模式
emerge kdebase后,出现错误:

  1. pstoraster/gdevcups.c: In function `cups_print_planar':
  2. pstoraster/gdevcups.c:4006: error: syntax error before ')' token
  3. pstoraster/gdevcups.c:4023: error: syntax error before ')' token
  4. pstoraster/gdevcups.c:4025: error: syntax error before ')' token
  5. pstoraster/gdevcups.c:4028: error: syntax error before ')' token
  6. pstoraster/gdevcups.c:4030: error: syntax error before ')' token
  7. pstoraster/gdevcups.c:4033: error: syntax error before ')' token
  8. pstoraster/gdevcups.c:4034: warning: left-hand operand of comma expression has no effect
  9. pstoraster/gdevcups.c:4058: error: `CUPS_CSPACE_GMCK' undeclared (first use in this function)
  10. pstoraster/gdevcups.c:4059: error: `CUPS_CSPACE_GMCS' undeclared (first use in this function)
  11. pstoraster/gdevcups.c:4060: error: `CUPS_CSPACE_RGBA' undeclared (first use in this function)
  12. pstoraster/gdevcups.c:4061: error: `CUPS_CSPACE_CMYK' undeclared (first use in this function)
  13. pstoraster/gdevcups.c:4062: error: `CUPS_CSPACE_YMCK' undeclared (first use in this function)
  14. pstoraster/gdevcups.c:4063: error: `CUPS_CSPACE_KCMY' undeclared (first use in this function)
  15. pstoraster/gdevcups.c:4064: error: syntax error before ')' token
  16. pstoraster/gdevcups.c:4065: warning: left-hand operand of comma expression has no effect
  17. pstoraster/gdevcups.c:4089: error: `CUPS_CSPACE_KCMYcm' undeclared (first use in this function)
  18. pstoraster/gdevcups.c:4090: error: syntax error before ')' token
  19. pstoraster/gdevcups.c:4091: warning: left-hand operand of comma expression has no effect
  20. pstoraster/gdevcups.c:4111: error: syntax error before ')' token
  21. pstoraster/gdevcups.c:4113: error: syntax error before ')' token
  22. pstoraster/gdevcups.c:4116: error: syntax error before ')' token
  23. pstoraster/gdevcups.c:4117: warning: left-hand operand of comma expression has no effect
  24. pstoraster/gdevcups.c:4171: error: syntax error before ')' token
  25. pstoraster/gdevcups.c:4172: warning: left-hand operand of comma expression has no effect
  26. pstoraster/gdevcups.c:4226: error: syntax error before ')' token
  27. pstoraster/gdevcups.c:4228: error: syntax error before ')' token
  28. pstoraster/gdevcups.c:4239: error: syntax error before ')' token
  29. pstoraster/gdevcups.c:4239: warning: left-hand operand of comma expression has no effect
  30. pstoraster/gdevcups.c:4283: error: syntax error before ')' token
  31. pstoraster/gdevcups.c:4283: warning: left-hand operand of comma expression has no effect
  32. pstoraster/gdevcups.c:4316: error: syntax error before ')' token
  33. pstoraster/gdevcups.c:4327: error: syntax error before ')' token
  34. pstoraster/gdevcups.c:4327: error: syntax error before ')' token
  35. pstoraster/gdevcups.c:4316: warning: value computed is not used
  36. pstoraster/gdevcups.c: At top level:
  37. pstoraster/gdevcups.c:955: warning: `cups_map_cielab' defined but not used
  38. make: *** [obj/gdevcups.o] 错误 1

  39. !!! ERROR: app-text/ghostscript-gnu-8.16-r1 failed.
  40. !!! Function src_compile, Line 90, Exitcode 2
  41. !!! make failed
  42. !!! If you need support, post the topmost build error, NOT this status message.

复制代码


昨天emerge --sync了的
看起来像是软件包ghostscript-gnu-8.16-r1的问题
有谁遇到过吗?
发表于 2006-4-5 11:35:05 | 显示全部楼层
gcc 用的是4.0?
回复 支持 反对

使用道具 举报

发表于 2006-4-5 12:49:53 | 显示全部楼层
Post by co63
emerge kdebase后,出现错误:

  1. pstoraster/gdevcups.c: In function [color="Red"]`cups_print_planar':[/color]
  2. pstoraster/gdevcups.c:4006: error: syntax error before ')' token
  3. pstoraster/gdevcups.c:4023: error: syntax error before ')' token
  4. pstoraster/gdevcups.c:4025: error: syntax error before ')' token
  5. pstoraster/gdevcups.c:4028: error: syntax error before ')' token
  6. pstoraster/gdevcups.c:4030: error: syntax error before ')' token
  7. pstoraster/gdevcups.c:4033: error: syntax error before ')' token
  8. pstoraster/gdevcups.c:4034: warning: left-hand operand of comma expression has no effect
  9. pstoraster/gdevcups.c:4058: error: `CUPS_CSPACE_GMCK' undeclared (first use in this function)
  10. pstoraster/gdevcups.c:4059: error: `CUPS_CSPACE_GMCS' undeclared (first use in this function)
  11. pstoraster/gdevcups.c:4060: error: `CUPS_CSPACE_RGBA' undeclared (first use in this function)
  12. pstoraster/gdevcups.c:4061: error: `CUPS_CSPACE_CMYK' undeclared (first use in this function)
  13. pstoraster/gdevcups.c:4062: error: `CUPS_CSPACE_YMCK' undeclared (first use in this function)
  14. pstoraster/gdevcups.c:4063: error: `CUPS_CSPACE_KCMY' undeclared (first use in this function)
  15. pstoraster/gdevcups.c:4064: error: syntax error before ')' token
  16. pstoraster/gdevcups.c:4065: warning: left-hand operand of comma expression has no effect
  17. pstoraster/gdevcups.c:4089: error: `CUPS_CSPACE_KCMYcm' undeclared (first use in this function)
  18. pstoraster/gdevcups.c:4090: error: syntax error before ')' token
  19. pstoraster/gdevcups.c:4091: warning: left-hand operand of comma expression has no effect
  20. pstoraster/gdevcups.c:4111: error: syntax error before ')' token
  21. pstoraster/gdevcups.c:4113: error: syntax error before ')' token
  22. pstoraster/gdevcups.c:4116: error: syntax error before ')' token
  23. pstoraster/gdevcups.c:4117: warning: left-hand operand of comma expression has no effect
  24. pstoraster/gdevcups.c:4171: error: syntax error before ')' token
  25. pstoraster/gdevcups.c:4172: warning: left-hand operand of comma expression has no effect
  26. pstoraster/gdevcups.c:4226: error: syntax error before ')' token
  27. pstoraster/gdevcups.c:4228: error: syntax error before ')' token
  28. pstoraster/gdevcups.c:4239: error: syntax error before ')' token
  29. pstoraster/gdevcups.c:4239: warning: left-hand operand of comma expression has no effect
  30. pstoraster/gdevcups.c:4283: error: syntax error before ')' token
  31. pstoraster/gdevcups.c:4283: warning: left-hand operand of comma expression has no effect
  32. pstoraster/gdevcups.c:4316: error: syntax error before ')' token
  33. pstoraster/gdevcups.c:4327: error: syntax error before ')' token
  34. pstoraster/gdevcups.c:4327: error: syntax error before ')' token
  35. pstoraster/gdevcups.c:4316: warning: value computed is not used
  36. pstoraster/gdevcups.c: At top level:
  37. pstoraster/gdevcups.c:955: warning: [color="Red"]`cups_map_cielab'[/color] defined but not used
  38. make: *** [obj/gdevcups.o] 错误 1

  39. [color="Red"]!!! ERROR: app-text/ghostscript-gnu-8.16-r1 failed.[/color]
  40. !!! Function src_compile, Line 90, Exitcode 2
  41. !!! make failed
  42. !!! If you need support, post the topmost build error, NOT this status message.

复制代码


昨天emerge --sync了的
看起来像是软件包ghostscript-gnu-8.16-r1的问题
有谁遇到过吗?

编译ghostscript出错,是不是cups有问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 20:14:41 | 显示全部楼层
gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
需要使用gcc4?
使用emerge gcc升级吗?

如果cups有依赖上的问题,gentoo应该能自动处理吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 21:17:06 | 显示全部楼层
找到原因了
/etc/make.conf
中的USB变量加上cups
回复 支持 反对

使用道具 举报

发表于 2006-4-5 23:12:25 | 显示全部楼层
哈哈,我现在也出现这个问题。
回复 支持 反对

使用道具 举报

发表于 2006-4-5 23:24:04 | 显示全部楼层
但是我在make.conf里面USE行加上cups了还不管用呢?
回复 支持 反对

使用道具 举报

发表于 2006-4-5 23:57:21 | 显示全部楼层
Post by co63
找到原因了
/etc/make.conf
中的USB变量加上cups

是“USB”变量?这个写在make.conf的格式是怎么样的,请教!
回复 支持 反对

使用道具 举报

发表于 2006-4-6 00:39:55 | 显示全部楼层
在/etc/make.conf中设置USE参数, 不是'USB'啦。
比如:
  1. USE="cjk unicode nls nptl nptlonly userlocales bash-completion 3dnow 3dnowext sse mmx mmxext cairo fortran usb dvd avi wmv win32codecs bmp aac real mp3 flac xvid emacs  bzip2 -tcltk -gtk -sdl -xmms  -arts -ipv6 -spell -kde -qt -qtmt -bluetooth -apm -wifi -pcmcia -yahoo -gnome -mozilla -quicktime -cups -foomaticdb -netboot -accessibility -aim "
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-4-6 07:05:50 | 显示全部楼层
多谢楼上,偶先前设置了"+",原来是要"-"。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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