Can't emerge blender, got an error like this: Compiling ==> 'buildinfo.c' gcc: ':没有那个文件或目录 <命令行>: 警告:缺少结尾的 ' 字符 source/creator/buildinfo.c:38: 错误:缺少结尾的 ' 字符 source/creator/buildinfo.c:38: 错误:expected expression before ‘;’ token scons: *** [/var/tmp/portage/media-gfx/blender-2.49b/work/build/linux2/source/creator/dynamic_buildinfo.o] Error 1 scons: building terminated because of errors. Reproducible: Always Steps to Reproduce: 1.emerge blender
Created attachment 211233 [details] build.log
Created attachment 211234 [details] environment
Would you translate the error (or attach a LANG=C build.log) ?
(In reply to comment #3) > Would you translate the error (or attach a LANG=C build.log) ? > I fixed this bug by changing my locale to en_US.UTF-8, the locale I used for emerging it was zh_CN.UTF-8. I guess it has something to do with the language support cause it uses "nls" use-flag.
Even I have installed blender on my gentoo, but it still a bug cause I have to use locale 'en_US.UTF-8' not 'zh_CN.UTF-8'.
Compiling ==> 'buildinfo.c' gcc: ':没有那个文件或目录 <命令行>: 警告:缺少结尾的 ' 字符 source/creator/buildinfo.c:38: 错误:缺少结尾的 ' 字符 source/creator/buildinfo.c:38: 错误:expected expression before ‘;’ token ==========translation========== Compiling ==> 'buildinfo.c' gcc: ':no such file or directory <command line>: warning:missing '' source/creator/buildinfo.c:38: error:missing "'" in the end source/creator/buildinfo.c:38: error:expected expression before ‘;’ token
It may sound silly, but does it work in zh_TW.utf8 locale ? Cause if it does, it's not quite a blender bug.
*** This bug has been marked as a duplicate of bug 223393 ***