Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59287 - ebuild for dev-perl/DBD-ODBC
Summary: ebuild for dev-perl/DBD-ODBC
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 09:26 UTC by Sven
Modified: 2014-11-30 15:31 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for DBD-ODBC 1.09 (DBD-ODBC-1.09.ebuild,674 bytes, text/plain)
2004-08-09 02:43 UTC, Sven
Details
updated ebuild (DBD-ODBC-1.10.ebuild,366 bytes, text/plain)
2004-09-14 07:48 UTC, Sven
Details
updated ebuild (DBD-ODBC-1.15.ebuild,392 bytes, text/plain)
2008-05-03 12:27 UTC, Jan Kuipers
Details
DBD-ODBC-1.23.2.ebuild (DBD-ODBC-1.23.2.ebuild,678 bytes, text/plain)
2010-03-09 01:21 UTC, David Abbott (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2004-08-03 09:26:25 UTC
MaxDB only offers an ODBC driver for Linux, and even though i got unixODBC installed, i still need DBD-ODBC to access the database from Perl ;-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-03 12:38:00 UTC
What is this DBD-ODBC? Where can I find info on it/download it?
Comment 2 Sven 2004-08-03 14:18:31 UTC
http://search.cpan.org/~jurl/DBD-ODBC-1.09/

It's a database-driver for perl and can be linked against unixODBC or iODBC as far as i know.
Comment 3 Sven 2004-08-03 14:24:07 UTC
just compiled DBD-ODBC 1.09 against unixODBC simply by doing
  perl Makefile.PL -o /usr/
  make

make test seems quite useless to me, since you must have a running database and odbc-driver for the tests to work.
Comment 4 Sven 2004-08-09 02:43:43 UTC
Created attachment 37086 [details]
ebuild for DBD-ODBC 1.09

Here's an ebuild for DBD-ODBC 1.09. Compiles fine, but haven't testes the
result yet.
Comment 5 Sven 2004-09-14 07:48:33 UTC
Created attachment 39577 [details]
updated ebuild
Comment 6 Jan Kuipers 2008-05-03 12:27:49 UTC
Created attachment 151688 [details]
updated ebuild
Comment 7 Dawid Węgliński (RETIRED) gentoo-dev 2008-11-24 12:04:53 UTC
Would be nice to see this in portage tree. I need this at my work to run perl script that connects to MS SQL server, so if you don't have time or interest in maintaining it, i can take this.
Comment 8 michael higgins 2010-03-06 21:28:52 UTC
(In reply to comment #7)

Well, someone voted this bug to be part of bugday old as it is. I mentioned it there, and so here's my $0.02USD FWIW. ;-) 

> Would be nice to see this in portage tree.

I'd suggest, OTOH, that it's bad *NOT* to have this in the portage 'gentoo' tree. IOW, it's an oversight that needed to be addressed years ago, IMO... FWIW, and all 'o that.

> I need this at my work to run perl
> script that connects to MS SQL server, 

Yes. It should, further, be maintained so that it builds and executes cleanly "out of the box" with FreeTDS and unixODBC for MSSQL -- I mean it shouldn't only be tested against "commercial" ODBC bridge offerings... but rather made to work against free libs.

> so if you don't have time or interest in
> maintaining it, i can take this.
> 

Please take this on... (I personally don't use it anymore, but I did help getting some bugs nailed along the way with folks making the DBI hooks in DBIx::Class... and like that. MSSQL is very quirky... as is ODBC.) I'd like to see DBD::ODBC supported, overall though. I'd be willing to test against other bridges, like to postgres or even mysql.

I would mention that 'tove', for example, is/was very active in perl maintenance overall, but aside from that there is, *afaik*, no one in the herd, proper.

I recall there were always linking issues with this stuff on my systems using a minimal ebuild like attached. I "solved" with setting some object for LD_PRELOAD... maybe you never see it if you don't use unixODBC and FreeTDS. At any rate, you can also ping <mykhyggz> or mail me if you think I might help with what I found.
Comment 9 David Abbott (RETIRED) gentoo-dev 2010-03-09 01:21:48 UTC
Created attachment 222757 [details]
DBD-ODBC-1.23.2.ebuild

Here is another ebuild to get started with, I don,t use the program so there is still work to do.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2014-10-15 21:09:04 UTC
Is anyone still interested in this? If yes, please say so here and now!
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-11-30 15:31:17 UTC
Seems, no.