Class::DBI under Cygwin

Posted: 02-25-2004, 02:08 AM
Has anyone had success getting Class::DBI or Class::DBI working under
cygwin?

I think I have all the pre-reqs working just not Class::DBI. Here's
the details:

MySQL
- installed mysql for the windows platform
- works

DBI::mysql
- compiled my own non-server mysql libraries under cygwin
- mysql -h 127.0.0.1 connects and works beautifully
- installed DBI::mysql
- configured for the test database
- make test passes all tests except t/mysql 46-48. These have
something to do with the listfields method and
type/is_not_null/is_pri_key methods. The README suggests that minor
make test errors can be ignored under cygwin, and these don't appear
to be vital (though maybe they are?).

Ima::DBI
- installed and passes all test

DBD::SQLite (used for testing Class::DBI)
- passes all tests although it outputs this error message repeatedly
"Bad free() ignored (PERL_CORE) at ..../DBD/SQLite.pm line 188."

Class::DBD
- fails make test
- reports the following error message repeatedly, but again
DBD::SQLite make test worked?
"Ima::DBI connect('dbname=/tmp/oMfssR8AkR','',...) failed: unable to
open database: /tmp/oMfssR8AkR at t/02-Film.t line 15"
- reports the following error message for mysql tests:
"t/10-mysql..........DBI connect('test@127.0.0.1:3306','mgrimes',...)
failed: Can't connect to MySQL server on '3306' (116) at (eval 1) line
3"

I'm running out of ideas. I thought I had succeeded when I got
DBD::mysql to work (no small challenge). Any suggestions are more
apprecaited!

Thanks,
Mark
Reply With Quote

Responses to "Class::DBI under Cygwin"

 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about installation of GD::Text on cygwin (could be a Makefile q) Jim Hall PERL Modules 0 11-28-2003 02:44 AM
install QuoteHist in cygwin Daniel Ng PERL Modules 1 11-16-2003 07:35 AM
cygwin or activestate ? Graham PERL Modules 2 11-14-2003 12:44 AM
Help: Install DBI-Oracle on cygwin with Perl 5.8.0 James Hull PERL Modules 2 10-13-2003 07:04 PM
CygWin, Win98, & 1.8.0 (sourceforge) Charles Hixson Ruby 0 07-21-2003 06:05 PM