+ -
当前位置:首页 → 问答吧 → 在solaris中安装python遇到麻烦

在solaris中安装python遇到麻烦

时间:2010-12-15

来源:互联网

在solaris中安装python遇到麻烦,是受编译器限制吗???
请高手指教,谢谢!

server:/home/.../Python-3.1.3
$ make
make: *** Warning: File `Makefile' has modification time in the future (2010-12-15 09:44:27.546686 > 2010-12-15 09:31:41.561105373)
gcc -c  -g -O2 -DNDEBUG -g  -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
./Modules/python.c: In function `char2wchar':
./Modules/python.c:34: `mbstate_t' undeclared (first use this function)
./Modules/python.c:34: (Each undeclared identifier is reported only once
./Modules/python.c:34: for each function it appears in.)
./Modules/python.c:34: parse error before `mbs'
./Modules/python.c:64: `mbs' undeclared (first use this function)
./Modules/python.c:66: warning: implicit declaration of function `mbrtowc'
make: *** [Modules/python.o] Error 1

作者: haiouc   发布时间: 2010-12-15

回复 haiouc


    这个问题大家没有遇到过吗???

作者: haiouc   发布时间: 2010-12-17