Shawn Zong wrote:
> I was installing DBD:ODBC module on latest cgywin 1.5.25-15,
> following the routine install procedure, i.e. 1 perl makefile.pl + 3
> makes. Yes, ODBCHOME was set manually.
> 
> However, I have no problem to install DBD:ODBC via PPM. So my perl
> program runs on windows xp command window, but not on cygwin.
> 
> Please let me know if you need more information.
> 
> Thanks. Shawn

The output from perl Makefile.PL would be useful to see.

I don't use cgywin. odbc_config is a program that comes with later
unixODBC driver managers. Am I right in assuming that when using cygwin
you are still expecting to use the MS ODBC Driver manager?

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

> 
> 
> 
> -----Original Message----- From: Martin Evans
> [mailto:martin.ev...@easysoft.com] Sent: Wednesday, October 14, 2009
> 9:24 AM To: Shawn Zong Cc: dbi-users Subject: Re: need help to
> install DBD::ODBC module
> 
> Shawn Zong wrote:
>> I am having difficulty to compile on Perl V5.10.0 built with MS SQL
>>  server 2005. The program could not find installed  ODBC Driver
>> Manager.
>> 
>> 
>> 
>> Here is my configuration.
>> 
>> DBI_DSN:   'dbi:ODBC: DSN_NAME', DSN_NAME is set up in System DSN
>> in ODBC Data source Administrator.
>> 
>> DBI_USER: valid database user
>> 
>> DBI_PASS:  valid password
>> 
>> ODBCHOME  c:\windows\system32
>> 
>> 
>> 
>> When running ‘perl Makefile.PL’, it could not find odbc_config and
>> then the build failed. Do I miss anything in config?
>> 
>> 
>> 
>> Thanks,
>> 
>> Shawn
>> 
> 
> Hi,
> 
> Not finding odbc_config should not stop it working but I have an
> awful feeling about this since it should not be looking for
> odbc_config on windows. Did you set ODBCHOME yourself? Can you send
> the output of perl Makefile.PL please.
> 
> Martin

Reply via email to