unixODBC isn't usually installed in /usr/bin. It's usually in /usr/local. I'm guessing that the output of Makefile.PL will help, but it could be that you have "remnants" of udbc in there which could be causing the problem. Save the output of Makefile.PL and forward it to me (and please copy [EMAIL PROTECTED])
Thanks, Jeff > -----Original Message----- > From: Cornel Diaconu [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 9:37 AM > To: [EMAIL PROTECTED] > Subject: compiling... > > > Sorry for this approach (I'm sure I'm not the first to ask you this, but > for now I don't know where to find an answer to it, so...) > I'm trying to compile your DBD::ODBC package on my RedHat 7.2, with perl > 5.6.1 and unixODBC (I think some 2.xx) installed. > > When I instruct perl Makefile.PL where is my ODBC manager (namely in > /usr/bin) (either by the parameter -o, or by means of ODBCHOME > variable), it creates the dbdodbc.h file which tries to #include some > libudbc.h file. Well, this last file is my problem, since I can't manage > to find it anywhere, neither on my system, or in this whole world too > !!! I've looked for it with any search engine I could imagine (Google, > Excite, Lycos, Astavista, Askjeeves); my work was in vain; the only > reasonable link to where I could find such a file was at OpenLink's SDK, > but since this monstrozity is commercial, it's out of the question for > me (and the odbc drivers for PostgreSQL or MySQL are at my side already > from other sources, so their drivers are useless for me, anyhow...). > So: where did you have in mind to take this file from, when you coded > this package ? > I've even tried to comment that include (in dbdodbc.h), but a lot of > other errors popped-up afterwards (since there are some define's and > function definitions in that file ...) > > Can you give me some clue (at least where to look from this point > further) ? > > Thanx. > > Best regards, > Cornel. > > P.S. Unfortunatelly, I'm just a beginner in Perl codding, thus I can't > handle 100% the Makefile.PL script ;(( > P.S. 2 : I can be reached at [EMAIL PROTECTED] too. > >
