$ LD_LIBRARY_PATH=/export/home/filtro/unixODBC/lib:/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI:$LD_LIBRARY_PATH ODBCHOME=~/unixODBC /usr/perl5/bin/perlgcc -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan[1]> clean DBD::ODBC Reading '/export/home/filtro/.cpan/Metadata' Database was generated on Wed, 10 Apr 2013 21:17:02 GMT Running clean for module 'DBD::ODBC' Running make clean Distribution seems to have never been unzipped/untarred, nothing done cpan[2]> make DBD::ODBC Running make for module 'DBD::ODBC' Running make for M/MJ/MJEVANS/DBD-ODBC-1.43.tar.gz CPAN: checksum security checks disabled because Digest::SHA not installed. Please consider installing the Digest::SHA module. Scanning cache /export/home/filtro/.cpan/build for sizes ............................................................................DONE CPAN.pm: Building M/MJ/MJEVANS/DBD-ODBC-1.43.tar.gz ********** Remember to actually *READ* the README file! And re-read it if you have any problems. ********** OSNAME: solaris LANG: ODBCHOME: /export/home/filtro/unixODBC LD_LIBRARY_PATH: /export/home/filtro/unixODBC/lib:/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI:/etc/emc/rsa/cst/lib DBROOT: WINDIR: II_SYSTEM: Perl: 5.008004 ExtUtils::MakeMaker: 6.64 Command line options: u! = undef w! = undef e! = undef g! = 0 x! = undef o=s = Looking for odbc_config in : /export/home/filtro/unixODBC Looking for odbc_config at /export/home/filtro/unixODBC/bin/odbc_config Found odbc_config (via /export/home/filtro/unixODBC/bin/odbc_config) version 2.3.0 odbc_config reports --prefix=/export/home/filtro/unixODBC odbc_config reports --include-prefix=/export/home/filtro/unixODBC/include odbc_config reports --lib-prefix=/export/home/filtro/unixODBC/lib ODBC INC dir set to /export/home/filtro/unixODBC/include via odbc_config ODBC LIB dir set to /export/home/filtro/unixODBC/lib via odbc_config Using ODBCHOME /export/home/filtro/unixODBC This looks like a unixodbc type of driver manager. Looking for odbcinst Found odbcinst in /export/home/filtro/unixODBC/bin odbcinst -j reports: unixODBC 2.3.0 DRIVERS............: /export/home/filtro/unixODBC/etc/odbcinst.ini SYSTEM DATA SOURCES: /export/home/filtro/unixODBC/etc/odbc.ini FILE DATA SOURCES..: /export/home/filtro/unixODBC/etc/ODBCDataSources USER DATA SOURCES..: /export/home/filtro/.odbc.ini SQLULEN Size.......: 4 SQLLEN Size........: 4 SQLSETPOSIROW Size.: 2 Please note these files as they are where you define your ODBC drivers and data sources. Looking for odbc_config to get cflags Adding odbc_config --cflags "-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include " to CC line Checking if your kit is complete... Looks good Multiple copies of Driver.xst found in: /export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI/ /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/DBI/ at Makefile.PL line 152 Using DBI 1.625 (for perl 5.008004 on sun4-solaris-64int) installed in /export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI/ Have /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc Want /usr/perl5/5.8.4/lib/sun4-solaris-64int Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [PerlGcc] Config says: [sun4-solaris-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Multiple copies of Driver.xst found in: /export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI/ /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/DBI/ at Makefile.PL line 1135 Using DBI 1.625 (for perl 5.008004 on sun4-solaris-64int) installed in /export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI/ Writing Makefile for DBD::ODBC Writing MYMETA.yml and MYMETA.json Warning: not all required environment variables are set. Warning: Will not be able to run tests as you have not defined all of DBI_DSN, DBI_USER and DBI_PASS environment variables. cp TO_DO blib/lib/DBD/ODBC/TO_DO.pm cp FAQ blib/lib/DBD/ODBC/FAQ.pm cp Changes blib/lib/DBD/ODBC/Changes.pm gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include -I. -I/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include ConvertUTF.c /usr/perl5/5.8.4/bin/perl -p -e "s/~DRIVER~/ODBC/g" /export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI/Driver.xst > ODBC.xsi gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include -I. -I/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include dbdimp.c cp ODBC.pm blib/lib/DBD/ODBC.pm gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include -I. -I/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include unicode_helper.c Running Mkbootstrap for DBD::ODBC () /usr/perl5/5.8.4/bin/perl /export/home/filtro/perl5/lib/perl5/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c chmod 644 ODBC.bs cp ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs chmod 644 blib/arch/auto/DBD/ODBC/ODBC.bs dbdimp.c: In function `odbc_set_query_timeout': dbdimp.c:197: warning: cast to pointer from integer of different size dbdimp.c: In function `odbc_db_STORE_attrib': dbdimp.c:4660: warning: cast to pointer from integer of different size dbdimp.c: In function `set_odbc_version': dbdimp.c:6400: warning: cast to pointer from integer of different size dbdimp.c: In function `post_connect': dbdimp.c:6671: warning: cast to pointer from integer of different size dbdimp.c: In function `odbc_st_execute_for_fetch': dbdimp.c:7164: warning: cast to pointer from integer of different size Warning: duplicate function definition 'data_sources' detected in ODBC.xs, line 482 gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include -I. -I/export/home/filtro/perl5/lib/perl5/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/export/home/filtro/unixODBC/include -I/export/home/filtro/unixODBC/include ODBC.c rm -f blib/arch/auto/DBD/ODBC/ODBC.so gcc -G ConvertUTF.o ODBC.o dbdimp.o unicode_helper.o -o blib/arch/auto/DBD/ODBC/ODBC.so \ \ chmod 755 blib/arch/auto/DBD/ODBC/ODBC.so Manifying blib/man3/DBD::ODBC.3 MJEVANS/DBD-ODBC-1.43.tar.gz /usr/sfw/bin/gmake -j3 -j3 -- OK