免费注册 查看新帖 |

Chinaunix

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

求救:安装DBD::Informix模块时make出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-01 17:13 |只看该作者 |倒序浏览
Skip blib/lib/DBD/Informix/Summary.pm (unchanged)
Skip blib/lib/DBD/Informix/TechSupport.pm (unchanged)
Skip blib/lib/DBD/Informix/GetInfo.pm (unchanged)
Skip blib/lib/Bundle/DBD/Informix.pm (unchanged)
Skip blib/lib/DBD/Informix/Configure.pm (unchanged)
Skip blib/lib/DBD/Informix.pm (unchanged)
Skip blib/lib/DBD/Informix/TestHarness.pm (unchanged)
Skip blib/lib/DBD/Informix/TypeInfo.pm (unchanged)
Skip blib/lib/DBD/Informix/Defaults.pm (unchanged)
Skip blib/lib/DBD/Informix/Metadata.pm (unchanged)
        /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Informix.xs > Informix.xsc && mv Informix.xsc Informix.c
        gcc -c  -I/opt/informix/incl/esql -I/usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI -I/usr/local/lib/perl5/site_perl/5.8.8/PA-RISC2.0/auto/DBI -I/auto/DBI -I/usr/local/lib/perl5/site_perl/5.8.8/PA-RISC2.0/auto/DBI  -D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -O0    -DVERSION=\"2005.02\"  -DXS_VERSION=\"2005.02\" -fPIC "-I/usr/local/lib/perl5/5.8.8/PA-RISC2.0/CORE"  -DESQLC_VERSION=953 -DNDEBUG -DUSE_REAL_MALLOC -Wall -pedantic -Wno-comment Informix.c
Informix.c: 在函数‘XS_DBD__Informix_constant’中:
Informix.c:50: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:50: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:50: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:52: 警告:ISO C 不允许在表达式中使用花括号组
In file included from Informix.c:58:
/usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI/Driver_xst.h: 在函数‘dbixst_bounce_method’中:
/usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI/Driver_xst.h:26: 警告:ISO C 不允许在表达式中使用花括号组
/usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI/Driver_xst.h:27: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__dr_discon_all_’中:
Informix.c:78: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__dr_data_sources’中:
Informix.xsi:62: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__db__login’中:
Informix.c:155: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__db_selectall_arrayref’中:
Informix.xsi:111: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:111: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:115: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:125: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:125: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:131: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:131: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:137: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:137: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:208: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__db_selectrow_arrayref’中:
Informix.xsi:161: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:161: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:161: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:161: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:168: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:168: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:168: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:168: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:174: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:174: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:174: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:174: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:187: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__db_commit’中:
Informix.c:369: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__db_rollback’中:
Informix.c:388: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__db_disconnect’中:
Informix.xsi:272: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:272: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:423: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__db_STORE’中:
Informix.c:447: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__db_FETCH’中:
Informix.c:468: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st__prepare’中:
Informix.c:634: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_rows’中:
Informix.c:654: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_bind_param’中:
Informix.c:755: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_bind_param_inout’中:
Informix.c:805: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__st_execute’中:
Informix.xsi:563: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:563: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:838: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_fetchrow_arrayref’中:
Informix.c:890: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__st_fetchrow_array’中:
Informix.xsi:621: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_fetchall_arrayref’中:
Informix.c:955: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi: 在函数‘XS_DBD__Informix__st_finish’中:
Informix.xsi:651: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:651: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:657: 警告:ISO C 不允许在表达式中使用花括号组
Informix.xsi:657: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:987: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_blob_read’中:
Informix.c:1027: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_STORE’中:
Informix.c:1051: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__st_FETCH_attrib’中:
Informix.c:1075: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__dr_driver_init’中:
Informix.c:1141: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘XS_DBD__Informix__dr_FETCH’中:
Informix.c:1162: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c: 在函数‘boot_DBD__Informix’中:
Informix.c:1174: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:1369: 警告:ISO C 不允许在表达式中使用花括号组
Informix.c:1369: 警告:ISO C 不允许在表达式中使用花括号组
        INFORMIXC="/usr/local/bin/perl esqlcc" ESQLCC="gcc" esql -c -shared  -I/opt/informix/incl/esql -I/usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI -I/usr/local/lib/perl5/site_perl/5.8.8/PA-RISC2.0/auto/DBI -I/auto/DBI -I/usr/local/lib/perl5/site_perl/5.8.8/PA-RISC2.0/auto/DBI  -D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -O0     -DVERSION=\"2005.02\"  -DXS_VERSION=\"2005.02\" -fPIC -I/usr/local/lib/perl5/5.8.8/PA-RISC2.0/CORE -DESQLC_VERSION=953 -DNDEBUG -DUSE_REAL_MALLOC -Wall -pedantic -Wno-comment dbdimp.ec
gcc: +Ofastaccess:没有该文件或目录
gcc: +DS2.0:没有该文件或目录
gcc: +DA2.0W:没有该文件或目录
cc1: 错误:无法识别的命令行选项“-H400000”
*** 错误退出代码 1

停止。

机器是HPunix,需要的模块和软件都已经装好了,在make的时候报错,请大虾们指点,谢谢。。

论坛徽章:
0
2 [报告]
发表于 2008-08-01 17:14 |只看该作者

附上相关信息

*** ExtUtils::AutoInstall version 0.56
*** Checking for dependencies...
[Core Features]
- DBI         ...loaded. (1.52 >= 1.3
[High Resolution Timing]
- Time::HiRes ...loaded. (1.86)
[POD Format Testing]
- Test:od   ...loaded. (1.26)
*** ExtUtils::AutoInstall configuration finished.
Subroutine main::WriteMakefile redefined at /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/AutoInstall.pm line 457.

Configuring IBM Informix Database Driver for Perl DBI Version 2005.02 (2005-07-29) (aka DBD::Informix)
        You are using DBI version 1.52 and Perl version 5.008008
Remember to actually read the README file!

Perl:     perl v5.008008 PA-RISC2.0 dl_hpux.xs
System:   hp-ux hades b.11.11 u 9000800 1335053341 unlimited-user license
Using INFORMIXDIR=/opt/informix and ESQL/C compiler esql
Using IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version 9.53.FC2R2 from /opt/informix

Beware: DBD::Informix is not yet aware of all the new IUS data types.

Assert macro will be disabled!

lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK


Because DBD_INFORMIX_NO_ESQLTEST is set in your environment, you
have chosen not to run the test which verifies that your ESQL/C
setup will allow DBD::Informix to compile and the tests to run.  If
you run into *ANY* problems, you must verify that the esqltest
program can be compiled and run successfully before you even think
of asking for help.  Also make sure you read the whole README
file before asking the DBI/DBD community for help!


Fortunately, you are using a new version of ESQL/C.  We could
use 'esql -libs' to tell us which libraries to use, except that
some versions of the esql script are very Clintonian and do not
tell us the whole truth.  So we have to do a fiddly workaround,
editing the esql script on the fly and feeding the edited
version to the shell and ...  Oh, you really don't want to know
what we do; it's horrid but it works, usually!
... We are going to use the library list:
-lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lm -lsec /opt/informix/lib/esql/checkapi.o -lifglx

Using DBI 1.52 (for perl 5.008008 on PA-RISC2.0) installed in /usr/local/lib/perl5/5.8.8/PA-RISC2.0/auto/DBI/
Writing Makefile for DBD::Informix

论坛徽章:
0
3 [报告]
发表于 2008-08-02 21:16 |只看该作者
顶一下。。

论坛徽章:
0
4 [报告]
发表于 2008-08-02 22:14 |只看该作者
帮你顶一下,没人能帮忙啊! 版主在不?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP