分页: 1 / 1

急问:TOra编译时检查 OCI works 报错

发表于 : 2007-06-07 13:33
ghostcloud
我根据论坛中 让Ubuntu下的Tora支持Oracle 提供的方法 编译TOra时,运行 debian/rules binary 在检查 OCI works 的时候报错,有前辈有过这样的经历吗?在网上找都是这一种方法。谢谢了,急阿。

......
checking for lrelease... /usr/bin/lrelease
checking for lupdate... /usr/bin/lupdate
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if STL implementation is SGI like... yes
checking for oracle... /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
checking oci works... configure: error: Couldn't compile and run a simpile OCI app.
Try setting ORACLE_HOME or check config.log.
Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or LD_LIBRARY_PATH
make: *** [configure-stamp] 错误 1

~/tora-1.3.21$ echo $ORACLE_HOME
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
~/tora-1.3.21$ echo $LD_LIBRARY_PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
~/tora-1.3.21$

也看到有人说仅客户端加上
--with-oracle-includes=/home/mrjohnson/instantclient/sdk/include/
--with-oracle-libraries=/home/mrjohnson/instantclient/
--with-oci-version=10G
就行了

请问这个sdk在哪找?

发表于 : 2007-06-08 23:06
tangyou