Subject: | complie bug |
I compiled db2-admin on cygwin and db2 v9.7 environment.
I found following bugs.
(1) In Makefile.PL, a LIBS parameter is not valid because %extra_args
override it.
I think it should be modified like this.
$ diff Makefile.PL Makefile.PL.orig
136c136
< # $extra_args{LIBS} = [ $sysliblist ];
---
Show quoted text
> $extra_args{LIBS} = [ $sysliblist ];
178,179c178
< # my $libdir = ($Config{use64bitall}) ? 'lib64' : 'lib32';
< my $libdir = ($Config{use64bitall}) ? 'lib64' : 'lib';
---
Show quoted text> my $libdir = ($Config{use64bitall}) ? 'lib64' : 'lib32';
(2) In db2 v9.7 environment, create db2_constants.pl shell fails because
there are following line in sqlmon.h.
#define SQLM_INSTREAM_ADD_REQQUAL (SQLM_INSTREAM_ADD_REQUEST| \
SQLM_INSTREAM_ADD_QUALIFIER)
I joined these lines to one line, then it become possible to create
db2_constants.pl.