Unable to install DBD::ODBC on OSX Leopard 10.5.2

Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 15.04.2008 00:02:22 von medina.alexander

I apologize if this is redundant as I know there have been previous
posts regarding this issue. However, I have not been able to find any
resolution in any of those posts.
Here are my versions of the various components :

Hardware: Apple Xserver
OS: OSX Leopard 10.5.2
Unix version: 9.2.0 Darwin Kernel Version 9.2.0
Perl: 5.8.8
DBI: 1.52
DBD:ODBC: 1.15
unixODBC: 2.2.12
freeTDS: 0.83 dev 20080402
DB type: SQL Server

So, I'm pretty sure I have the latest of everything. I have
successfully installed the unixODBC w/ freeTDS drivers component.
Testing using isql to make the connection successfully returns data
from the SQL Server. Everything is fine up until the point I try to
compile the DBD::ODBC module using make. I'm starting to think that
this is a compatibilty issue, because I proceeded to install the
DBD::Sybase module, and receive pretty much the exact same errors at
the same points. Much thanks in advance... /Alex Medina

Here is the output of my 'make test'

dbdimp.c: In function 'odbc_db_login6':
dbdimp.c:582: warning: pointer targets in passing argument 3 of
'SQLDriverConnect' differ in signedness
dbdimp.c:582: warning: pointer targets in passing argument 5 of
'SQLDriverConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 2 of
'SQLConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 4 of
'SQLConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 6 of
'SQLConnect' differ in signedness
dbdimp.c: In function 'odbc_db_login6':
dbdimp.c:582: warning: pointer targets in passing argument 3 of
'SQLDriverConnect' differ in signedness
dbdimp.c:582: warning: pointer targets in passing argument 5 of
'SQLDriverConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 2 of
'SQLConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 4 of
'SQLConnect' differ in signedness
dbdimp.c:641: warning: pointer targets in passing argument 6 of
'SQLConnect' differ in signedness
dbdimp.c: In function 'dbd_error2':
dbdimp.c:997: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:998: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:1019: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1020: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1020: warning: pointer targets in passing argument 2 of
'strcat' differ in signedness
dbdimp.c:1021: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1025: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
dbdimp.c:1026: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1030: warning: pointer targets in passing argument 5 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1030: warning: pointer targets in passing argument 6 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1032: warning: pointer targets in passing argument 5 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1032: warning: pointer targets in passing argument 6 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c: In function 'dbd_error2':
dbdimp.c:997: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:998: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:1019: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1020: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1020: warning: pointer targets in passing argument 2 of
'strcat' differ in signedness
dbdimp.c:1021: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1025: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
dbdimp.c:1026: warning: pointer targets in passing argument 1 of
'strcat' differ in signedness
dbdimp.c:1030: warning: pointer targets in passing argument 5 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1030: warning: pointer targets in passing argument 6 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1032: warning: pointer targets in passing argument 5 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c:1032: warning: pointer targets in passing argument 6 of
'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
dbdimp.c: In function 'odbc_st_tables':
dbdimp.c:1298: warning: pointer targets in passing argument 2 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 4 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 6 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 8 of
'SQLTables' differ in signedness
dbdimp.c: In function 'odbc_st_primary_keys':
dbdimp.c:1358: warning: pointer targets in passing argument 2 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:1358: warning: pointer targets in passing argument 4 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:1358: warning: pointer targets in passing argument 6 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c: In function 'odbc_st_tables':
dbdimp.c:1298: warning: pointer targets in passing argument 2 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 4 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 6 of
'SQLTables' differ in signedness
dbdimp.c:1298: warning: pointer targets in passing argument 8 of
'SQLTables' differ in signedness
dbdimp.c: In function 'odbc_st_prepare':
dbdimp.c:1438: warning: pointer targets in passing argument 2 of
'SQLPrepare' differ in signedness
dbdimp.c: In function 'odbc_st_primary_keys':
dbdimp.c:1358: warning: pointer targets in passing argument 2 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:1358: warning: pointer targets in passing argument 4 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:1358: warning: pointer targets in passing argument 6 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c: In function 'odbc_st_prepare':
dbdimp.c:1438: warning: pointer targets in passing argument 2 of
'SQLPrepare' differ in signedness
dbdimp.c: In function 'odbc_st_execute':
dbdimp.c:1969: warning: pointer targets in passing argument 2 of
'SQLExecDirect' differ in signedness
dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
dbdimp.c: In function 'odbc_st_execute':
dbdimp.c:1969: warning: pointer targets in passing argument 2 of
'SQLExecDirect' differ in signedness
dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
dbdimp.c: In function '_dbd_rebind_ph':
dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
dbdimp.c: In function '_dbd_rebind_ph':
dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
dbdimp.c: At top level:
dbdimp.c:3019: warning: declaration does not declare anything
dbdimp.c:3019: warning: no semicolon at end of struct or union
dbdimp.c:3019: error: syntax error before numeric constant
dbdimp.c:3021: warning: data definition has no type or storage class
dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
dbdimp.c:3024: warning: braces around scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: initialization makes integer from pointer without a cast
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3033: warning: braces around scalar initializer
dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
dbdimp.c:3033: warning: initialization makes integer from pointer without a cast
dbdimp.c:3033: warning: excess elements in scalar initializer
dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
dbdimp.c:3034: warning: braces around scalar initializer
dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
dbdimp.c:3034: warning: initialization makes integer from pointer without a cast
dbdimp.c:3034: warning: excess elements in scalar initializer
dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
dbdimp.c:3035: warning: braces around scalar initializer
dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
dbdimp.c:3035: warning: initialization makes integer from pointer without a cast
dbdimp.c:3035: warning: excess elements in scalar initializer
dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
dbdimp.c:3036: warning: braces around scalar initializer
dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
dbdimp.c:3036: warning: initialization makes integer from pointer without a cast
dbdimp.c:3036: warning: excess elements in scalar initializer
dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
dbdimp.c:3037: warning: braces around scalar initializer
dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
dbdimp.c:3037: warning: initialization makes integer from pointer without a cast
dbdimp.c:3037: warning: excess elements in scalar initializer
dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
dbdimp.c:3038: warning: braces around scalar initializer
dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
dbdimp.c:3038: warning: initialization makes integer from pointer without a cast
dbdimp.c:3038: warning: excess elements in scalar initializer
dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
dbdimp.c:3039: warning: braces around scalar initializer
dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
dbdimp.c:3039: warning: initialization makes integer from pointer without a cast
dbdimp.c:3039: warning: excess elements in scalar initializer
dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
dbdimp.c:3040: warning: braces around scalar initializer
dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
dbdimp.c:3040: warning: initialization makes integer from pointer without a cast
dbdimp.c:3040: warning: excess elements in scalar initializer
dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
dbdimp.c:3041: warning: braces around scalar initializer
dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
dbdimp.c:3041: warning: initialization makes integer from pointer without a cast
dbdimp.c:3041: warning: excess elements in scalar initializer
dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
dbdimp.c:3042: warning: braces around scalar initializer
dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
dbdimp.c:3042: warning: initialization makes integer from pointer without a cast
dbdimp.c:3042: warning: excess elements in scalar initializer
dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
dbdimp.c:3043: warning: braces around scalar initializer
dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
dbdimp.c:3043: warning: initialization makes integer from pointer without a cast
dbdimp.c:3044: warning: data definition has no type or storage class
dbdimp.c:3046: error: syntax error before '*' token
dbdimp.c:3047: error: syntax error before '*' token
dbdimp.c: In function 'S_dbOption':
dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
dbdimp.c:3050: error: (Each undeclared identifier is reported only once
dbdimp.c:3050: error: for each function it appears in.)
dbdimp.c:3051: error: 'key' undeclared (first use in this function)
dbdimp.c:3051: error: 'len' undeclared (first use in this function)
dbdimp.c: In function 'odbc_db_STORE_attrib':
dbdimp.c:3077: error: nested functions are disabled, use
-fnested-functions to re-enable
dbdimp.c:3077: error: syntax error before '*' token
dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:3019: warning: declaration does not declare anything
dbdimp.c:3019: warning: no semicolon at end of struct or union
dbdimp.c:3019: error: syntax error before numeric constant
dbdimp.c:3021: warning: data definition has no type or storage class
dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
dbdimp.c:3024: warning: braces around scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: initialization makes integer from pointer without a cast
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3024: warning: excess elements in scalar initializer
dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
dbdimp.c:3033: warning: braces around scalar initializer
dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
dbdimp.c:3033: warning: initialization makes integer from pointer without a cast
dbdimp.c:3033: warning: excess elements in scalar initializer
dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
dbdimp.c:3034: warning: braces around scalar initializer
dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
dbdimp.c:3034: warning: initialization makes integer from pointer without a cast
dbdimp.c:3034: warning: excess elements in scalar initializer
dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
dbdimp.c:3035: warning: braces around scalar initializer
dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
dbdimp.c:3035: warning: initialization makes integer from pointer without a cast
dbdimp.c:3035: warning: excess elements in scalar initializer
dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
dbdimp.c:3036: warning: braces around scalar initializer
dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
dbdimp.c:3036: warning: initialization makes integer from pointer without a cast
dbdimp.c:3036: warning: excess elements in scalar initializer
dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
dbdimp.c:3037: warning: braces around scalar initializer
dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
dbdimp.c:3037: warning: initialization makes integer from pointer without a cast
dbdimp.c:3037: warning: excess elements in scalar initializer
dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
dbdimp.c:3038: warning: braces around scalar initializer
dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
dbdimp.c:3038: warning: initialization makes integer from pointer without a cast
dbdimp.c:3038: warning: excess elements in scalar initializer
dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
dbdimp.c:3039: warning: braces around scalar initializer
dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
dbdimp.c:3039: warning: initialization makes integer from pointer without a cast
dbdimp.c:3039: warning: excess elements in scalar initializer
dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
dbdimp.c:3040: warning: braces around scalar initializer
dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
dbdimp.c:3040: warning: initialization makes integer from pointer without a cast
dbdimp.c:3040: warning: excess elements in scalar initializer
dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
dbdimp.c:3041: warning: braces around scalar initializer
dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
dbdimp.c:3041: warning: initialization makes integer from pointer without a cast
dbdimp.c:3041: warning: excess elements in scalar initializer
dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
dbdimp.c:3042: warning: braces around scalar initializer
dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
dbdimp.c:3042: warning: initialization makes integer from pointer without a cast
dbdimp.c:3042: warning: excess elements in scalar initializer
dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
dbdimp.c:3043: warning: braces around scalar initializer
dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
dbdimp.c:3043: warning: initialization makes integer from pointer without a cast
dbdimp.c:3044: warning: data definition has no type or storage class
dbdimp.c:3046: error: syntax error before '*' token
dbdimp.c:3047: error: syntax error before '*' token
dbdimp.c: In function 'S_dbOption':
dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
dbdimp.c:3050: error: (Each undeclared identifier is reported only once
dbdimp.c:3050: error: for each function it appears in.)
dbdimp.c:3051: error: 'key' undeclared (first use in this function)
dbdimp.c:3051: error: 'len' undeclared (first use in this function)
dbdimp.c:3272: error: syntax error before numeric constant
dbdimp.c: In function 'odbc_db_STORE_attrib':
dbdimp.c:3077: error: nested functions are disabled, use
-fnested-functions to re-enable
dbdimp.c:3077: error: syntax error before '*' token
dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
dbdimp.c:3292: warning: braces around scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: initialization makes integer from pointer without a cast
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3293: warning: braces around scalar initializer
dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
dbdimp.c:3293: warning: initialization makes integer from pointer without a cast
dbdimp.c:3293: warning: excess elements in scalar initializer
dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
dbdimp.c:3302: warning: braces around scalar initializer
dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
dbdimp.c:3302: warning: initialization makes integer from pointer without a cast
dbdimp.c:3302: warning: excess elements in scalar initializer
dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
dbdimp.c:3303: warning: braces around scalar initializer
dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
dbdimp.c:3303: warning: initialization makes integer from pointer without a cast
dbdimp.c:3303: warning: excess elements in scalar initializer
dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
dbdimp.c:3304: warning: braces around scalar initializer
dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
dbdimp.c:3304: warning: initialization makes integer from pointer without a cast
dbdimp.c:3304: warning: excess elements in scalar initializer
dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
dbdimp.c:3305: warning: braces around scalar initializer
dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
dbdimp.c:3305: warning: initialization makes integer from pointer without a cast
dbdimp.c:3305: warning: excess elements in scalar initializer
dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
dbdimp.c:3306: warning: braces around scalar initializer
dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
dbdimp.c:3306: warning: initialization makes integer from pointer without a cast
dbdimp.c:3306: warning: excess elements in scalar initializer
dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
dbdimp.c:3307: warning: braces around scalar initializer
dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
dbdimp.c:3307: warning: initialization makes integer from pointer without a cast
dbdimp.c:3307: warning: excess elements in scalar initializer
dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
dbdimp.c:3308: warning: braces around scalar initializer
dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
dbdimp.c:3272: error: syntax error before numeric constant
dbdimp.c:3308: warning: initialization makes integer from pointer without a cast
dbdimp.c:3308: warning: excess elements in scalar initializer
dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
dbdimp.c:3309: warning: braces around scalar initializer
dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
dbdimp.c:3309: warning: initialization makes integer from pointer without a cast
dbdimp.c:3309: warning: excess elements in scalar initializer
dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
dbdimp.c:3310: warning: braces around scalar initializer
dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
dbdimp.c:3310: warning: initialization makes integer from pointer without a cast
dbdimp.c:3310: warning: excess elements in scalar initializer
dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
dbdimp.c:3311: warning: braces around scalar initializer
dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
dbdimp.c:3311: warning: initialization makes integer from pointer without a cast
dbdimp.c:3311: warning: excess elements in scalar initializer
dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
dbdimp.c:3312: warning: braces around scalar initializer
dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
dbdimp.c:3312: warning: initialization makes integer from pointer without a cast
dbdimp.c:3312: warning: excess elements in scalar initializer
dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
dbdimp.c:3313: warning: braces around scalar initializer
dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
dbdimp.c:3313: warning: initialization makes integer from pointer without a cast
dbdimp.c:3314: warning: data definition has no type or storage class
dbdimp.c: In function 'odbc_db_FETCH_attrib':
dbdimp.c:3328: error: nested functions are disabled, use
-fnested-functions to re-enable
dbdimp.c:3328: error: syntax error before '*' token
dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
dbdimp.c:3292: warning: braces around scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: initialization makes integer from pointer without a cast
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3292: warning: excess elements in scalar initializer
dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
dbdimp.c:3293: warning: braces around scalar initializer
dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
dbdimp.c:3293: warning: initialization makes integer from pointer without a cast
dbdimp.c:3293: warning: excess elements in scalar initializer
dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
dbdimp.c:3302: warning: braces around scalar initializer
dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
dbdimp.c:3302: warning: initialization makes integer from pointer without a cast
dbdimp.c:3302: warning: excess elements in scalar initializer
dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
dbdimp.c:3303: warning: braces around scalar initializer
dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
dbdimp.c:3303: warning: initialization makes integer from pointer without a cast
dbdimp.c:3303: warning: excess elements in scalar initializer
dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
dbdimp.c:3304: warning: braces around scalar initializer
dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
dbdimp.c:3438: error: syntax error before numeric
constantdbdimp.c:3304: warning: initialization makes integer from
pointer without a cast

dbdimp.c:3304: warning: excess elements in scalar initializer
dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
dbdimp.c:3305: warning: braces around scalar initializer
dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
dbdimp.c:3305: warning: initialization makes integer from pointer without a cast
dbdimp.c:3305: warning: excess elements in scalar initializer
dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
dbdimp.c:3306: warning: braces around scalar initializer
dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
dbdimp.c:3306: warning: initialization makes integer from pointer without a cast
dbdimp.c:3306: warning: excess elements in scalar initializer
dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
dbdimp.c:3307: warning: braces around scalar initializer
dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
dbdimp.c:3307: warning: initialization makes integer from pointer without a cast
dbdimp.c:3307: warning: excess elements in scalar initializer
dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
dbdimp.c:3308: warning: braces around scalar initializer
dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
dbdimp.c:3308: warning: initialization makes integer from pointer without a cast
dbdimp.c:3308: warning: excess elements in scalar initializer
dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
dbdimp.c:3309: warning: braces around scalar initializer
dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
dbdimp.c:3309: warning: initialization makes integer from pointer without a cast
dbdimp.c:3309: warning: excess elements in scalar initializer
dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
dbdimp.c:3310: warning: braces around scalar initializer
dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
dbdimp.c:3310: warning: initialization makes integer from pointer without a cast
dbdimp.c:3310: warning: excess elements in scalar initializer
dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
dbdimp.c:3311: warning: braces around scalar initializer
dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
dbdimp.c:3311: warning: initialization makes integer from pointer without a cast
dbdimp.c:3311: warning: excess elements in scalar initializer
dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
dbdimp.c:3312: warning: braces around scalar initializer
dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
dbdimp.c:3312: warning: initialization makes integer from pointer without a cast
dbdimp.c:3312: warning: excess elements in scalar initializer
dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
dbdimp.c:3313: warning: braces around scalar initializer
dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
dbdimp.c:3313: warning: initialization makes integer from pointer without a cast
dbdimp.c:3314: warning: data definition has no type or storage class
dbdimp.c: In function 'odbc_db_FETCH_attrib':
dbdimp.c:3328: error: nested functions are disabled, use
-fnested-functions to re-enable
dbdimp.c:3328: error: syntax error before '*' token
dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
dbdimp.c:3438: error: syntax error before numeric constant
dbdimp.c: In function 'odbc_st_FETCH_attrib':
dbdimp.c:3571: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:3614: warning: pointer targets in passing argument 2 of
'SQLGetCursorName' differ in signedness
dbdimp.c: In function 'odbc_st_FETCH_attrib':
dbdimp.c:3571: warning: pointer targets in passing argument 2 of
'Perl_newSVpv' differ in signedness
dbdimp.c:3614: warning: pointer targets in passing argument 2 of
'SQLGetCursorName' differ in signedness
dbdimp.c: In function 'odbc_get_statistics':
dbdimp.c:3817: warning: pointer targets in passing argument 2 of
'SQLStatistics' differ in signedness
dbdimp.c:3817: warning: pointer targets in passing argument 4 of
'SQLStatistics' differ in signedness
dbdimp.c:3817: warning: pointer targets in passing argument 6 of
'SQLStatistics' differ in signedness
dbdimp.c: In function 'odbc_get_primary_keys':
dbdimp.c:3857: warning: pointer targets in passing argument 2 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:3857: warning: pointer targets in passing argument 4 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:3857: warning: pointer targets in passing argument 6 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c: In function 'odbc_get_special_columns':
dbdimp.c:3904: warning: pointer targets in passing argument 3 of
'SQLSpecialColumns' differ in signedness
dbdimp.c:3904: warning: pointer targets in passing argument 5 of
'SQLSpecialColumns' differ in signedness
dbdimp.c:3904: warning: pointer targets in passing argument 7 of
'SQLSpecialColumns' differ in signednessdbdimp.c: In function
'odbc_get_statistics':

dbdimp.c:3817: warning: pointer targets in passing argument 2 of
'SQLStatistics' differ in signedness
dbdimp.c:3817: warning: pointer targets in passing argument 4 of
'SQLStatistics' differ in signedness
dbdimp.c:3817: warning: pointer targets in passing argument 6 of
'SQLStatistics' differ in signedness
dbdimp.c: In function 'odbc_get_primary_keys':
dbdimp.c:3857: warning: pointer targets in passing argument 2 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:3857: warning: pointer targets in passing argument 4 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c:3857: warning: pointer targets in passing argument 6 of
'SQLPrimaryKeys' differ in signedness
dbdimp.c: In function 'odbc_get_foreign_keys':
dbdimp.c:3968: warning: pointer targets in passing argument 2 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 4 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 6 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 8 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 10 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 12 of
'SQLForeignKeys' differ in signedness
dbdimp.c: In function 'odbc_get_special_columns':
dbdimp.c:3904: warning: pointer targets in passing argument 3 of
'SQLSpecialColumns' differ in signedness
dbdimp.c:3904: warning: pointer targets in passing argument 5 of
'SQLSpecialColumns' differ in signedness
dbdimp.c:3904: warning: pointer targets in passing argument 7 of
'SQLSpecialColumns' differ in signedness
dbdimp.c: In function 'odbc_describe_col':
dbdimp.c:3994: warning: pointer targets in passing argument 3 of
'SQLDescribeCol' differ in signedness
dbdimp.c: In function 'odbc_get_foreign_keys':
dbdimp.c:3968: warning: pointer targets in passing argument 2 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 4 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 6 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 8 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 10 of
'SQLForeignKeys' differ in signedness
dbdimp.c:3968: warning: pointer targets in passing argument 12 of
'SQLForeignKeys' differ in signedness
dbdimp.c: In function 'odbc_describe_col':
dbdimp.c:3994: warning: pointer targets in passing argument 3 of
'SQLDescribeCol' differ in signedness
dbdimp.c: In function 'odbc_db_columns':
dbdimp.c:4204: warning: pointer targets in passing argument 2 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 4 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 6 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 8 of
'SQLColumns' differ in signedness
dbdimp.c: In function 'odbc_db_columns':
dbdimp.c:4204: warning: pointer targets in passing argument 2 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 4 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 6 of
'SQLColumns' differ in signedness
dbdimp.c:4204: warning: pointer targets in passing argument 8 of
'SQLColumns' differ in signedness
lipo: can't open input file: /var/tmp//ccx2Y3W2.out (No such file or directory)
i686-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//ccFaVGb2.out
chmod: blib/arch/auto/DBD/ODBC/ODBC.bundle: No such file or directory
t/01base................ok 1/5install_driver(ODBC) failed: Can't find
'boot_DBD__ODBC' symbol in /usr/local/lib/libODBC.dylib
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 15.04.2008 09:57:23 von Martin.Evans

Alexander Medina wrote:
> I apologize if this is redundant as I know there have been previous
> posts regarding this issue. However, I have not been able to find any
> resolution in any of those posts.
> Here are my versions of the various components :
>
> Hardware: Apple Xserver
> OS: OSX Leopard 10.5.2
> Unix version: 9.2.0 Darwin Kernel Version 9.2.0
> Perl: 5.8.8
> DBI: 1.52
> DBD:ODBC: 1.15
> unixODBC: 2.2.12
> freeTDS: 0.83 dev 20080402
> DB type: SQL Server
>
> So, I'm pretty sure I have the latest of everything. I have
> successfully installed the unixODBC w/ freeTDS drivers component.
> Testing using isql to make the connection successfully returns data
> from the SQL Server. Everything is fine up until the point I try to
> compile the DBD::ODBC module using make. I'm starting to think that
> this is a compatibilty issue, because I proceeded to install the
> DBD::Sybase module, and receive pretty much the exact same errors at
> the same points. Much thanks in advance... /Alex Medina
>
> Here is the output of my 'make test'
>
> dbdimp.c: In function 'odbc_db_login6':
> dbdimp.c:582: warning: pointer targets in passing argument 3 of
> 'SQLDriverConnect' differ in signedness
> dbdimp.c:582: warning: pointer targets in passing argument 5 of
> 'SQLDriverConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 2 of
> 'SQLConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 4 of
> 'SQLConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 6 of
> 'SQLConnect' differ in signedness
> dbdimp.c: In function 'odbc_db_login6':
> dbdimp.c:582: warning: pointer targets in passing argument 3 of
> 'SQLDriverConnect' differ in signedness
> dbdimp.c:582: warning: pointer targets in passing argument 5 of
> 'SQLDriverConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 2 of
> 'SQLConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 4 of
> 'SQLConnect' differ in signedness
> dbdimp.c:641: warning: pointer targets in passing argument 6 of
> 'SQLConnect' differ in signedness
> dbdimp.c: In function 'dbd_error2':
> dbdimp.c:997: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:998: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> 'strcat' differ in signedness
> dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> 'strcmp' differ in signedness
> dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c: In function 'dbd_error2':
> dbdimp.c:997: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:998: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> 'strcat' differ in signedness
> dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> 'strcmp' differ in signedness
> dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> 'strcat' differ in signedness
> dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> dbdimp.c: In function 'odbc_st_tables':
> dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> 'SQLTables' differ in signedness
> dbdimp.c: In function 'odbc_st_primary_keys':
> dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c: In function 'odbc_st_tables':
> dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> 'SQLTables' differ in signedness
> dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> 'SQLTables' differ in signedness
> dbdimp.c: In function 'odbc_st_prepare':
> dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> 'SQLPrepare' differ in signedness
> dbdimp.c: In function 'odbc_st_primary_keys':
> dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c: In function 'odbc_st_prepare':
> dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> 'SQLPrepare' differ in signedness
> dbdimp.c: In function 'odbc_st_execute':
> dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> 'SQLExecDirect' differ in signedness
> dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> dbdimp.c: In function 'odbc_st_execute':
> dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> 'SQLExecDirect' differ in signedness
> dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> dbdimp.c: In function '_dbd_rebind_ph':
> dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> dbdimp.c: In function '_dbd_rebind_ph':
> dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> dbdimp.c: At top level:
> dbdimp.c:3019: warning: declaration does not declare anything
> dbdimp.c:3019: warning: no semicolon at end of struct or union
> dbdimp.c:3019: error: syntax error before numeric constant
> dbdimp.c:3021: warning: data definition has no type or storage class
> dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> dbdimp.c:3024: warning: braces around scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3033: warning: braces around scalar initializer
> dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> dbdimp.c:3033: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3033: warning: excess elements in scalar initializer
> dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> dbdimp.c:3034: warning: braces around scalar initializer
> dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> dbdimp.c:3034: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3034: warning: excess elements in scalar initializer
> dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> dbdimp.c:3035: warning: braces around scalar initializer
> dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> dbdimp.c:3035: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3035: warning: excess elements in scalar initializer
> dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> dbdimp.c:3036: warning: braces around scalar initializer
> dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> dbdimp.c:3036: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3036: warning: excess elements in scalar initializer
> dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> dbdimp.c:3037: warning: braces around scalar initializer
> dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> dbdimp.c:3037: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3037: warning: excess elements in scalar initializer
> dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> dbdimp.c:3038: warning: braces around scalar initializer
> dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> dbdimp.c:3038: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3038: warning: excess elements in scalar initializer
> dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> dbdimp.c:3039: warning: braces around scalar initializer
> dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> dbdimp.c:3039: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3039: warning: excess elements in scalar initializer
> dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> dbdimp.c:3040: warning: braces around scalar initializer
> dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> dbdimp.c:3040: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3040: warning: excess elements in scalar initializer
> dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> dbdimp.c:3041: warning: braces around scalar initializer
> dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> dbdimp.c:3041: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3041: warning: excess elements in scalar initializer
> dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> dbdimp.c:3042: warning: braces around scalar initializer
> dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> dbdimp.c:3042: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3042: warning: excess elements in scalar initializer
> dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> dbdimp.c:3043: warning: braces around scalar initializer
> dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> dbdimp.c:3043: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3044: warning: data definition has no type or storage class
> dbdimp.c:3046: error: syntax error before '*' token
> dbdimp.c:3047: error: syntax error before '*' token
> dbdimp.c: In function 'S_dbOption':
> dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> dbdimp.c:3050: error: for each function it appears in.)
> dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> dbdimp.c: In function 'odbc_db_STORE_attrib':
> dbdimp.c:3077: error: nested functions are disabled, use
> -fnested-functions to re-enable
> dbdimp.c:3077: error: syntax error before '*' token
> dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> dbdimp.c: At top level:
> dbdimp.c:3019: warning: declaration does not declare anything
> dbdimp.c:3019: warning: no semicolon at end of struct or union
> dbdimp.c:3019: error: syntax error before numeric constant
> dbdimp.c:3021: warning: data definition has no type or storage class
> dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> dbdimp.c:3024: warning: braces around scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3024: warning: excess elements in scalar initializer
> dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> dbdimp.c:3033: warning: braces around scalar initializer
> dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> dbdimp.c:3033: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3033: warning: excess elements in scalar initializer
> dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> dbdimp.c:3034: warning: braces around scalar initializer
> dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> dbdimp.c:3034: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3034: warning: excess elements in scalar initializer
> dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> dbdimp.c:3035: warning: braces around scalar initializer
> dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> dbdimp.c:3035: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3035: warning: excess elements in scalar initializer
> dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> dbdimp.c:3036: warning: braces around scalar initializer
> dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> dbdimp.c:3036: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3036: warning: excess elements in scalar initializer
> dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> dbdimp.c:3037: warning: braces around scalar initializer
> dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> dbdimp.c:3037: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3037: warning: excess elements in scalar initializer
> dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> dbdimp.c:3038: warning: braces around scalar initializer
> dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> dbdimp.c:3038: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3038: warning: excess elements in scalar initializer
> dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> dbdimp.c:3039: warning: braces around scalar initializer
> dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> dbdimp.c:3039: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3039: warning: excess elements in scalar initializer
> dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> dbdimp.c:3040: warning: braces around scalar initializer
> dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> dbdimp.c:3040: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3040: warning: excess elements in scalar initializer
> dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> dbdimp.c:3041: warning: braces around scalar initializer
> dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> dbdimp.c:3041: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3041: warning: excess elements in scalar initializer
> dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> dbdimp.c:3042: warning: braces around scalar initializer
> dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> dbdimp.c:3042: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3042: warning: excess elements in scalar initializer
> dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> dbdimp.c:3043: warning: braces around scalar initializer
> dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> dbdimp.c:3043: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3044: warning: data definition has no type or storage class
> dbdimp.c:3046: error: syntax error before '*' token
> dbdimp.c:3047: error: syntax error before '*' token
> dbdimp.c: In function 'S_dbOption':
> dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> dbdimp.c:3050: error: for each function it appears in.)
> dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> dbdimp.c:3272: error: syntax error before numeric constant
> dbdimp.c: In function 'odbc_db_STORE_attrib':
> dbdimp.c:3077: error: nested functions are disabled, use
> -fnested-functions to re-enable
> dbdimp.c:3077: error: syntax error before '*' token
> dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> dbdimp.c: At top level:
> dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> dbdimp.c:3292: warning: braces around scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3293: warning: braces around scalar initializer
> dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> dbdimp.c:3293: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3293: warning: excess elements in scalar initializer
> dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> dbdimp.c:3302: warning: braces around scalar initializer
> dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> dbdimp.c:3302: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3302: warning: excess elements in scalar initializer
> dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> dbdimp.c:3303: warning: braces around scalar initializer
> dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> dbdimp.c:3303: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3303: warning: excess elements in scalar initializer
> dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> dbdimp.c:3304: warning: braces around scalar initializer
> dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> dbdimp.c:3304: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3304: warning: excess elements in scalar initializer
> dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> dbdimp.c:3305: warning: braces around scalar initializer
> dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> dbdimp.c:3305: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3305: warning: excess elements in scalar initializer
> dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> dbdimp.c:3306: warning: braces around scalar initializer
> dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> dbdimp.c:3306: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3306: warning: excess elements in scalar initializer
> dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> dbdimp.c:3307: warning: braces around scalar initializer
> dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> dbdimp.c:3307: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3307: warning: excess elements in scalar initializer
> dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> dbdimp.c:3308: warning: braces around scalar initializer
> dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> dbdimp.c:3272: error: syntax error before numeric constant
> dbdimp.c:3308: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3308: warning: excess elements in scalar initializer
> dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> dbdimp.c:3309: warning: braces around scalar initializer
> dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> dbdimp.c:3309: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3309: warning: excess elements in scalar initializer
> dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> dbdimp.c:3310: warning: braces around scalar initializer
> dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> dbdimp.c:3310: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3310: warning: excess elements in scalar initializer
> dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> dbdimp.c:3311: warning: braces around scalar initializer
> dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> dbdimp.c:3311: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3311: warning: excess elements in scalar initializer
> dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> dbdimp.c:3312: warning: braces around scalar initializer
> dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> dbdimp.c:3312: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3312: warning: excess elements in scalar initializer
> dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> dbdimp.c:3313: warning: braces around scalar initializer
> dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> dbdimp.c:3313: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3314: warning: data definition has no type or storage class
> dbdimp.c: In function 'odbc_db_FETCH_attrib':
> dbdimp.c:3328: error: nested functions are disabled, use
> -fnested-functions to re-enable
> dbdimp.c:3328: error: syntax error before '*' token
> dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> dbdimp.c: At top level:
> dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> dbdimp.c:3292: warning: braces around scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3292: warning: excess elements in scalar initializer
> dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> dbdimp.c:3293: warning: braces around scalar initializer
> dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> dbdimp.c:3293: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3293: warning: excess elements in scalar initializer
> dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> dbdimp.c:3302: warning: braces around scalar initializer
> dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> dbdimp.c:3302: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3302: warning: excess elements in scalar initializer
> dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> dbdimp.c:3303: warning: braces around scalar initializer
> dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> dbdimp.c:3303: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3303: warning: excess elements in scalar initializer
> dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> dbdimp.c:3304: warning: braces around scalar initializer
> dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> dbdimp.c:3438: error: syntax error before numeric
> constantdbdimp.c:3304: warning: initialization makes integer from
> pointer without a cast
>
> dbdimp.c:3304: warning: excess elements in scalar initializer
> dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> dbdimp.c:3305: warning: braces around scalar initializer
> dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> dbdimp.c:3305: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3305: warning: excess elements in scalar initializer
> dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> dbdimp.c:3306: warning: braces around scalar initializer
> dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> dbdimp.c:3306: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3306: warning: excess elements in scalar initializer
> dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> dbdimp.c:3307: warning: braces around scalar initializer
> dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> dbdimp.c:3307: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3307: warning: excess elements in scalar initializer
> dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> dbdimp.c:3308: warning: braces around scalar initializer
> dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> dbdimp.c:3308: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3308: warning: excess elements in scalar initializer
> dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> dbdimp.c:3309: warning: braces around scalar initializer
> dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> dbdimp.c:3309: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3309: warning: excess elements in scalar initializer
> dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> dbdimp.c:3310: warning: braces around scalar initializer
> dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> dbdimp.c:3310: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3310: warning: excess elements in scalar initializer
> dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> dbdimp.c:3311: warning: braces around scalar initializer
> dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> dbdimp.c:3311: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3311: warning: excess elements in scalar initializer
> dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> dbdimp.c:3312: warning: braces around scalar initializer
> dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> dbdimp.c:3312: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3312: warning: excess elements in scalar initializer
> dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> dbdimp.c:3313: warning: braces around scalar initializer
> dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> dbdimp.c:3313: warning: initialization makes integer from pointer without a cast
> dbdimp.c:3314: warning: data definition has no type or storage class
> dbdimp.c: In function 'odbc_db_FETCH_attrib':
> dbdimp.c:3328: error: nested functions are disabled, use
> -fnested-functions to re-enable
> dbdimp.c:3328: error: syntax error before '*' token
> dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> dbdimp.c:3438: error: syntax error before numeric constant
> dbdimp.c: In function 'odbc_st_FETCH_attrib':
> dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> 'SQLGetCursorName' differ in signedness
> dbdimp.c: In function 'odbc_st_FETCH_attrib':
> dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> 'SQLGetCursorName' differ in signedness
> dbdimp.c: In function 'odbc_get_statistics':
> dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> 'SQLStatistics' differ in signedness
> dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> 'SQLStatistics' differ in signedness
> dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> 'SQLStatistics' differ in signedness
> dbdimp.c: In function 'odbc_get_primary_keys':
> dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c: In function 'odbc_get_special_columns':
> dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> 'SQLSpecialColumns' differ in signedness
> dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> 'SQLSpecialColumns' differ in signedness
> dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> 'SQLSpecialColumns' differ in signednessdbdimp.c: In function
> 'odbc_get_statistics':
>
> dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> 'SQLStatistics' differ in signedness
> dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> 'SQLStatistics' differ in signedness
> dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> 'SQLStatistics' differ in signedness
> dbdimp.c: In function 'odbc_get_primary_keys':
> dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> 'SQLPrimaryKeys' differ in signedness
> dbdimp.c: In function 'odbc_get_foreign_keys':
> dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c: In function 'odbc_get_special_columns':
> dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> 'SQLSpecialColumns' differ in signedness
> dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> 'SQLSpecialColumns' differ in signedness
> dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> 'SQLSpecialColumns' differ in signedness
> dbdimp.c: In function 'odbc_describe_col':
> dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> 'SQLDescribeCol' differ in signedness
> dbdimp.c: In function 'odbc_get_foreign_keys':
> dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> 'SQLForeignKeys' differ in signedness
> dbdimp.c: In function 'odbc_describe_col':
> dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> 'SQLDescribeCol' differ in signedness
> dbdimp.c: In function 'odbc_db_columns':
> dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> 'SQLColumns' differ in signedness
> dbdimp.c: In function 'odbc_db_columns':
> dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> 'SQLColumns' differ in signedness
> dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> 'SQLColumns' differ in signedness
> lipo: can't open input file: /var/tmp//ccx2Y3W2.out (No such file or directory)
> i686-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> powerpc-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> lipo: can't figure out the architecture type of: /var/tmp//ccFaVGb2.out
> chmod: blib/arch/auto/DBD/ODBC/ODBC.bundle: No such file or directory
> t/01base................ok 1/5install_driver(ODBC) failed: Can't find
> 'boot_DBD__ODBC' symbol in /usr/local/lib/libODBC.dylib
> at (eval 7) line 3
> Compilation failed in require at (eval 7) line 3.
>
>

The problem is the use of variables called "true" and "false".
Try the version at:

ftp://ftp.easysoft.com/pub/DBD-ODBC-1.16_1.tar.gz

I'm not ready to release this yet and as you will see from the "_1" this
is a development release.

You also may need to add "-framework CoreFoundation"
to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will
be the at least one of the issues with Sybase too (see README.osx in
distribution).

Please let me know how you get on.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 15.04.2008 16:13:59 von medina.alexander

Beautiful! That worked. I still received the warning messages when
running 'make', but no errors. I first ran the install without adding
the "-framework CoreFoundation" to the Makefile, this didn't work. I
re-compiled and made the edits to the Makefile, received some warnings
as noted earlier, but ran the test, it failed some, as expected I
suppose. But ran the install and it installed perfectly (see below).
Let me know if you want the output of my make test. Thanks for saving
the day!

# make install
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bs
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bundle
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC.pm
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/Chan ges.pm
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/FAQ. pm
Installing /usr/local/share/man/man3/DBD::ODBC.3pm
Writing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /.packlist
Appending installation info to
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/perllo cal.pod

On Tue, Apr 15, 2008 at 3:57 AM, Martin Evans wrote:
>
> Alexander Medina wrote:
>
> > I apologize if this is redundant as I know there have been previous
> > posts regarding this issue. However, I have not been able to find any
> > resolution in any of those posts.
> > Here are my versions of the various components :
> >
> > Hardware: Apple Xserver
> > OS: OSX Leopard 10.5.2
> > Unix version: 9.2.0 Darwin Kernel Version 9.2.0
> > Perl: 5.8.8
> > DBI: 1.52
> > DBD:ODBC: 1.15
> > unixODBC: 2.2.12
> > freeTDS: 0.83 dev 20080402
> > DB type: SQL Server
> >
> > So, I'm pretty sure I have the latest of everything. I have
> > successfully installed the unixODBC w/ freeTDS drivers component.
> > Testing using isql to make the connection successfully returns data
> > from the SQL Server. Everything is fine up until the point I try to
> > compile the DBD::ODBC module using make. I'm starting to think that
> > this is a compatibilty issue, because I proceeded to install the
> > DBD::Sybase module, and receive pretty much the exact same errors at
> > the same points. Much thanks in advance... /Alex Medina
> >
> > Here is the output of my 'make test'
> >
> > dbdimp.c: In function 'odbc_db_login6':
> > dbdimp.c:582: warning: pointer targets in passing argument 3 of
> > 'SQLDriverConnect' differ in signedness
> > dbdimp.c:582: warning: pointer targets in passing argument 5 of
> > 'SQLDriverConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 2 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 4 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 6 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c: In function 'odbc_db_login6':
> > dbdimp.c:582: warning: pointer targets in passing argument 3 of
> > 'SQLDriverConnect' differ in signedness
> > dbdimp.c:582: warning: pointer targets in passing argument 5 of
> > 'SQLDriverConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 2 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 4 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c:641: warning: pointer targets in passing argument 6 of
> > 'SQLConnect' differ in signedness
> > dbdimp.c: In function 'dbd_error2':
> > dbdimp.c:997: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:998: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> > 'strcat' differ in signedness
> > dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> > 'strcmp' differ in signedness
> > dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c: In function 'dbd_error2':
> > dbdimp.c:997: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:998: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> > 'strcat' differ in signedness
> > dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> > 'strcmp' differ in signedness
> > dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> > 'strcat' differ in signedness
> > dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > dbdimp.c: In function 'odbc_st_tables':
> > dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> > 'SQLTables' differ in signedness
> > dbdimp.c: In function 'odbc_st_primary_keys':
> > dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c: In function 'odbc_st_tables':
> > dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> > 'SQLTables' differ in signedness
> > dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> > 'SQLTables' differ in signedness
> > dbdimp.c: In function 'odbc_st_prepare':
> > dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> > 'SQLPrepare' differ in signedness
> > dbdimp.c: In function 'odbc_st_primary_keys':
> > dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c: In function 'odbc_st_prepare':
> > dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> > 'SQLPrepare' differ in signedness
> > dbdimp.c: In function 'odbc_st_execute':
> > dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> > 'SQLExecDirect' differ in signedness
> > dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> > dbdimp.c: In function 'odbc_st_execute':
> > dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> > 'SQLExecDirect' differ in signedness
> > dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> > dbdimp.c: In function '_dbd_rebind_ph':
> > dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> > dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> > dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> > dbdimp.c: In function '_dbd_rebind_ph':
> > dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> > dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> > dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> > dbdimp.c: At top level:
> > dbdimp.c:3019: warning: declaration does not declare anything
> > dbdimp.c:3019: warning: no semicolon at end of struct or union
> > dbdimp.c:3019: error: syntax error before numeric constant
> > dbdimp.c:3021: warning: data definition has no type or storage class
> > dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> > dbdimp.c:3024: warning: braces around scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3033: warning: braces around scalar initializer
> > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > dbdimp.c:3033: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3033: warning: excess elements in scalar initializer
> > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > dbdimp.c:3034: warning: braces around scalar initializer
> > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > dbdimp.c:3034: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3034: warning: excess elements in scalar initializer
> > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > dbdimp.c:3035: warning: braces around scalar initializer
> > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > dbdimp.c:3035: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3035: warning: excess elements in scalar initializer
> > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > dbdimp.c:3036: warning: braces around scalar initializer
> > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > dbdimp.c:3036: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3036: warning: excess elements in scalar initializer
> > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > dbdimp.c:3037: warning: braces around scalar initializer
> > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > dbdimp.c:3037: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3037: warning: excess elements in scalar initializer
> > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > dbdimp.c:3038: warning: braces around scalar initializer
> > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > dbdimp.c:3038: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3038: warning: excess elements in scalar initializer
> > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > dbdimp.c:3039: warning: braces around scalar initializer
> > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > dbdimp.c:3039: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3039: warning: excess elements in scalar initializer
> > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > dbdimp.c:3040: warning: braces around scalar initializer
> > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > dbdimp.c:3040: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3040: warning: excess elements in scalar initializer
> > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > dbdimp.c:3041: warning: braces around scalar initializer
> > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > dbdimp.c:3041: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3041: warning: excess elements in scalar initializer
> > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > dbdimp.c:3042: warning: braces around scalar initializer
> > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > dbdimp.c:3042: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3042: warning: excess elements in scalar initializer
> > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > dbdimp.c:3043: warning: braces around scalar initializer
> > dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> > dbdimp.c:3043: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3044: warning: data definition has no type or storage class
> > dbdimp.c:3046: error: syntax error before '*' token
> > dbdimp.c:3047: error: syntax error before '*' token
> > dbdimp.c: In function 'S_dbOption':
> > dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> > dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> > dbdimp.c:3050: error: for each function it appears in.)
> > dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> > dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> > dbdimp.c: In function 'odbc_db_STORE_attrib':
> > dbdimp.c:3077: error: nested functions are disabled, use
> > -fnested-functions to re-enable
> > dbdimp.c:3077: error: syntax error before '*' token
> > dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> > dbdimp.c: At top level:
> > dbdimp.c:3019: warning: declaration does not declare anything
> > dbdimp.c:3019: warning: no semicolon at end of struct or union
> > dbdimp.c:3019: error: syntax error before numeric constant
> > dbdimp.c:3021: warning: data definition has no type or storage class
> > dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> > dbdimp.c:3024: warning: braces around scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3024: warning: excess elements in scalar initializer
> > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > dbdimp.c:3033: warning: braces around scalar initializer
> > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > dbdimp.c:3033: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3033: warning: excess elements in scalar initializer
> > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > dbdimp.c:3034: warning: braces around scalar initializer
> > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > dbdimp.c:3034: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3034: warning: excess elements in scalar initializer
> > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > dbdimp.c:3035: warning: braces around scalar initializer
> > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > dbdimp.c:3035: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3035: warning: excess elements in scalar initializer
> > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > dbdimp.c:3036: warning: braces around scalar initializer
> > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > dbdimp.c:3036: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3036: warning: excess elements in scalar initializer
> > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > dbdimp.c:3037: warning: braces around scalar initializer
> > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > dbdimp.c:3037: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3037: warning: excess elements in scalar initializer
> > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > dbdimp.c:3038: warning: braces around scalar initializer
> > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > dbdimp.c:3038: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3038: warning: excess elements in scalar initializer
> > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > dbdimp.c:3039: warning: braces around scalar initializer
> > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > dbdimp.c:3039: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3039: warning: excess elements in scalar initializer
> > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > dbdimp.c:3040: warning: braces around scalar initializer
> > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > dbdimp.c:3040: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3040: warning: excess elements in scalar initializer
> > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > dbdimp.c:3041: warning: braces around scalar initializer
> > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > dbdimp.c:3041: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3041: warning: excess elements in scalar initializer
> > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > dbdimp.c:3042: warning: braces around scalar initializer
> > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > dbdimp.c:3042: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3042: warning: excess elements in scalar initializer
> > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > dbdimp.c:3043: warning: braces around scalar initializer
> > dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> > dbdimp.c:3043: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3044: warning: data definition has no type or storage class
> > dbdimp.c:3046: error: syntax error before '*' token
> > dbdimp.c:3047: error: syntax error before '*' token
> > dbdimp.c: In function 'S_dbOption':
> > dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> > dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> > dbdimp.c:3050: error: for each function it appears in.)
> > dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> > dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> > dbdimp.c:3272: error: syntax error before numeric constant
> > dbdimp.c: In function 'odbc_db_STORE_attrib':
> > dbdimp.c:3077: error: nested functions are disabled, use
> > -fnested-functions to re-enable
> > dbdimp.c:3077: error: syntax error before '*' token
> > dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> > dbdimp.c: At top level:
> > dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> > dbdimp.c:3292: warning: braces around scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3293: warning: braces around scalar initializer
> > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > dbdimp.c:3293: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3293: warning: excess elements in scalar initializer
> > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > dbdimp.c:3302: warning: braces around scalar initializer
> > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > dbdimp.c:3302: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3302: warning: excess elements in scalar initializer
> > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > dbdimp.c:3303: warning: braces around scalar initializer
> > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > dbdimp.c:3303: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3303: warning: excess elements in scalar initializer
> > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > dbdimp.c:3304: warning: braces around scalar initializer
> > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > dbdimp.c:3304: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3304: warning: excess elements in scalar initializer
> > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > dbdimp.c:3305: warning: braces around scalar initializer
> > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > dbdimp.c:3305: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3305: warning: excess elements in scalar initializer
> > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > dbdimp.c:3306: warning: braces around scalar initializer
> > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > dbdimp.c:3306: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3306: warning: excess elements in scalar initializer
> > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > dbdimp.c:3307: warning: braces around scalar initializer
> > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > dbdimp.c:3307: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3307: warning: excess elements in scalar initializer
> > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > dbdimp.c:3308: warning: braces around scalar initializer
> > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > dbdimp.c:3272: error: syntax error before numeric constant
> > dbdimp.c:3308: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3308: warning: excess elements in scalar initializer
> > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > dbdimp.c:3309: warning: braces around scalar initializer
> > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > dbdimp.c:3309: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3309: warning: excess elements in scalar initializer
> > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > dbdimp.c:3310: warning: braces around scalar initializer
> > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > dbdimp.c:3310: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3310: warning: excess elements in scalar initializer
> > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > dbdimp.c:3311: warning: braces around scalar initializer
> > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > dbdimp.c:3311: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3311: warning: excess elements in scalar initializer
> > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > dbdimp.c:3312: warning: braces around scalar initializer
> > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > dbdimp.c:3312: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3312: warning: excess elements in scalar initializer
> > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > dbdimp.c:3313: warning: braces around scalar initializer
> > dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> > dbdimp.c:3313: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3314: warning: data definition has no type or storage class
> > dbdimp.c: In function 'odbc_db_FETCH_attrib':
> > dbdimp.c:3328: error: nested functions are disabled, use
> > -fnested-functions to re-enable
> > dbdimp.c:3328: error: syntax error before '*' token
> > dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> > dbdimp.c: At top level:
> > dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> > dbdimp.c:3292: warning: braces around scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3292: warning: excess elements in scalar initializer
> > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > dbdimp.c:3293: warning: braces around scalar initializer
> > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > dbdimp.c:3293: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3293: warning: excess elements in scalar initializer
> > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > dbdimp.c:3302: warning: braces around scalar initializer
> > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > dbdimp.c:3302: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3302: warning: excess elements in scalar initializer
> > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > dbdimp.c:3303: warning: braces around scalar initializer
> > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > dbdimp.c:3303: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3303: warning: excess elements in scalar initializer
> > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > dbdimp.c:3304: warning: braces around scalar initializer
> > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > dbdimp.c:3438: error: syntax error before numeric
> > constantdbdimp.c:3304: warning: initialization makes integer from
> > pointer without a cast
> >
> > dbdimp.c:3304: warning: excess elements in scalar initializer
> > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > dbdimp.c:3305: warning: braces around scalar initializer
> > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > dbdimp.c:3305: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3305: warning: excess elements in scalar initializer
> > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > dbdimp.c:3306: warning: braces around scalar initializer
> > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > dbdimp.c:3306: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3306: warning: excess elements in scalar initializer
> > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > dbdimp.c:3307: warning: braces around scalar initializer
> > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > dbdimp.c:3307: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3307: warning: excess elements in scalar initializer
> > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > dbdimp.c:3308: warning: braces around scalar initializer
> > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > dbdimp.c:3308: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3308: warning: excess elements in scalar initializer
> > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > dbdimp.c:3309: warning: braces around scalar initializer
> > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > dbdimp.c:3309: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3309: warning: excess elements in scalar initializer
> > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > dbdimp.c:3310: warning: braces around scalar initializer
> > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > dbdimp.c:3310: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3310: warning: excess elements in scalar initializer
> > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > dbdimp.c:3311: warning: braces around scalar initializer
> > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > dbdimp.c:3311: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3311: warning: excess elements in scalar initializer
> > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > dbdimp.c:3312: warning: braces around scalar initializer
> > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > dbdimp.c:3312: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3312: warning: excess elements in scalar initializer
> > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > dbdimp.c:3313: warning: braces around scalar initializer
> > dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> > dbdimp.c:3313: warning: initialization makes integer from pointer without
> a cast
> > dbdimp.c:3314: warning: data definition has no type or storage class
> > dbdimp.c: In function 'odbc_db_FETCH_attrib':
> > dbdimp.c:3328: error: nested functions are disabled, use
> > -fnested-functions to re-enable
> > dbdimp.c:3328: error: syntax error before '*' token
> > dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> > dbdimp.c:3438: error: syntax error before numeric constant
> > dbdimp.c: In function 'odbc_st_FETCH_attrib':
> > dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> > 'SQLGetCursorName' differ in signedness
> > dbdimp.c: In function 'odbc_st_FETCH_attrib':
> > dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> > 'Perl_newSVpv' differ in signedness
> > dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> > 'SQLGetCursorName' differ in signedness
> > dbdimp.c: In function 'odbc_get_statistics':
> > dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c: In function 'odbc_get_primary_keys':
> > dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c: In function 'odbc_get_special_columns':
> > dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> > 'SQLSpecialColumns' differ in signedness
> > dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> > 'SQLSpecialColumns' differ in signedness
> > dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> > 'SQLSpecialColumns' differ in signednessdbdimp.c: In function
> > 'odbc_get_statistics':
> >
> > dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> > 'SQLStatistics' differ in signedness
> > dbdimp.c: In function 'odbc_get_primary_keys':
> > dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> > 'SQLPrimaryKeys' differ in signedness
> > dbdimp.c: In function 'odbc_get_foreign_keys':
> > dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c: In function 'odbc_get_special_columns':
> > dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> > 'SQLSpecialColumns' differ in signedness
> > dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> > 'SQLSpecialColumns' differ in signedness
> > dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> > 'SQLSpecialColumns' differ in signedness
> > dbdimp.c: In function 'odbc_describe_col':
> > dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> > 'SQLDescribeCol' differ in signedness
> > dbdimp.c: In function 'odbc_get_foreign_keys':
> > dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> > 'SQLForeignKeys' differ in signedness
> > dbdimp.c: In function 'odbc_describe_col':
> > dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> > 'SQLDescribeCol' differ in signedness
> > dbdimp.c: In function 'odbc_db_columns':
> > dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c: In function 'odbc_db_columns':
> > dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> > 'SQLColumns' differ in signedness
> > dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> > 'SQLColumns' differ in signedness
> > lipo: can't open input file: /var/tmp//ccx2Y3W2.out (No such file or
> directory)
> > i686-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> > powerpc-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> > lipo: can't figure out the architecture type of: /var/tmp//ccFaVGb2.out
> > chmod: blib/arch/auto/DBD/ODBC/ODBC.bundle: No such file or directory
> > t/01base................ok 1/5install_driver(ODBC) failed: Can't find
> > 'boot_DBD__ODBC' symbol in /usr/local/lib/libODBC.dylib
> > at (eval 7) line 3
> > Compilation failed in require at (eval 7) line 3.
> >
> >
> >
>
> The problem is the use of variables called "true" and "false".
> Try the version at:
>
> ftp://ftp.easysoft.com/pub/DBD-ODBC-1.16_1.tar.gz
>
> I'm not ready to release this yet and as you will see from the "_1" this is
> a development release.
>
> You also may need to add "-framework CoreFoundation"
> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will be
> the at least one of the issues with Sybase too (see README.osx in
> distribution).
>
> Please let me know how you get on.
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
>

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 15.04.2008 16:19:59 von medina.alexander

Forgot to make mention that I did run a test with a perl script I
wrote to extra from the SQL database, of which it successfully
connected, extracted data and returned it.

On Tue, Apr 15, 2008 at 10:13 AM, Alexander Medina
wrote:
> Beautiful! That worked. I still received the warning messages when
> running 'make', but no errors. I first ran the install without adding
> the "-framework CoreFoundation" to the Makefile, this didn't work. I
> re-compiled and made the edits to the Makefile, received some warnings
> as noted earlier, but ran the test, it failed some, as expected I
> suppose. But ran the install and it installed perfectly (see below).
> Let me know if you want the output of my make test. Thanks for saving
> the day!
>
> # make install
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bs
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bundle
> Files found in blib/arch: installing files in blib/lib into
> architecture dependent library tree
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC.pm
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/Chan ges.pm
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/FAQ. pm
> Installing /usr/local/share/man/man3/DBD::ODBC.3pm
> Writing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /.packlist
> Appending installation info to
> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/perllo cal.pod
>
>
>
> On Tue, Apr 15, 2008 at 3:57 AM, Martin Evans wrote:
> >
> > Alexander Medina wrote:
> >
> > > I apologize if this is redundant as I know there have been previous
> > > posts regarding this issue. However, I have not been able to find any
> > > resolution in any of those posts.
> > > Here are my versions of the various components :
> > >
> > > Hardware: Apple Xserver
> > > OS: OSX Leopard 10.5.2
> > > Unix version: 9.2.0 Darwin Kernel Version 9.2.0
> > > Perl: 5.8.8
> > > DBI: 1.52
> > > DBD:ODBC: 1.15
> > > unixODBC: 2.2.12
> > > freeTDS: 0.83 dev 20080402
> > > DB type: SQL Server
> > >
> > > So, I'm pretty sure I have the latest of everything. I have
> > > successfully installed the unixODBC w/ freeTDS drivers component.
> > > Testing using isql to make the connection successfully returns data
> > > from the SQL Server. Everything is fine up until the point I try to
> > > compile the DBD::ODBC module using make. I'm starting to think that
> > > this is a compatibilty issue, because I proceeded to install the
> > > DBD::Sybase module, and receive pretty much the exact same errors at
> > > the same points. Much thanks in advance... /Alex Medina
> > >
> > > Here is the output of my 'make test'
> > >
> > > dbdimp.c: In function 'odbc_db_login6':
> > > dbdimp.c:582: warning: pointer targets in passing argument 3 of
> > > 'SQLDriverConnect' differ in signedness
> > > dbdimp.c:582: warning: pointer targets in passing argument 5 of
> > > 'SQLDriverConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 2 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 4 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 6 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c: In function 'odbc_db_login6':
> > > dbdimp.c:582: warning: pointer targets in passing argument 3 of
> > > 'SQLDriverConnect' differ in signedness
> > > dbdimp.c:582: warning: pointer targets in passing argument 5 of
> > > 'SQLDriverConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 2 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 4 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c:641: warning: pointer targets in passing argument 6 of
> > > 'SQLConnect' differ in signedness
> > > dbdimp.c: In function 'dbd_error2':
> > > dbdimp.c:997: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:998: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> > > 'strcmp' differ in signedness
> > > dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c: In function 'dbd_error2':
> > > dbdimp.c:997: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:998: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:1019: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1020: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1020: warning: pointer targets in passing argument 2 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1021: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1025: warning: pointer targets in passing argument 1 of
> > > 'strcmp' differ in signedness
> > > dbdimp.c:1026: warning: pointer targets in passing argument 1 of
> > > 'strcat' differ in signedness
> > > dbdimp.c:1030: warning: pointer targets in passing argument 5 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1030: warning: pointer targets in passing argument 6 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1032: warning: pointer targets in passing argument 5 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c:1032: warning: pointer targets in passing argument 6 of
> > > 'imp_xxh->com.std.dbistate->set_err_char' differ in signedness
> > > dbdimp.c: In function 'odbc_st_tables':
> > > dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c: In function 'odbc_st_primary_keys':
> > > dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_st_tables':
> > > dbdimp.c:1298: warning: pointer targets in passing argument 2 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 4 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 6 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c:1298: warning: pointer targets in passing argument 8 of
> > > 'SQLTables' differ in signedness
> > > dbdimp.c: In function 'odbc_st_prepare':
> > > dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> > > 'SQLPrepare' differ in signedness
> > > dbdimp.c: In function 'odbc_st_primary_keys':
> > > dbdimp.c:1358: warning: pointer targets in passing argument 2 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:1358: warning: pointer targets in passing argument 4 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:1358: warning: pointer targets in passing argument 6 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_st_prepare':
> > > dbdimp.c:1438: warning: pointer targets in passing argument 2 of
> > > 'SQLPrepare' differ in signedness
> > > dbdimp.c: In function 'odbc_st_execute':
> > > dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> > > 'SQLExecDirect' differ in signedness
> > > dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c: In function 'odbc_st_execute':
> > > dbdimp.c:1969: warning: pointer targets in passing argument 2 of
> > > 'SQLExecDirect' differ in signedness
> > > dbdimp.c:2010: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c: In function '_dbd_rebind_ph':
> > > dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c: In function '_dbd_rebind_ph':
> > > dbdimp.c:2742: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c:2745: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c:2753: warning: pointer targets in assignment differ in signedness
> > > dbdimp.c: At top level:
> > > dbdimp.c:3019: warning: declaration does not declare anything
> > > dbdimp.c:3019: warning: no semicolon at end of struct or union
> > > dbdimp.c:3019: error: syntax error before numeric constant
> > > dbdimp.c:3021: warning: data definition has no type or storage class
> > > dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> > > dbdimp.c:3024: warning: braces around scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3033: warning: braces around scalar initializer
> > > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > > dbdimp.c:3033: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3033: warning: excess elements in scalar initializer
> > > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > > dbdimp.c:3034: warning: braces around scalar initializer
> > > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > > dbdimp.c:3034: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3034: warning: excess elements in scalar initializer
> > > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > > dbdimp.c:3035: warning: braces around scalar initializer
> > > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > > dbdimp.c:3035: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3035: warning: excess elements in scalar initializer
> > > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > > dbdimp.c:3036: warning: braces around scalar initializer
> > > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > > dbdimp.c:3036: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3036: warning: excess elements in scalar initializer
> > > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > > dbdimp.c:3037: warning: braces around scalar initializer
> > > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > > dbdimp.c:3037: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3037: warning: excess elements in scalar initializer
> > > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > > dbdimp.c:3038: warning: braces around scalar initializer
> > > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > > dbdimp.c:3038: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3038: warning: excess elements in scalar initializer
> > > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > > dbdimp.c:3039: warning: braces around scalar initializer
> > > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > > dbdimp.c:3039: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3039: warning: excess elements in scalar initializer
> > > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > > dbdimp.c:3040: warning: braces around scalar initializer
> > > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > > dbdimp.c:3040: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3040: warning: excess elements in scalar initializer
> > > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > > dbdimp.c:3041: warning: braces around scalar initializer
> > > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > > dbdimp.c:3041: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3041: warning: excess elements in scalar initializer
> > > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > > dbdimp.c:3042: warning: braces around scalar initializer
> > > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > > dbdimp.c:3042: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3042: warning: excess elements in scalar initializer
> > > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > > dbdimp.c:3043: warning: braces around scalar initializer
> > > dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> > > dbdimp.c:3043: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3044: warning: data definition has no type or storage class
> > > dbdimp.c:3046: error: syntax error before '*' token
> > > dbdimp.c:3047: error: syntax error before '*' token
> > > dbdimp.c: In function 'S_dbOption':
> > > dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> > > dbdimp.c:3050: error: for each function it appears in.)
> > > dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> > > dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> > > dbdimp.c: In function 'odbc_db_STORE_attrib':
> > > dbdimp.c:3077: error: nested functions are disabled, use
> > > -fnested-functions to re-enable
> > > dbdimp.c:3077: error: syntax error before '*' token
> > > dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c: At top level:
> > > dbdimp.c:3019: warning: declaration does not declare anything
> > > dbdimp.c:3019: warning: no semicolon at end of struct or union
> > > dbdimp.c:3019: error: syntax error before numeric constant
> > > dbdimp.c:3021: warning: data definition has no type or storage class
> > > dbdimp.c:3023: error: syntax error before 'S_db_storeOptions'
> > > dbdimp.c:3024: warning: braces around scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3024: warning: excess elements in scalar initializer
> > > dbdimp.c:3024: warning: (near initialization for 'S_db_storeOptions[0]')
> > > dbdimp.c:3033: warning: braces around scalar initializer
> > > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > > dbdimp.c:3033: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3033: warning: excess elements in scalar initializer
> > > dbdimp.c:3033: warning: (near initialization for 'S_db_storeOptions[1]')
> > > dbdimp.c:3034: warning: braces around scalar initializer
> > > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > > dbdimp.c:3034: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3034: warning: excess elements in scalar initializer
> > > dbdimp.c:3034: warning: (near initialization for 'S_db_storeOptions[2]')
> > > dbdimp.c:3035: warning: braces around scalar initializer
> > > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > > dbdimp.c:3035: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3035: warning: excess elements in scalar initializer
> > > dbdimp.c:3035: warning: (near initialization for 'S_db_storeOptions[3]')
> > > dbdimp.c:3036: warning: braces around scalar initializer
> > > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > > dbdimp.c:3036: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3036: warning: excess elements in scalar initializer
> > > dbdimp.c:3036: warning: (near initialization for 'S_db_storeOptions[4]')
> > > dbdimp.c:3037: warning: braces around scalar initializer
> > > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > > dbdimp.c:3037: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3037: warning: excess elements in scalar initializer
> > > dbdimp.c:3037: warning: (near initialization for 'S_db_storeOptions[5]')
> > > dbdimp.c:3038: warning: braces around scalar initializer
> > > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > > dbdimp.c:3038: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3038: warning: excess elements in scalar initializer
> > > dbdimp.c:3038: warning: (near initialization for 'S_db_storeOptions[6]')
> > > dbdimp.c:3039: warning: braces around scalar initializer
> > > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > > dbdimp.c:3039: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3039: warning: excess elements in scalar initializer
> > > dbdimp.c:3039: warning: (near initialization for 'S_db_storeOptions[7]')
> > > dbdimp.c:3040: warning: braces around scalar initializer
> > > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > > dbdimp.c:3040: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3040: warning: excess elements in scalar initializer
> > > dbdimp.c:3040: warning: (near initialization for 'S_db_storeOptions[8]')
> > > dbdimp.c:3041: warning: braces around scalar initializer
> > > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > > dbdimp.c:3041: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3041: warning: excess elements in scalar initializer
> > > dbdimp.c:3041: warning: (near initialization for 'S_db_storeOptions[9]')
> > > dbdimp.c:3042: warning: braces around scalar initializer
> > > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > > dbdimp.c:3042: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3042: warning: excess elements in scalar initializer
> > > dbdimp.c:3042: warning: (near initialization for 'S_db_storeOptions[10]')
> > > dbdimp.c:3043: warning: braces around scalar initializer
> > > dbdimp.c:3043: warning: (near initialization for 'S_db_storeOptions[11]')
> > > dbdimp.c:3043: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3044: warning: data definition has no type or storage class
> > > dbdimp.c:3046: error: syntax error before '*' token
> > > dbdimp.c:3047: error: syntax error before '*' token
> > > dbdimp.c: In function 'S_dbOption':
> > > dbdimp.c:3050: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c:3050: error: (Each undeclared identifier is reported only once
> > > dbdimp.c:3050: error: for each function it appears in.)
> > > dbdimp.c:3051: error: 'key' undeclared (first use in this function)
> > > dbdimp.c:3051: error: 'len' undeclared (first use in this function)
> > > dbdimp.c:3272: error: syntax error before numeric constant
> > > dbdimp.c: In function 'odbc_db_STORE_attrib':
> > > dbdimp.c:3077: error: nested functions are disabled, use
> > > -fnested-functions to re-enable
> > > dbdimp.c:3077: error: syntax error before '*' token
> > > dbdimp.c:3080: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c: At top level:
> > > dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> > > dbdimp.c:3292: warning: braces around scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3293: warning: braces around scalar initializer
> > > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > > dbdimp.c:3293: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3293: warning: excess elements in scalar initializer
> > > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > > dbdimp.c:3302: warning: braces around scalar initializer
> > > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > > dbdimp.c:3302: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3302: warning: excess elements in scalar initializer
> > > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > > dbdimp.c:3303: warning: braces around scalar initializer
> > > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > > dbdimp.c:3303: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3303: warning: excess elements in scalar initializer
> > > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > > dbdimp.c:3304: warning: braces around scalar initializer
> > > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > > dbdimp.c:3304: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3304: warning: excess elements in scalar initializer
> > > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > > dbdimp.c:3305: warning: braces around scalar initializer
> > > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > > dbdimp.c:3305: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3305: warning: excess elements in scalar initializer
> > > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > > dbdimp.c:3306: warning: braces around scalar initializer
> > > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > > dbdimp.c:3306: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3306: warning: excess elements in scalar initializer
> > > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > > dbdimp.c:3307: warning: braces around scalar initializer
> > > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > > dbdimp.c:3307: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3307: warning: excess elements in scalar initializer
> > > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > > dbdimp.c:3308: warning: braces around scalar initializer
> > > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > > dbdimp.c:3272: error: syntax error before numeric constant
> > > dbdimp.c:3308: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3308: warning: excess elements in scalar initializer
> > > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > > dbdimp.c:3309: warning: braces around scalar initializer
> > > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > > dbdimp.c:3309: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3309: warning: excess elements in scalar initializer
> > > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > > dbdimp.c:3310: warning: braces around scalar initializer
> > > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > > dbdimp.c:3310: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3310: warning: excess elements in scalar initializer
> > > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > > dbdimp.c:3311: warning: braces around scalar initializer
> > > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > > dbdimp.c:3311: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3311: warning: excess elements in scalar initializer
> > > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > > dbdimp.c:3312: warning: braces around scalar initializer
> > > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > > dbdimp.c:3312: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3312: warning: excess elements in scalar initializer
> > > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > > dbdimp.c:3313: warning: braces around scalar initializer
> > > dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> > > dbdimp.c:3313: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3314: warning: data definition has no type or storage class
> > > dbdimp.c: In function 'odbc_db_FETCH_attrib':
> > > dbdimp.c:3328: error: nested functions are disabled, use
> > > -fnested-functions to re-enable
> > > dbdimp.c:3328: error: syntax error before '*' token
> > > dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c: At top level:
> > > dbdimp.c:3291: error: syntax error before 'S_db_fetchOptions'
> > > dbdimp.c:3292: warning: braces around scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3292: warning: excess elements in scalar initializer
> > > dbdimp.c:3292: warning: (near initialization for 'S_db_fetchOptions[0]')
> > > dbdimp.c:3293: warning: braces around scalar initializer
> > > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > > dbdimp.c:3293: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3293: warning: excess elements in scalar initializer
> > > dbdimp.c:3293: warning: (near initialization for 'S_db_fetchOptions[1]')
> > > dbdimp.c:3302: warning: braces around scalar initializer
> > > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > > dbdimp.c:3302: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3302: warning: excess elements in scalar initializer
> > > dbdimp.c:3302: warning: (near initialization for 'S_db_fetchOptions[2]')
> > > dbdimp.c:3303: warning: braces around scalar initializer
> > > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > > dbdimp.c:3303: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3303: warning: excess elements in scalar initializer
> > > dbdimp.c:3303: warning: (near initialization for 'S_db_fetchOptions[3]')
> > > dbdimp.c:3304: warning: braces around scalar initializer
> > > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > > dbdimp.c:3438: error: syntax error before numeric
> > > constantdbdimp.c:3304: warning: initialization makes integer from
> > > pointer without a cast
> > >
> > > dbdimp.c:3304: warning: excess elements in scalar initializer
> > > dbdimp.c:3304: warning: (near initialization for 'S_db_fetchOptions[4]')
> > > dbdimp.c:3305: warning: braces around scalar initializer
> > > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > > dbdimp.c:3305: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3305: warning: excess elements in scalar initializer
> > > dbdimp.c:3305: warning: (near initialization for 'S_db_fetchOptions[5]')
> > > dbdimp.c:3306: warning: braces around scalar initializer
> > > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > > dbdimp.c:3306: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3306: warning: excess elements in scalar initializer
> > > dbdimp.c:3306: warning: (near initialization for 'S_db_fetchOptions[6]')
> > > dbdimp.c:3307: warning: braces around scalar initializer
> > > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > > dbdimp.c:3307: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3307: warning: excess elements in scalar initializer
> > > dbdimp.c:3307: warning: (near initialization for 'S_db_fetchOptions[7]')
> > > dbdimp.c:3308: warning: braces around scalar initializer
> > > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > > dbdimp.c:3308: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3308: warning: excess elements in scalar initializer
> > > dbdimp.c:3308: warning: (near initialization for 'S_db_fetchOptions[8]')
> > > dbdimp.c:3309: warning: braces around scalar initializer
> > > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > > dbdimp.c:3309: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3309: warning: excess elements in scalar initializer
> > > dbdimp.c:3309: warning: (near initialization for 'S_db_fetchOptions[9]')
> > > dbdimp.c:3310: warning: braces around scalar initializer
> > > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > > dbdimp.c:3310: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3310: warning: excess elements in scalar initializer
> > > dbdimp.c:3310: warning: (near initialization for 'S_db_fetchOptions[10]')
> > > dbdimp.c:3311: warning: braces around scalar initializer
> > > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > > dbdimp.c:3311: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3311: warning: excess elements in scalar initializer
> > > dbdimp.c:3311: warning: (near initialization for 'S_db_fetchOptions[11]')
> > > dbdimp.c:3312: warning: braces around scalar initializer
> > > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > > dbdimp.c:3312: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3312: warning: excess elements in scalar initializer
> > > dbdimp.c:3312: warning: (near initialization for 'S_db_fetchOptions[12]')
> > > dbdimp.c:3313: warning: braces around scalar initializer
> > > dbdimp.c:3313: warning: (near initialization for 'S_db_fetchOptions[13]')
> > > dbdimp.c:3313: warning: initialization makes integer from pointer without
> > a cast
> > > dbdimp.c:3314: warning: data definition has no type or storage class
> > > dbdimp.c: In function 'odbc_db_FETCH_attrib':
> > > dbdimp.c:3328: error: nested functions are disabled, use
> > > -fnested-functions to re-enable
> > > dbdimp.c:3328: error: syntax error before '*' token
> > > dbdimp.c:3337: error: 'pars' undeclared (first use in this function)
> > > dbdimp.c:3438: error: syntax error before numeric constant
> > > dbdimp.c: In function 'odbc_st_FETCH_attrib':
> > > dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> > > 'SQLGetCursorName' differ in signedness
> > > dbdimp.c: In function 'odbc_st_FETCH_attrib':
> > > dbdimp.c:3571: warning: pointer targets in passing argument 2 of
> > > 'Perl_newSVpv' differ in signedness
> > > dbdimp.c:3614: warning: pointer targets in passing argument 2 of
> > > 'SQLGetCursorName' differ in signedness
> > > dbdimp.c: In function 'odbc_get_statistics':
> > > dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c: In function 'odbc_get_primary_keys':
> > > dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_get_special_columns':
> > > dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> > > 'SQLSpecialColumns' differ in signedness
> > > dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> > > 'SQLSpecialColumns' differ in signedness
> > > dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> > > 'SQLSpecialColumns' differ in signednessdbdimp.c: In function
> > > 'odbc_get_statistics':
> > >
> > > dbdimp.c:3817: warning: pointer targets in passing argument 2 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c:3817: warning: pointer targets in passing argument 4 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c:3817: warning: pointer targets in passing argument 6 of
> > > 'SQLStatistics' differ in signedness
> > > dbdimp.c: In function 'odbc_get_primary_keys':
> > > dbdimp.c:3857: warning: pointer targets in passing argument 2 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:3857: warning: pointer targets in passing argument 4 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c:3857: warning: pointer targets in passing argument 6 of
> > > 'SQLPrimaryKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_get_foreign_keys':
> > > dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_get_special_columns':
> > > dbdimp.c:3904: warning: pointer targets in passing argument 3 of
> > > 'SQLSpecialColumns' differ in signedness
> > > dbdimp.c:3904: warning: pointer targets in passing argument 5 of
> > > 'SQLSpecialColumns' differ in signedness
> > > dbdimp.c:3904: warning: pointer targets in passing argument 7 of
> > > 'SQLSpecialColumns' differ in signedness
> > > dbdimp.c: In function 'odbc_describe_col':
> > > dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> > > 'SQLDescribeCol' differ in signedness
> > > dbdimp.c: In function 'odbc_get_foreign_keys':
> > > dbdimp.c:3968: warning: pointer targets in passing argument 2 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 4 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 6 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 8 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 10 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c:3968: warning: pointer targets in passing argument 12 of
> > > 'SQLForeignKeys' differ in signedness
> > > dbdimp.c: In function 'odbc_describe_col':
> > > dbdimp.c:3994: warning: pointer targets in passing argument 3 of
> > > 'SQLDescribeCol' differ in signedness
> > > dbdimp.c: In function 'odbc_db_columns':
> > > dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c: In function 'odbc_db_columns':
> > > dbdimp.c:4204: warning: pointer targets in passing argument 2 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 4 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 6 of
> > > 'SQLColumns' differ in signedness
> > > dbdimp.c:4204: warning: pointer targets in passing argument 8 of
> > > 'SQLColumns' differ in signedness
> > > lipo: can't open input file: /var/tmp//ccx2Y3W2.out (No such file or
> > directory)
> > > i686-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> > > powerpc-apple-darwin9-gcc-4.0.1: dbdimp.o: No such file or directory
> > > lipo: can't figure out the architecture type of: /var/tmp//ccFaVGb2.out
> > > chmod: blib/arch/auto/DBD/ODBC/ODBC.bundle: No such file or directory
> > > t/01base................ok 1/5install_driver(ODBC) failed: Can't find
> > > 'boot_DBD__ODBC' symbol in /usr/local/lib/libODBC.dylib
> > > at (eval 7) line 3
> > > Compilation failed in require at (eval 7) line 3.
> > >
> > >
> > >
> >
> > The problem is the use of variables called "true" and "false".
> > Try the version at:
> >
> > ftp://ftp.easysoft.com/pub/DBD-ODBC-1.16_1.tar.gz
> >
> > I'm not ready to release this yet and as you will see from the "_1" this is
> > a development release.
> >
> > You also may need to add "-framework CoreFoundation"
> > to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will be
> > the at least one of the issues with Sybase too (see README.osx in
> > distribution).
> >
> > Please let me know how you get on.
> >
> > Martin
> > --
> > Martin J. Evans
> > Easysoft Limited
> > http://www.easysoft.com
> >
>

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 15.04.2008 16:29:46 von Martin.Evans

Alexander Medina wrote:
> Beautiful! That worked. I still received the warning messages when
> running 'make', but no errors. I first ran the install without adding
> the "-framework CoreFoundation" to the Makefile, this didn't work. I
> re-compiled and made the edits to the Makefile, received some warnings
> as noted earlier, but ran the test, it failed some, as expected I
> suppose. But ran the install and it installed perfectly (see below).
> Let me know if you want the output of my make test. Thanks for saving
> the day!

I don't have or use FreeTDS so I don't know if it currently fails any of
the tests but I have not had this reported to me. It may at least be
worth reporting the failures to the freeTDS list or you could mail me
personally the make test output and I'll take a quick look.

> # make install
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bs
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /ODBC.bundle
> Files found in blib/arch: installing files in blib/lib into
> architecture dependent library tree
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC.pm
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/Chan ges.pm
> Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/DBD/ODBC/FAQ. pm
> Installing /usr/local/share/man/man3/DBD::ODBC.3pm
> Writing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/ODBC /.packlist
> Appending installation info to
> /System/Library/Perl/5.8.8/darwin-thread-multi-2level/perllo cal.pod
>
> On Tue, Apr 15, 2008 at 3:57 AM, Martin Evans wrote:
>> Alexander Medina wrote:
>>
>>> I apologize if this is redundant as I know there have been previous
>>> posts regarding this issue. However, I have not been able to find any
>>> resolution in any of those posts.
>>> Here are my versions of the various components :
>>>
>>> Hardware: Apple Xserver
>>> OS: OSX Leopard 10.5.2
>>> Unix version: 9.2.0 Darwin Kernel Version 9.2.0
>>> Perl: 5.8.8
>>> DBI: 1.52
>>> DBD:ODBC: 1.15
>>> unixODBC: 2.2.12
>>> freeTDS: 0.83 dev 20080402
>>> DB type: SQL Server
>>>
>>> So, I'm pretty sure I have the latest of everything. I have
>>> successfully installed the unixODBC w/ freeTDS drivers component.
>>> Testing using isql to make the connection successfully returns data
>>> from the SQL Server. Everything is fine up until the point I try to
>>> compile the DBD::ODBC module using make. I'm starting to think that
>>> this is a compatibilty issue, because I proceeded to install the
>>> DBD::Sybase module, and receive pretty much the exact same errors at
>>> the same points. Much thanks in advance... /Alex Medina
>>>
>>> Here is the output of my 'make test'
>>>



>> The problem is the use of variables called "true" and "false".
>> Try the version at:
>>
>> ftp://ftp.easysoft.com/pub/DBD-ODBC-1.16_1.tar.gz
>>
>> I'm not ready to release this yet and as you will see from the "_1" this is
>> a development release.
>>
>> You also may need to add "-framework CoreFoundation"
>> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will be
>> the at least one of the issues with Sybase too (see README.osx in
>> distribution).
>>
>> Please let me know how you get on.
>>
>> Martin
>> --
>> Martin J. Evans
>> Easysoft Limited
>> http://www.easysoft.com
>>
>
>

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 13:35:47 von neil.beddoe

------_=_NextPart_001_01C8A3A3.D7BD1BB2
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

>>You=20also=20may=20need=20to=20add=20"-framework=20CoreFou ndation"
>>to=20the=20Makefile=20for=20the=20LDLOADLIBS=20and=20EXTRA LIBS=20symbols=
=20and=20that=20will
be=20the=20at=20least=20one=20of=20the=20issues=20with=20Syb ase=20too=20>>=
(see=20README.osx=20in
distribution).=20

Hello=20Martin,=20I've=20tried=20this=20on=20my=20system=20a nd=20still=20n=
o=20luck. I'm=20not
sure=20I'm=20carrying=20it=20out=20correctly=20though. I=20run=20perl=
=20Makefile.PL=20and
edit=20the=20Makefile=20it=20generates=20like=20this:

EXTRALIBS ==20-L/usr/lib=20-lodbc=20-framework=20CoreFou ndation
LDLOADLIBS ==20-L/usr/lib=20-lodbc=20-framework=20CoreFo undation

....but=20this=20generates=20the=20output=20below. Any= 20help=20you=20=
can=20offer=20would=20be
gratefully=20received.

Mac=20OS=2010.5.2=20Intel=20Core=20Duo

cc=20-c=20-I/usr/include -I.
-I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI=20 -arch=20i386
-arch=20ppc=20-g=20-pipe=20-fno-common=20-DPERL_DARWIN=20-no -cpp-precomp
-fno-strict-aliasing=20-Wdeclaration-after-statement=20-I/us r/local/includ=
e
-O3 =20-DVERSION=3D\"1.16_1\"=20-DXS_VERSION=3D\"1.16_1 \"
"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/COR E"
-I/usr/include=20ODBC.c
ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_disconnect':
ODBC.xsi:277:=20error:=20invalid=20lvalue=20in=20assignment
ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_DESTROY':
ODBC.xsi:336:=20error:=20invalid=20lvalue=20in=20assignment
ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_disconnect':
ODBC.xsi:277:=20error:=20invalid=20lvalue=20in=20assignment
ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_DESTROY':
ODBC.xsi:336:=20error:=20invalid=20lvalue=20in=20assignment
ODBC.xs:=20In=20function=20'XS_DBD__ODBC__dr_data_sources':
ODBC.xs:246:=20warning:=20pointer=20targets=20in=20passing=2 0argument=201=20=
of=20'strcpy'
differ=20in=20signedness
ODBC.xs:266:=20warning:=20pointer=20targets=20in=20passing=2 0argument=202=20=
of
'Perl_newSVpv'=20differ=20in=20signedness
ODBC.xs:=20In=20function=20'XS_DBD__ODBC__dr_data_sources':
ODBC.xs:246:=20warning:=20pointer=20targets=20in=20passing=2 0argument=201=20=
of=20'strcpy'
differ=20in=20signedness
ODBC.xs:266:=20warning:=20pointer=20targets=20in=20passing=2 0argument=202=20=
of
'Perl_newSVpv'=20differ=20in=20signedness
lipo:=20can't=20open=20input=20file:=20/var/tmp//ccx0pa5P.ou t=20(No=20such=
=20file=20or
directory)
make:=20***=20[ODBC.o]=20Error=201






..

This=20message=20is=20intended=20only=20for=20the=20use=20of =20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain =20information=
=20which=20is=20privileged=20and=20confidential.=20According ly=20any=20una=
uthorised=20use=20is=20strictly=20prohibited.=20If=20you=20a re=20not=20the=
=20intended=20recipient,=20please=20contact=20the=20sender=2 0as=20soon=20a=
s=20possible.

It=20is=20not=20intended=20as=20an=20offer=20or=20solicitati on=20for=20the=
=20purchase=20or=20sale=20of=20any=20financial=20instrument= 20or=20as=20an=
=20official=20confirmation=20of=20any=20transaction,=20unles s=20specifical=
ly=20agreed=20otherwise.=20All=20market=20prices,=20data=20a nd=20other=20i=
nformation=20are=20not=20warranted=20as=20to=20completeness= 20or=20accurac=
y=20and=20are=20subject=20to=20change=20without=20notice.=20 Any=20opinions=
=20or=20advice=20contained=20in=20this=20Internet=20email=20 are=20subject=20=
to=20the=20terms=20and=20conditions=20expressed=20in=20any=2 0applicable=20=
governing=20Marble=20Bar=20Asset=20Management=20LLP's t erms=20and=20c=
onditions=20of=20business=20or=20client=20agreement=20letter .=20Any=20comm=
ents=20or=20statements=20made=20herein=20do=20not=20necessar ily=20reflect=20=
those=20of=20Marble=20Bar=20Asset=20Management=20LLP.

Marble=20Bar=20Asset=20Management=20LLP=20is=20regulated=20a nd=20authorise=
d=20by=20the=20FSA.
------_=_NextPart_001_01C8A3A3.D7BD1BB2--

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 14:03:10 von Martin.Evans

Neil Beddoe wrote:
>>> You also may need to add "-framework CoreFoundation"
>>> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will
> be the at least one of the issues with Sybase too >>(see README.osx in
> distribution).
>
> Hello Martin, I've tried this on my system and still no luck. I'm not
> sure I'm carrying it out correctly though. I run perl Makefile.PL and
> edit the Makefile it generates like this:
>
> EXTRALIBS = -L/usr/lib -lodbc -framework CoreFoundation
> LDLOADLIBS = -L/usr/lib -lodbc -framework CoreFoundation

Not having a mac I'm only going on what others have told me but I
believe the above to be right. However, your make has not got to the
point where the framework comes into the equation yet - see below.


> ...but this generates the output below. Any help you can offer would be
> gratefully received.
>
> Mac OS 10.5.2 Intel Core Duo
>
> cc -c -I/usr/include -I.
> -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -arch i386
> -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
> -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include
> -O3 -DVERSION=\"1.16_1\" -DXS_VERSION=\"1.16_1\"
> "-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/COR E"
> -I/usr/include ODBC.c
> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
> ODBC.xsi:277: error: invalid lvalue in assignment
> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
> ODBC.xsi:336: error: invalid lvalue in assignment
> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
> ODBC.xsi:277: error: invalid lvalue in assignment
> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
> ODBC.xsi:336: error: invalid lvalue in assignment

These are compilation errors and they are stopping the build. What is on
lines 277 and 336 of ODBC.xsi?

> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
> ODBC.xs:246: warning: pointer targets in passing argument 1 of 'strcpy'
> differ in signedness
> ODBC.xs:266: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
> ODBC.xs:246: warning: pointer targets in passing argument 1 of 'strcpy'
> differ in signedness
> ODBC.xs:266: warning: pointer targets in passing argument 2 of
> 'Perl_newSVpv' differ in signedness
> lipo: can't open input file: /var/tmp//ccx0pa5P.out (No such file or
> directory)
> make: *** [ODBC.o] Error 1

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 14:17:02 von Martin.Evans

Martin Evans wrote:
> Neil Beddoe wrote:
>>>> You also may need to add "-framework CoreFoundation"
>>>> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that will
>> be the at least one of the issues with Sybase too >>(see README.osx in
>> distribution).
>> Hello Martin, I've tried this on my system and still no luck. I'm not
>> sure I'm carrying it out correctly though. I run perl Makefile.PL and
>> edit the Makefile it generates like this:
>>
>> EXTRALIBS = -L/usr/lib -lodbc -framework CoreFoundation
>> LDLOADLIBS = -L/usr/lib -lodbc -framework CoreFoundation
>
> Not having a mac I'm only going on what others have told me but I
> believe the above to be right. However, your make has not got to the
> point where the framework comes into the equation yet - see below.
>
>
>> ...but this generates the output below. Any help you can offer would be
>> gratefully received.
>>
>> Mac OS 10.5.2 Intel Core Duo
>>
>> cc -c -I/usr/include -I.
>> -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -arch i386
>> -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
>> -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include
>> -O3 -DVERSION=\"1.16_1\" -DXS_VERSION=\"1.16_1\"
>> "-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/COR E"
>> -I/usr/include ODBC.c
>> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
>> ODBC.xsi:277: error: invalid lvalue in assignment
>> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
>> ODBC.xsi:336: error: invalid lvalue in assignment
>> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
>> ODBC.xsi:277: error: invalid lvalue in assignment
>> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
>> ODBC.xsi:336: error: invalid lvalue in assignment
>
> These are compilation errors and they are stopping the build. What is on
> lines 277 and 336 of ODBC.xsi?
>
>> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
>> ODBC.xs:246: warning: pointer targets in passing argument 1 of 'strcpy'
>> differ in signedness
>> ODBC.xs:266: warning: pointer targets in passing argument 2 of
>> 'Perl_newSVpv' differ in signedness
>> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
>> ODBC.xs:246: warning: pointer targets in passing argument 1 of 'strcpy'
>> differ in signedness
>> ODBC.xs:266: warning: pointer targets in passing argument 2 of
>> 'Perl_newSVpv' differ in signedness
>> lipo: can't open input file: /var/tmp//ccx0pa5P.out (No such file or
>> directory)
>> make: *** [ODBC.o] Error 1
>
> Martin

I've managed to blag an ssh session on a MAC running 10.5.2, Perl 5.8.8
and DBI 1.52. I made no changes at all to the Makefile and it built ok.
However, it fails to run with:

t/01base................ok 1/5install_driver(ODBC) failed: Can't load
'/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC .bundle' for
module DBD::ODBC:
dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODB C/ODBC.bundle,
2): Symbol not found: ___CFConstantStringClassReference
Referenced from:
/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC. bundle
Expected in: dynamic lookup
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.

If I then change the Makefile to include -framework CoreFoundation in
EXTRALIBS and LDLOADLIBS it gets further but unfortunately the mac I was
using was Intel based (I didn't realise this at first) and the only
driver I could find was built for ppc so it gave:

mach-o, but wrong architecture

for the ODBC driver shared library.

If you can mail what is on the lines you got errors for in ODBC.xsi we
may be able to wwork it out.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

RE: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 14:35:08 von neil.beddoe

=20
Thanks=20for=20looking=20at=20this=20Martin. I'm=20a=20 bit=20out=20of=
=20my=20depth=20here.

The=20line=20in=20ODBC.xsi=20is:

if=20(DBIc_CACHED_KIDS(imp_dbh))=20{
SvREFCNT_dec(DBIc_CACHED_KIDS(imp_db h)); =
/*=20cast=20them=20to
the=20winds=20*/
DBIc_CACHED_KIDS(imp_dbh) ==20Nu llhv; =20=
#ERROR_GENERATED_HERE
}

This=20is=20line=20277,=20the=20same=20assignment=20fails=20 in=20line=2033=
6.

-----Original=20Message-----
From:=20Martin=20Evans=20[mailto:martin.evans@easysoft.com]= 20
Sent:=2021=20April=202008=2013:17
To:=20dbi-users@perl.org
Subject:=20Re:=20Unable=20to=20install=20DBD::ODBC=20on=20OS X=20Leopard=20=
10.5.2

Martin=20Evans=20wrote:
>=20Neil=20Beddoe=20wrote:
>>>>=20You=20also=20may=20need=20to=20add=20"-framework=20Co reFoundation"
>>>>=20to=20the=20Makefile=20for=20the=20LDLOADLIBS=20and=20 EXTRALIBS=20sy=
mbols=20and=20that=20
>>>>=20will
>>=20be=20the=20at=20least=20one=20of=20the=20issues=20with= 20Sybase=20too=
=20>>(see=20README.osx=20
>>=20in=20distribution).
>>=20Hello=20Martin,=20I've=20tried=20this=20on=20my=20syste m=20and=20stil=
l=20no=20luck. I'm=20
>>=20not=20sure=20I'm=20carrying=20it=20out=20correctly=20th ough. I=20=
run=20perl=20
>>=20Makefile.PL=20and=20edit=20the=20Makefile=20it=20genera tes=20like=20t=
his:
>>
>>=20EXTRALIBS ==20-L/usr/lib=20-lodbc=20-framework=20Co reFoundation=20=
LDLOADLIBS ==20
>>=20-L/usr/lib=20-lodbc=20-framework=20CoreFoundation
>=20
>=20Not=20having=20a=20mac=20I'm=20only=20going=20on=20what= 20others=20hav=
e=20told=20me=20but=20I=20
>=20believe=20the=20above=20to=20be=20right.=20However,=20yo ur=20make=20ha=
s=20not=20got=20to=20the=20
>=20point=20where=20the=20framework=20comes=20into=20the=20e quation=20yet=20=
-=20see=20below.
>=20
>=20
>>=20...but=20this=20generates=20the=20output=20below. Any=20help=20y=
ou=20can=20offer=20would

>>=20be=20gratefully=20received.
>>
>>=20Mac=20OS=2010.5.2=20Intel=20Core=20Duo
>>
>>=20cc=20-c=20-I/usr/include -I.
>>=20-I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/D BI=20-arch=20i=
386=20
>>=20-arch=20ppc=20-g=20-pipe=20-fno-common=20-DPERL_DARWIN= 20-no-cpp-prec=
omp=20
>>=20-fno-strict-aliasing=20-Wdeclaration-after-statement
-I/usr/local/include
>>=20-O3 =20-DVERSION=3D\"1.16_1\"=20-DXS_VERSION=3D\"1 .16_1\"
>>=20"-I/System/Library/Perl/5.8.8/darwin-thread-multi-2leve l/CORE"
>>=20-I/usr/include=20ODBC.c
>>=20ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_disconnec t':
>>=20ODBC.xsi:277:=20error:=20invalid=20lvalue=20in=20assign ment
>>=20ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_DESTROY':
>>=20ODBC.xsi:336:=20error:=20invalid=20lvalue=20in=20assign ment
>>=20ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_disconnec t':
>>=20ODBC.xsi:277:=20error:=20invalid=20lvalue=20in=20assign ment
>>=20ODBC.xsi:=20In=20function=20'XS_DBD__ODBC__db_DESTROY':
>>=20ODBC.xsi:336:=20error:=20invalid=20lvalue=20in=20assign ment
>=20
>=20These=20are=20compilation=20errors=20and=20they=20are=20 stopping=20the=
=20build.=20What=20is=20
>=20on=20lines=20277=20and=20336=20of=20ODBC.xsi?
>=20
>>=20ODBC.xs:=20In=20function=20'XS_DBD__ODBC__dr_data_sourc es':
>>=20ODBC.xs:246:=20warning:=20pointer=20targets=20in=20pass ing=20argument=
=201=20of
'strcpy'
>>=20differ=20in=20signedness
>>=20ODBC.xs:266:=20warning:=20pointer=20targets=20in=20pass ing=20argument=
=202=20of=20
>>=20'Perl_newSVpv'=20differ=20in=20signedness
>>=20ODBC.xs:=20In=20function=20'XS_DBD__ODBC__dr_data_sourc es':
>>=20ODBC.xs:246:=20warning:=20pointer=20targets=20in=20pass ing=20argument=
=201=20of
'strcpy'
>>=20differ=20in=20signedness
>>=20ODBC.xs:266:=20warning:=20pointer=20targets=20in=20pass ing=20argument=
=202=20of=20
>>=20'Perl_newSVpv'=20differ=20in=20signedness
>>=20lipo:=20can't=20open=20input=20file:=20/var/tmp//ccx0pa 5P.out=20(No=20=
such=20file=20or
>>=20directory)
>>=20make:=20***=20[ODBC.o]=20Error=201
>=20
>=20Martin

I've=20managed=20to=20blag=20an=20ssh=20session=20on=20a=20M AC=20running=20=
10.5.2,=20Perl=205.8.8
and=20DBI=201.52.=20I=20made=20no=20changes=20at=20all=20to= 20the=20Makefi=
le=20and=20it=20built=20ok.=20
However,=20it=20fails=20to=20run=20with:

t/01base................ok=201/5install_driver(ODBC)=20faile d:=20Can't=20l=
oad
'/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC .bundle'=20for=

module=20DBD::ODBC:=20
dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODB C/ODBC.bundl
e,
2):=20Symbol=20not=20found:=20___CFConstantStringClassRefere nce
=20Referenced=20from:=20
/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC. bundle
=20Expected=20in:=20dynamic=20lookup
at=20(eval=207)=20line=203
Compilation=20failed=20in=20require=20at=20(eval=207)=20line =203.

If=20I=20then=20change=20the=20Makefile=20to=20include=20-fr amework=20Core=
Foundation=20in
EXTRALIBS=20and=20LDLOADLIBS=20it=20gets=20further=20but=20u nfortunately=20=
the=20mac=20I=20was
using=20was=20Intel=20based=20(I=20didn't=20realise=20this=2 0at=20first)=20=
and=20the=20only
driver=20I=20could=20find=20was=20built=20for=20ppc=20so=20i t=20gave:

mach-o,=20but=20wrong=20architecture

for=20the=20ODBC=20driver=20shared=20library.

If=20you=20can=20mail=20what=20is=20on=20the=20lines=20you=2 0got=20errors=20=
for=20in=20ODBC.xsi=20we
may=20be=20able=20to=20wwork=20it=20out.

Martin
--
Martin=20J.=20Evans
Easysoft=20Limited
http://www.easysoft.com

..

This=20message=20is=20intended=20only=20for=20the=20use=20of =20the=20perso=
n(s)=20to=20whom=20it=20is=20addressed.=20It=20may=20contain =20information=
=20which=20is=20privileged=20and=20confidential.=20According ly=20any=20una=
uthorised=20use=20is=20strictly=20prohibited.=20If=20you=20a re=20not=20the=
=20intended=20recipient,=20please=20contact=20the=20sender=2 0as=20soon=20a=
s=20possible.

It=20is=20not=20intended=20as=20an=20offer=20or=20solicitati on=20for=20the=
=20purchase=20or=20sale=20of=20any=20financial=20instrument= 20or=20as=20an=
=20official=20confirmation=20of=20any=20transaction,=20unles s=20specifical=
ly=20agreed=20otherwise.=20All=20market=20prices,=20data=20a nd=20other=20i=
nformation=20are=20not=20warranted=20as=20to=20completeness= 20or=20accurac=
y=20and=20are=20subject=20to=20change=20without=20notice.=20 Any=20opinions=
=20or=20advice=20contained=20in=20this=20Internet=20email=20 are=20subject=20=
to=20the=20terms=20and=20conditions=20expressed=20in=20any=2 0applicable=20=
governing=20Marble=20Bar=20Asset=20Management=20LLP's t erms=20and=20c=
onditions=20of=20business=20or=20client=20agreement=20letter .=20Any=20comm=
ents=20or=20statements=20made=20herein=20do=20not=20necessar ily=20reflect=20=
those=20of=20Marble=20Bar=20Asset=20Management=20LLP.

Marble=20Bar=20Asset=20Management=20LLP=20is=20regulated=20a nd=20authorise=
d=20by=20the=20FSA.

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 17:33:06 von Martin.Evans

Neil Beddoe wrote:
>
> Thanks for looking at this Martin. I'm a bit out of my depth here.
>
> The line in ODBC.xsi is:
>
> if (DBIc_CACHED_KIDS(imp_dbh)) {
> SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to
> the winds */
> DBIc_CACHED_KIDS(imp_dbh) = Nullhv; #ERROR_GENERATED_HERE
> }
>
> This is line 277, the same assignment fails in line 336.

Ok, I found this:

http://www.nntp.perl.org/group/perl.dbi.dev/2007/05/msg4987. html

which suggests there is something I need to look into further.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

> -----Original Message-----
> From: Martin Evans [mailto:martin.evans@easysoft.com]
> Sent: 21 April 2008 13:17
> To: dbi-users@perl.org
> Subject: Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
>
> Martin Evans wrote:
>> Neil Beddoe wrote:
>>>>> You also may need to add "-framework CoreFoundation"
>>>>> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that
>>>>> will
>>> be the at least one of the issues with Sybase too >>(see README.osx
>>> in distribution).
>>> Hello Martin, I've tried this on my system and still no luck. I'm
>>> not sure I'm carrying it out correctly though. I run perl
>>> Makefile.PL and edit the Makefile it generates like this:
>>>
>>> EXTRALIBS = -L/usr/lib -lodbc -framework CoreFoundation LDLOADLIBS =
>>> -L/usr/lib -lodbc -framework CoreFoundation
>> Not having a mac I'm only going on what others have told me but I
>> believe the above to be right. However, your make has not got to the
>> point where the framework comes into the equation yet - see below.
>>
>>
>>> ...but this generates the output below. Any help you can offer would
>
>>> be gratefully received.
>>>
>>> Mac OS 10.5.2 Intel Core Duo
>>>
>>> cc -c -I/usr/include -I.
>>> -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -arch i386
>>> -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
>>> -fno-strict-aliasing -Wdeclaration-after-statement
> -I/usr/local/include
>>> -O3 -DVERSION=\"1.16_1\" -DXS_VERSION=\"1.16_1\"
>>> "-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/COR E"
>>> -I/usr/include ODBC.c
>>> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
>>> ODBC.xsi:277: error: invalid lvalue in assignment
>>> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
>>> ODBC.xsi:336: error: invalid lvalue in assignment
>>> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
>>> ODBC.xsi:277: error: invalid lvalue in assignment
>>> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
>>> ODBC.xsi:336: error: invalid lvalue in assignment
>> These are compilation errors and they are stopping the build. What is
>> on lines 277 and 336 of ODBC.xsi?
>>
>>> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
>>> ODBC.xs:246: warning: pointer targets in passing argument 1 of
> 'strcpy'
>>> differ in signedness
>>> ODBC.xs:266: warning: pointer targets in passing argument 2 of
>>> 'Perl_newSVpv' differ in signedness
>>> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
>>> ODBC.xs:246: warning: pointer targets in passing argument 1 of
> 'strcpy'
>>> differ in signedness
>>> ODBC.xs:266: warning: pointer targets in passing argument 2 of
>>> 'Perl_newSVpv' differ in signedness
>>> lipo: can't open input file: /var/tmp//ccx0pa5P.out (No such file or
>>> directory)
>>> make: *** [ODBC.o] Error 1
>> Martin
>
> I've managed to blag an ssh session on a MAC running 10.5.2, Perl 5.8.8
> and DBI 1.52. I made no changes at all to the Makefile and it built ok.
> However, it fails to run with:
>
> t/01base................ok 1/5install_driver(ODBC) failed: Can't load
> '/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC .bundle' for
> module DBD::ODBC:
> dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODB C/ODBC.bundl
> e,
> 2): Symbol not found: ___CFConstantStringClassReference
> Referenced from:
> /Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC. bundle
> Expected in: dynamic lookup
> at (eval 7) line 3
> Compilation failed in require at (eval 7) line 3.
>
> If I then change the Makefile to include -framework CoreFoundation in
> EXTRALIBS and LDLOADLIBS it gets further but unfortunately the mac I was
> using was Intel based (I didn't realise this at first) and the only
> driver I could find was built for ppc so it gave:
>
> mach-o, but wrong architecture
>
> for the ODBC driver shared library.
>
> If you can mail what is on the lines you got errors for in ODBC.xsi we
> may be able to wwork it out.
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
>
> .
>
> This message is intended only for the use of the person(s) to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any unauthorised use is strictly prohibited. If you are not the intended recipient, please contact the sender as soon as possible.
>
> It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing Marble Bar Asset Management LLP's terms and conditions of business or client agreement letter. Any comments or statements made herein do not necessarily reflect those of Marble Bar Asset Management LLP.
>
> Marble Bar Asset Management LLP is regulated and authorised by the FSA.
>
>

Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2

am 21.04.2008 22:14:54 von Tim.Bunce

I suspect you're using an old version of DBI (I'd guess <= 1.55).
Try using a more recent version.

Tim.

On Mon, Apr 21, 2008 at 01:35:08PM +0100, Neil Beddoe wrote:
>
> Thanks for looking at this Martin. I'm a bit out of my depth here.
>
> The line in ODBC.xsi is:
>
> if (DBIc_CACHED_KIDS(imp_dbh)) {
> SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to
> the winds */
> DBIc_CACHED_KIDS(imp_dbh) = Nullhv; #ERROR_GENERATED_HERE
> }
>
> This is line 277, the same assignment fails in line 336.
>
> -----Original Message-----
> From: Martin Evans [mailto:martin.evans@easysoft.com]
> Sent: 21 April 2008 13:17
> To: dbi-users@perl.org
> Subject: Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
>
> Martin Evans wrote:
> > Neil Beddoe wrote:
> >>>> You also may need to add "-framework CoreFoundation"
> >>>> to the Makefile for the LDLOADLIBS and EXTRALIBS symbols and that
> >>>> will
> >> be the at least one of the issues with Sybase too >>(see README.osx
> >> in distribution).
> >> Hello Martin, I've tried this on my system and still no luck. I'm
> >> not sure I'm carrying it out correctly though. I run perl
> >> Makefile.PL and edit the Makefile it generates like this:
> >>
> >> EXTRALIBS = -L/usr/lib -lodbc -framework CoreFoundation LDLOADLIBS =
> >> -L/usr/lib -lodbc -framework CoreFoundation
> >
> > Not having a mac I'm only going on what others have told me but I
> > believe the above to be right. However, your make has not got to the
> > point where the framework comes into the equation yet - see below.
> >
> >
> >> ...but this generates the output below. Any help you can offer would
>
> >> be gratefully received.
> >>
> >> Mac OS 10.5.2 Intel Core Duo
> >>
> >> cc -c -I/usr/include -I.
> >> -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -arch i386
> >> -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
> >> -fno-strict-aliasing -Wdeclaration-after-statement
> -I/usr/local/include
> >> -O3 -DVERSION=\"1.16_1\" -DXS_VERSION=\"1.16_1\"
> >> "-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/COR E"
> >> -I/usr/include ODBC.c
> >> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
> >> ODBC.xsi:277: error: invalid lvalue in assignment
> >> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
> >> ODBC.xsi:336: error: invalid lvalue in assignment
> >> ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect':
> >> ODBC.xsi:277: error: invalid lvalue in assignment
> >> ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY':
> >> ODBC.xsi:336: error: invalid lvalue in assignment
> >
> > These are compilation errors and they are stopping the build. What is
> > on lines 277 and 336 of ODBC.xsi?
> >
> >> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
> >> ODBC.xs:246: warning: pointer targets in passing argument 1 of
> 'strcpy'
> >> differ in signedness
> >> ODBC.xs:266: warning: pointer targets in passing argument 2 of
> >> 'Perl_newSVpv' differ in signedness
> >> ODBC.xs: In function 'XS_DBD__ODBC__dr_data_sources':
> >> ODBC.xs:246: warning: pointer targets in passing argument 1 of
> 'strcpy'
> >> differ in signedness
> >> ODBC.xs:266: warning: pointer targets in passing argument 2 of
> >> 'Perl_newSVpv' differ in signedness
> >> lipo: can't open input file: /var/tmp//ccx0pa5P.out (No such file or
> >> directory)
> >> make: *** [ODBC.o] Error 1
> >
> > Martin
>
> I've managed to blag an ssh session on a MAC running 10.5.2, Perl 5.8.8
> and DBI 1.52. I made no changes at all to the Makefile and it built ok.
> However, it fails to run with:
>
> t/01base................ok 1/5install_driver(ODBC) failed: Can't load
> '/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC .bundle' for
> module DBD::ODBC:
> dlopen(/Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODB C/ODBC.bundl
> e,
> 2): Symbol not found: ___CFConstantStringClassReference
> Referenced from:
> /Users/wez/mje/DBD-ODBC-1.16_1/blib/arch/auto/DBD/ODBC/ODBC. bundle
> Expected in: dynamic lookup
> at (eval 7) line 3
> Compilation failed in require at (eval 7) line 3.
>
> If I then change the Makefile to include -framework CoreFoundation in
> EXTRALIBS and LDLOADLIBS it gets further but unfortunately the mac I was
> using was Intel based (I didn't realise this at first) and the only
> driver I could find was built for ppc so it gave:
>
> mach-o, but wrong architecture
>
> for the ODBC driver shared library.
>
> If you can mail what is on the lines you got errors for in ODBC.xsi we
> may be able to wwork it out.
>
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
>
> .
>
> This message is intended only for the use of the person(s) to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any unauthorised use is strictly prohibited. If you are not the intended recipient, please contact the sender as soon as possible.
>
> It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing Marble Bar Asset Management LLP's terms and conditions of business or client agreement letter. Any comments or statements made herein do not necessarily reflect those of Marble Bar Asset Management LLP.
>
> Marble Bar Asset Management LLP is regulated and authorised by the FSA.