- 论坛徽章:
- 0
|
CafeW:/home/weiyan/.cpan/build/DBD-DB2-1.76-zLnDis# make
Skip blib/lib/DBD/DB2.pm (unchanged)
Skip blib/lib/Bundle/DBD/DB2.pm (unchanged)
Skip blib/lib/DBD/DB2.pod (unchanged)
make[1]: Entering directory `/home/weiyan/.cpan/build/DBD-DB2-1.76-zLnDis/Constants'
Skip ../blib/lib/DBD/DB2/Constants.pm (unchanged)
cc -c -I"/home/db2inst1/sqllib/include" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.76\" -DXS_VERSION=\"1.76\" -fPIC "-I/usr/lib/perl/5.10/CORE" Constants.c
Constants.xs:16:20: 错误:sqlcli.h:没有那个文件或目录
Constants.xs:18:21: 错误:sqlcli1.h:没有那个文件或目录
Constants.xs:19:20: 错误:sqlext.h:没有那个文件或目录
make[1]: *** [Constants.o] 错误 1
make[1]: Leaving directory `/home/weiyan/.cpan/build/DBD-DB2-1.76-zLnDis/Constants'
make: *** [subdirs] 错误 2
从CPAN上安装也有错误
cpan[1]> install DBD: B2
CPAN: Storable loaded ok (v2.21)
Going to read '/home/weiyan/.cpan/Metadata'
Database was generated on Thu, 10 Dec 2009 22:32:44 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 48 yaml files from /home/weiyan/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 0.7931 secs)
Running install for module 'DBD: B2'
Running make for I/IB/IBMTORDB2/DBD-DB2-1.76.tar.gz
Has already been unwrapped into directory /home/weiyan/.cpan/build/DBD-DB2-1.76-zLnDis
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
google和baidu好久也没发现什么....有谁知道上面这三个头文件在哪有?我这系统里没得。 |
|