免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4861 | 回复: 3
打印 上一主题 下一主题

python 安装 solaris 10 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-25 09:59 |只看该作者 |倒序浏览
Hi , 各位高手, 小弟在solaris 10装 python 出现了麻烦, google 不到结果, 请大家帮帮忙.

我装的是3.0版, 机器上好象已经有了2.3版. 我的cc是在 /usr/ccs/bin里,已经export到path里面了.

现在把错误帖出来,请帮忙.

这个是make 的最后几个log, 好象有些问题.

gcc -shared build/temp.solaris-2.10-i86pc-3.0/export/home/software for dbs/Python-3.0/Modules/_multiprocessing/multiprocessing.o build/temp.solaris-2.10-i86pc-3.0/export/home/software for dbs/Python-3.0/Modules/_multiprocessing/socket_connection.o build/temp.solaris-2.10-i86pc-3.0/export/home/software for dbs/Python-3.0/Modules/_multiprocessing/semaphore.o -o build/lib.solaris-2.10-i86pc-3.0/_multiprocessing.so
creating build/temp.solaris-2.10-i86pc-3.0/libffi
env: Permission denied
Failed to configure _ctypes module

Failed to find the necessary bits to build these modules:
_gdbm              _hashlib           _sqlite3        
_ssl               _tkinter           ossaudiodev     
readline                                             
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_curses            _curses_panel                     

running build_scripts
creating build/scripts-3.0
copying and adjusting /export/home/software for dbs/Python-3.0/Tools/scripts/pydoc -> build/scripts-3.0
copying and adjusting /export/home/software for dbs/Python-3.0/Tools/scripts/idle -> build/scripts-3.0
copying and adjusting /export/home/software for dbs/Python-3.0/Tools/scripts/2to3 -> build/scripts-3.0
copying and adjusting /export/home/software for dbs/Python-3.0/Lib/smtpd.py -> build/scripts-3.0
changing mode of build/scripts-3.0/pydoc from 644 to 755
changing mode of build/scripts-3.0/idle from 644 to 755
changing mode of build/scripts-3.0/2to3 from 644 to 755
changing mode of build/scripts-3.0/smtpd.py from 644 to 755


然后 make install 就不行了

bash-3.00# make install
Creating directory /usr/local/lib
sh: ./install-sh: cannot execute
*** Error code 1
The following command caused the error:
for i in /usr/local/bin /usr/local/lib; \
do \
        if test ! -d $i; then \
                echo "Creating directory $i"; \
                ./install-sh -c -d -m 755 $i; \
        else    true; \
        fi; \
done
make: Fatal error: Command failed for target `altbininstall'

论坛徽章:
0
2 [报告]
发表于 2009-12-25 10:17 |只看该作者
sh: ./install-sh: cannot execute

把这个改成可执行的试试

论坛徽章:
0
3 [报告]
发表于 2009-12-25 10:23 |只看该作者

回复 #2 smallfish_xy 的帖子

shell我不会, 大概能看得懂,但是不会写`

兄弟帮忙给改一下看看.

论坛徽章:
0
4 [报告]
发表于 2009-12-25 10:57 |只看该作者
chmod a+x install-sh
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP