delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/17/12:15:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sat, 17 Jan 2004 18:14:16 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
Message-ID: <1204266099.20040117181416@familiehaase.de>
To: "Rafael Kitover" <rkitover AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin/DBD::ODBC issue
In-Reply-To: <Law9-OE58rpZp3envHy0000ff36@hotmail.com>
References: <C736868EB761C04A8909BB038DEABD6408D9CF92 AT MSPMAILV1 DOT retek DOT int> <Law9-OE58rpZp3envHy0000ff36 AT hotmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Hallo Rafael,

Am Freitag, 16. Januar 2004 um 23:56 schriebst du:

> Hi Tommie,

> DBD::ODBC seems like a very useful module to have available for
> Cygwin. Could you post the patch you ended up having? I'll try to
> get it to the maintainer(s). 

> Also, what ODBC driver manager did you use? What is your ODBCHOME
> environment variable set to? 

Builds ok using libiodbc-3.51.1 ( http://www.iodbc.org/ ) besides
this:

$ make
Makefile:300: *** missing separator.  Stop.

[...]

$ make test
/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.........ok                                                          
t/02simple.......skipped
        all skipped: DBI_DSN is undefined
t/03dbatt........skipped
        all skipped: DBI_DSN is undefined
t/05meth.........skipped
        all skipped: DBI_DSN is undefined
t/07bind.........skipped
        all skipped: DBI_DSN is undefined
t/08bind2........skipped
        all skipped: DBI_DSN is undefined
t/09multi........skipped
        all skipped: DBI_DSN is undefined
t/20SqlServer....skipped
        all skipped: DBI_DSN is undefined
t/30Oracle.......skipped
        all skipped: DBI_DSN is undefined
All tests successful, 8 tests skipped.
Files=9, Tests=5,  4 wallclock secs ( 1.56 cusr +  1.59 csys =  3.15 CPU)


Hmmm, need a database to run more useful tests...

There is nameclash, postgresql-7.4.1-3 includes the file
/usr/include/sqltypes.h and libiodbc-3.51.1 includes a file with the
same name, additional there is a file with the same name included in
the w32api-2.4-1 package, though this is in the /usr/include/w32api
directory and is picked up at last from gcc.

I can send you patches to build libiodbc and MyODBC with shared
libraries, however, I was not able to figure out how connect my local
MySQL server via DBD::ODBC.

The MyODBC driver works as expected (it is linked against libiodbc as
is DBD::ODBC) but DBD::ODBC fails for some reason.


Gerrit
-- 
=^..^=



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019