vennirajan has asked for the wisdom of the Perl Monks concerning the following question:
My problem is, when i am installing the DBI::DB2 module, i am unable to install the module. I also set the environment variables
Here with, i have attaced the error message given by the "make" command.
Can any one faced this problem ?... Please guide me to solve this problem. Realy i am struggling the entire day with this culprit.. :(In file included from DB2.xs:7: DB2.h:16:67: DBIXS.h: No such file or directory In file included from DB2.h:20, from DB2.xs:7: dbdimp.h:15: error: syntax error before "dbih_drc_t" dbdimp.h:15: warning: no semicolon at end of struct or union dbdimp.h:18: error: syntax error before '*' token dbdimp.h:18: warning: data definition has no type or storage class dbdimp.h:19: error: syntax error before '}' token dbdimp.h:23: error: syntax error before "dbih_dbc_t" dbdimp.h:23: warning: no semicolon at end of struct or union dbdimp.h:27: error: syntax error before '}' token dbdimp.h:32: error: syntax error before "dbih_stc_t" dbdimp.h:32: warning: no semicolon at end of struct or union dbdimp.h:39: error: syntax error before '*' token dbdimp.h:39: warning: data definition has no type or storage class dbdimp.h:55: error: syntax error before '}' token dbdimp.h:60: error: syntax error before "imp_sth_t" dbdimp.h:60: warning: no semicolon at end of struct or union dbdimp.h:77: error: syntax error before '}' token dbdimp.h:83: error: syntax error before "SV" dbdimp.h:83: warning: no semicolon at end of struct or union dbdimp.h:85: error: conflicting types for 'bufferSize' dbdimp.h:75: error: previous declaration of 'bufferSize' was here dbdimp.h:87: error: conflicting types for 'indp' dbdimp.h:73: error: previous declaration of 'indp' was here dbdimp.h:93: error: syntax error before '}' token DB2.h:22:67: dbd_xsh.h: No such file or directory In file included from DB2.xs:7: DB2.h:24: error: syntax error before '*' token DB2.h:26: error: syntax error before "_" DB2.h:27: error: syntax error before "_" DB2.h:28: error: syntax error before "_" DB2.h:30: error: syntax error before "_" DB2.h:32: error: syntax error before "_" DB2.h:38: error: syntax error before "_" DB2.h:47: error: syntax error before "_" DB2.h:54: error: syntax error before "_" DB2.xs:13: warning: data definition has no type or storage class DB2.c:26: warning: parameter names (without types) in function declara +tion DB2.c:26: warning: data definition has no type or storage class DB2.c: In function `XS': DB2.c:29: error: `dXSARGS' undeclared (first use in this function) DB2.c:932: error: `XS_VERSION_BOOTCHECK' undeclared (first use in this + function) DB2.c:935: error: `CV' undeclared (first use in this function) DB2.c:935: error: `cv' undeclared (first use in this function) DB2.c:937: error: `XS_DBD__DB2__dr_disconnect_all' undeclared (first u +se in this function) DB2.c:939: error: `XS_DBD__DB2__dr__data_sources' undeclared (first us +e in this function) DB2.c:941: error: `XS_DBD__DB2__db__login' undeclared (first use in th +is function) DB2.c:942: error: `XS_DBD__DB2__db_commit' undeclared (first use in th +is function) DB2.c:943: error: `XS_DBD__DB2__db_rollback' undeclared (first use in +this function) DB2.c:944: error: `XS_DBD__DB2__db_disconnect' undeclared (first use i +n this function) DB2.c:945: error: `XS_DBD__DB2__db_STORE' undeclared (first use in thi +s function) DB2.c:946: error: `XS_DBD__DB2__db_FETCH' undeclared (first use in thi +s function) DB2.c:947: error: `XS_DBD__DB2__db_DESTROY' undeclared (first use in t +his function) DB2.c:948: error: `XS_DBD__DB2__db__do' undeclared (first use in this +function) DB2.c:949: error: `XS_DBD__DB2__db__ping' undeclared (first use in thi +s function) DB2.c:950: error: `XS_DBD__DB2__db__get_info' undeclared (first use in + this function) DB2.c:951: error: `XS_DBD__DB2__st__prepare' undeclared (first use in +this function) DB2.c:952: error: `XS_DBD__DB2__st_rows' undeclared (first use in this + function) DB2.c:953: error: `XS_DBD__DB2__st_bind_param' undeclared (first use i +n this function) DB2.c:954: error: `XS_DBD__DB2__st_bind_param_inout' undeclared (first + use in this function) DB2.c:955: error: `XS_DBD__DB2__st_execute' undeclared (first use in t +his function) DB2.c:956: error: `XS_DBD__DB2__st_fetchrow_arrayref' undeclared (firs +t use in this function) DB2.c:957: error: `XSANY' undeclared (first use in this function) DB2.c:960: error: `XS_DBD__DB2__st_fetchrow_array' undeclared (first u +se in this function) DB2.c:964: error: `XS_DBD__DB2__st_finish' undeclared (first use in th +is function) DB2.c:965: error: `XS_DBD__DB2__st_blob_read' undeclared (first use in + this function) DB2.c:966: error: `XS_DBD__DB2__st_STORE' undeclared (first use in thi +s function) DB2.c:967: error: `XS_DBD__DB2__st_FETCH' undeclared (first use in thi +s function) DB2.c:968: error: `XS_DBD__DB2__st_DESTROY' undeclared (first use in t +his function) DB2.c:969: error: `XS_DBD__DB2__st__table_info' undeclared (first use +in this function) DB2.c:970: error: `XS_DBD__DB2__st__primary_key_info' undeclared (firs +t use in this function) DB2.c:971: error: `XS_DBD__DB2__st__foreign_key_info' undeclared (firs +t use in this function) DB2.c:972: error: `XS_DBD__DB2__st__column_info' undeclared (first use + in this function) DB2.c:973: error: `XS_DBD__DB2__st__type_info_all' undeclared (first u +se in this function) DB2.xs:21: error: `items' undeclared (first use in this function) DB2.xs:22: error: `DBISTATE_INIT' undeclared (first use in this functi +on) DB2.xs:24: error: `imp_drh_t' undeclared (first use in this function) DB2.xs:25: error: `imp_dbh_t' undeclared (first use in this function) DB2.xs:26: error: `imp_sth_t' undeclared (first use in this function) DB2.xs:27: error: `DBIS' undeclared (first use in this function) DB2.c:993: error: `XSRETURN_YES' undeclared (first use in this functio +n) {standard input}: Assembler messages: {standard input}:40: Warning: size of "indp" is already 2; not changin +g to 4 make: *** [DB2.o] Error 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI::DB2 module installation failed
by syphilis (Archbishop) on Feb 16, 2006 at 12:26 UTC | |
by Anonymous Monk on Feb 16, 2006 at 15:57 UTC | |
|
Re: DBI::DB2 module installation failed
by Tanktalus (Canon) on Feb 16, 2006 at 21:26 UTC | |
by vennirajan (Friar) on Feb 17, 2006 at 05:21 UTC | |
by Anonymous Monk on Feb 17, 2006 at 07:29 UTC | |
by Anonymous Monk on May 14, 2007 at 17:38 UTC | |
|
Re: DBI::DB2 module installation failed
by vennirajan (Friar) on Feb 17, 2006 at 05:28 UTC | |
|
Re: DBI::DB2 module installation failed
by xorl (Deacon) on Feb 17, 2006 at 13:33 UTC | |
by Anonymous Monk on Mar 17, 2010 at 21:32 UTC |