- 论坛徽章:
- 0
|
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' |
|