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

编译安装或者制作Deb包
回复
ghostcloud
帖子: 7
注册时间: 2007-05-28 20:39
送出感谢: 0
接收感谢: 0

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

#1

帖子 ghostcloud » 2007-06-07 13:33

我根据论坛中 让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在哪找?
tangyou
帖子: 4
注册时间: 2007-02-01 21:56
送出感谢: 0
接收感谢: 0

#2

帖子 tangyou » 2007-06-08 23:06

参考这里:http://sapiterbang.blogsome.com/2005/12/07/rebuilding-tora-with-oracle-support/
回复

回到 “编译或打包”