免费注册 查看新帖 |

Chinaunix

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

【求助】php连Oracle,Oracle9i安装成功,但是编译php出错!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-09 15:54 |只看该作者 |倒序浏览
9i安装很成功,没有任何错误提示。安装的客户端。800多M的完整客户端。

而后进../php-4.3.1/

  1. ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-zlib --with-xml --enable-shmop --with-iconv --with-oracle=/opt/oracle/product/9.2.0/ --with-oci8=/opt/oracle/product/9.2.0/ --enable-safe-mode
复制代码


很正常。

但是make的时候出错。
代码:

  1. ......
  2. ......
  3. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: request for member `pEnv' in something not a structure or union
  4. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: request for member `elem_ref' in something not a structure or union
  5. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: `OCI_DURATION_SESSION' undeclared (first use in this function)
  6. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: `OCI_TYPEGET_HEADER' undeclared (first use in this function)
  7. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: request for member `element_type' in something not a structure or union
  8. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5323: request for member `in_call' in something not a structure or union
  9. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5336: request for member `in_call' in something not a structure or union
  10. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5336: request for member `in_call' in something not a structure or union
  11. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5336: parse error before ')' token
  12. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5336: request for member `in_call' in something not a structure or union
  13. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5344: request for member `coll_typecode' in something not a structure or union
  14. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: request for member `in_call' in something not a structure or union
  15. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: request for member `in_call' in something not a structure or union
  16. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: request for member `pEnv' in something not a structure or union
  17. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: request for member `tdo' in something not a structure or union
  18. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: parse error before ')' token
  19. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5358: request for member `in_call' in something not a structure or union
  20. /opt/Install/php-4.3.1/ext/oci8/oci8.c:5366: request for member `id' in something not a structure or union
  21. make: *** [ext/oci8/oci8.lo] Error 1
复制代码

请问如何解决。这个php连oracle的问题折腾我一个星期了,快崩溃了。


大家救我!

论坛徽章:
0
2 [报告]
发表于 2004-07-11 01:53 |只看该作者

【求助】php连Oracle,Oracle9i安装成功,但是编译php出错!!

错误贴出来看看阿

论坛徽章:
0
3 [报告]
发表于 2004-07-12 10:28 |只看该作者

【求助】php连Oracle,Oracle9i安装成功,但是编译php出错!!

请问指的是什么错误?
上面就是出错的部分代码。

论坛徽章:
0
4 [报告]
发表于 2004-07-12 14:56 |只看该作者

【求助】php连Oracle,Oracle9i安装成功,但是编译php出错!!

谢谢上面的朋友,我已经全部搞定了。

高兴中~~

论坛徽章:
0
5 [报告]
发表于 2006-10-09 14:45 |只看该作者
bradren ,你是怎么解决的,我也遇到这个问题。你是怎么解决的。分享一下好吗,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP