2016-10-10 145 views
0

大多數cx_Oracle 5.2.1版本都是針對Windows和Linux的。如何安裝/獲取Solaris 11 Sparc的安裝?在solaris 11 sparc上安裝cx_oracle

我試着用以下步驟來安裝:cx_Oracle-5.2.1.tar.gz從sourceforge.net 但導致以下錯誤:

/tmp/cx_Oracle-5.2.1$ python setup.py build 
running build 
running build_ext 
building 'cx_Oracle' extension 
creating build 
creating build/temp.solaris-2.11-sun4v.32bit-2.7-11g 
cc -DNDEBUG -KPIC -DPIC -I/u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/demo -I/u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/public -I/usr/include/python2.7 -c cx_Oracle.c -o build/temp.solaris-2.11-sun4v.32bit-2.7-11g/cx_Oracle.o -DBUILD_VERSION=5.2.1 
unable to execute 'cc': No such file or directory 
error: command 'cc' failed with exit status 1 

請指教。

+0

的可能的複製[如何設置CX \ _oracle在Solaris中?(http://stackoverflow.com/questions/33779349/how-to-setup-cx-oracle-在-的Solaris) – alanc

回答