DBD::ODBC make

Main

Hostnameobol602
uname -aLinux obol602 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
date2009-12-16

You are using a Perl configured with threading enabled.
Please read the warnings in DBI about this.

You should also be aware that on non-Windows platforms ODBC drivers come
in two forms, thread-safe and non-thread-safe drivers and you may need
to make sure you are using the right one.


>>>	Remember to actually *READ* the README file!
   	And re-read it if you have any problems.


Look for odbcinst
Useless use of private variable in void context at Makefile.PL line 674.
Using ODBC in /usr

This looks like a unixodbc type of driver manager.
  odbcinst -j reports:

unixODBC 2.2.11
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /home/freddy/cpp/freetds/ftds_comp83/odbc.ini

Looking for odbc_config
  odbc_config not found - ok

We expect to find the sql.h, sqlext.h, sqltypes.h and sqlucode.h (which were
supplied with unixODBC) in $ODBCHOME/include directory alongside the
/usr/lib/libodbc.a /usr/lib/libodbc.so library in $ODBCHOME/lib


Checking if your kit is complete...
Warning: LD_LIBRARY_PATH doesn't include /usr
Looks good
Using DBI 1.609 (for perl 5.010000 on x86_64-linux-gnu-thread-multi) installed in /usr/lib/perl5/auto/DBI/
Using DBI 1.609 (for perl 5.010000 on x86_64-linux-gnu-thread-multi) installed in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:
    DBI_DSN=dbi:ODBC:TESTSRV		e.g. dbi:ODBC:demo
    DBI_USER=test
    DBI_PASS=test

cp Changes blib/lib/DBD/ODBC/Changes.pm
cp FAQ blib/lib/DBD/ODBC/FAQ.pm
cp ODBC.pm blib/lib/DBD/ODBC.pm
cc -c -I/usr/include  -I. -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -I/usr/include ConvertUTF.c
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" /usr/lib/perl5/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp  -typemap /usr/share/perl/5.10/ExtUtils/typemap  ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c
cc -c -I/usr/include  -I. -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -I/usr/include ODBC.c
Warning: duplicate function definition 'data_sources' detected in ODBC.xs, line 217
cc -c -I/usr/include  -I. -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -I/usr/include dbdimp.c
dbdimp.c: In function 'odbc_set_query_timeout':
dbdimp.c:121: warning: format '%d' expects type 'int', but argument 3 has type 'UV'
dbdimp.c: In function 'odbc_handle_outparams':
dbdimp.c:209: warning: format '%d' expects type 'int', but argument 4 has type 'SQLLEN'
dbdimp.c: In function 'build_results':
dbdimp.c:298: warning: format '%d' expects type 'int', but argument 3 has type 'SQLHSTMT'
dbdimp.c: In function 'dbd_error2':
dbdimp.c:1153: warning: format '%ld' expects type 'long int', but argument 7 has type 'SDWORD'
dbdimp.c: In function 'odbc_describe':
dbdimp.c:2003: warning: format not a string literal and no format arguments
dbdimp.c:2007: warning: format not a string literal and no format arguments
dbdimp.c:2117: warning: format '%d' expects type 'int', but argument 3 has type 'SQLLEN'
dbdimp.c:2249: warning: format '%d' expects type 'int', but argument 6 has type 'SQLLEN'
dbdimp.c:2249: warning: format '%d' expects type 'int', but argument 7 has type 'SQLLEN'
dbdimp.c:2249: warning: format '%d' expects type 'int', but argument 8 has type 'SQLULEN'
dbdimp.c:2258: warning: format not a string literal and no format arguments
dbdimp.c: In function 'odbc_st_execute':
dbdimp.c:2496: warning: format '%d' expects type 'int', but argument 4 has type 'SQLLEN'
dbdimp.c: In function 'odbc_st_fetch':
dbdimp.c:2763: warning: format '%d' expects type 'int', but argument 5 has type 'SQLLEN'
dbdimp.c:2763: warning: format '%d' expects type 'int', but argument 6 has type 'SQLLEN'
dbdimp.c: In function 'get_param_type':
dbdimp.c:3012: warning: format '%d' expects type 'int', but argument 6 has type 'SQLULEN'
dbdimp.c:3025: warning: format '%d' expects type 'int', but argument 5 has type 'SQLULEN'
dbdimp.c: In function 'rebind_param':
dbdimp.c:3102: warning: format '%d' expects type 'int', but argument 5 has type 'STRLEN'
dbdimp.c:3102: warning: format '%d' expects type 'int', but argument 6 has type 'STRLEN'
dbdimp.c:3102: warning: format '%ld' expects type 'long int', but argument 8 has type 'unsigned int'
dbdimp.c:3112: warning: format not a string literal and no format arguments
dbdimp.c:3186: warning: format '%d' expects type 'int', but argument 5 has type 'STRLEN'
dbdimp.c:3324: warning: format '%d' expects type 'int', but argument 6 has type 'SQLULEN'
dbdimp.c:3447: warning: format '%d' expects type 'int', but argument 8 has type 'SQLULEN'
dbdimp.c:3447: warning: format '%d' expects type 'int', but argument 11 has type 'SQLLEN'
dbdimp.c:3447: warning: format '%d' expects type 'int', but argument 12 has type 'SQLLEN'
dbdimp.c:3447: warning: format '%d' expects type 'int', but argument 13 has type 'SQLULEN'
dbdimp.c: In function 'odbc_st_blob_read':
dbdimp.c:3633: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
dbdimp.c:3633: warning: format '%d' expects type 'int', but argument 4 has type 'long int'
dbdimp.c:3633: warning: format '%d' expects type 'int', but argument 6 has type 'SQLLEN'
dbdimp.c:3633: warning: format '%d' expects type 'int', but argument 7 has type 'STRLEN'
dbdimp.c:3658: warning: format '%d' expects type 'int', but argument 3 has type 'STRLEN'
dbdimp.c: In function 'odbc_db_STORE_attrib':
dbdimp.c:3802: warning: cast from pointer to integer of different size
dbdimp.c: In function 'odbc_get_info':
dbdimp.c:4525: warning: format not a string literal and no format arguments
dbdimp.c:4534: warning: format not a string literal and no format arguments
dbdimp.c: In function 'post_connect':
dbdimp.c:5380: warning: format '%d' expects type 'int', but argument 3 has type 'UV'
cc -c -I/usr/include  -I. -I/usr/lib/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -fPIC "-I/usr/lib/perl/5.10/CORE"  -I/usr/include unicode_helper.c
Running Mkbootstrap for DBD::ODBC ()
chmod 644 ODBC.bs
rm -f blib/arch/auto/DBD/ODBC/ODBC.so
cc  -shared -O2 -g -L/usr/local/lib ConvertUTF.o ODBC.o dbdimp.o unicode_helper.o  -o blib/arch/auto/DBD/ODBC/ODBC.so 	\
	   -L/usr/lib -lodbc  	\
	  
chmod 755 blib/arch/auto/DBD/ODBC/ODBC.so
cp ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs
chmod 644 blib/arch/auto/DBD/ODBC/ODBC.bs
Manifying blib/man3/DBD::ODBC.3pm

Main