delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:content-type | |
:content-transfer-encoding:mime-version; q=dns; s=default; b=HQG | |
3XPwfGaeCX02Uy+G0QucPs/YZ7dUUau0Gen/o3RQEOqUQw0I7Ep3WmDJCqgofluu | |
WIAi6ZMe5mMs1hd0/T2LkJbwkuXG6c5aPx2kfLExhXbZsxuz7whlIBhS2KotZNfl | |
WGBQXAo9fS7IJ6+DgfYO+VPwAsy8QhzpvnkWqnQk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:content-type | |
:content-transfer-encoding:mime-version; s=default; bh=XAH4VlYe1 | |
zYp0xVU2jegSjQ+b3c=; b=RGZHL3IRF+7L08crvnLF00kMXs16SpKat6/akvEIN | |
DyhLz49VAkGaFYJuzj8tlVCGDc5uyaLZ1K6R/0jhnCR5Ue77ZFZOdvylKJZus37i | |
4oKwT52DkRqf0DwUAdvhc2T/eT1rB08yyuE6zL1L/eXhNdcQKS+ewZjx8aqvu1LF | |
sk= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-3.8 required=5.0 tests=AWL,BAYES_20,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE autolearn=no version=3.3.1 |
From: | Simon Barnes <swbarnes AT slb DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | building Perl module DBD-ODBC-4.3 under 64-bit cygwin |
Date: | Thu, 1 Aug 2013 12:57:29 +0000 |
Message-ID: | <3BA6644C396CE44F83F988D688C72A73015956B7EE@NL0230MBX08N1.DIR.slb.com> |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id r71Cvu5d010382 |
I'm having difficulty with this and would appreciate any suggestions. It does build under 32-bit cygwin. Thanks Simon cygwin> perl Makefile.PL ********** Remember to actually *READ* the README file! And re-read it if you have any problems. ********** OSNAME: cygwin LANG: ODBCHOME: /usr LD_LIBRARY_PATH: DBROOT: WINDIR: C:\Windows II_SYSTEM: Perl: 5.014004 ExtUtils::MakeMaker: 6.57_05 Command line options: u! = undef w! = undef e! = undef g! = 0 x! = undef o=s = 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. Press return to continue... Using ODBCHOME /usr Looking for iODBC libs in /usr/lib Found iODBC libs /usr/lib/libiodbc.dll.a,/usr/lib/libiodbcinst.dll.a in /usr/lib This looks like a iodbc type of driver manager. Warning: LD_LIBRARY_PATH doesn't include /usr/lib Checking if your kit is complete... Looks good Using DBI 1.623 (for perl 5.014004 on cygwin-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads/auto/DBI/ Using DBI 1.623 (for perl 5.014004 on cygwin-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads/auto/DBI/ Writing Makefile for DBD::ODBC Writing MYMETA.yml 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. cygwin> make cp Changes blib/lib/DBD/ODBC/Changes.pm cp FAQ blib/lib/DBD/ODBC/FAQ.pm cp TO_DO blib/lib/DBD/ODBC/TO_DO.pm cp ODBC.pm blib/lib/DBD/ODBC.pm gcc -c -DWITH_UNICODE -I/usr/include -I. -I/usr/include/w32api -I/usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads/auto/DBI -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE" -DWITH_UNICODE -I/usr/include ConvertUTF.c /usr/bin/perl.exe -p -e "s/~DRIVER~/ODBC/g" /usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads/auto/DBI/Driver.xst > ODBC.xsi /usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.14/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c Warning: duplicate function definition 'data_sources' detected in ODBC.xs, line 482 gcc -c -DWITH_UNICODE -I/usr/include -I. -I/usr/include/w32api -I/usr/lib/perl5/vendor_perl/5.14/x86_64-cygwin-threads/auto/DBI -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE" -DWITH_UNICODE -I/usr/include ODBC.c In file included from /usr/local/include/sql.h:19:0, from dbdodbc.h:7, from ODBC.h:8, from ODBC.xs:1: /usr/local/include/sqltypes.h:261:33: error: conflicting types for 'ULONG' typedef unsigned long ULONG; ^ In file included from /usr/include/w32api/windows.h:69:0, from dbdodbc.h:6, from ODBC.h:8, from ODBC.xs:1: /usr/include/w32api/windef.h:25:27: note: previous declaration of 'ULONG' was here typedef unsigned __LONG32 ULONG; ^ Makefile:390: recipe for target `ODBC.o' failed make: *** [ODBC.o] Error 1 cygwin> uname -a CYGWIN_NT-6.1 SLB-70DFXN1 1.7.22(0.268/5/3) 2013-07-22 17:06 x86_64 Cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |