in reply to Re: Can't locate DBD/ODBC.pm in @INC
in thread Can't locate DBD/ODBC.pm in @INC

Some straight questions now

When I download the ODBC from CPAN and I then have to unzip the file, do I have to extract these files to the sam edirectory as my Perl source code?

If I don't then does it matter where I save it (I have a sneaking suspicion that it does)

I have already downloaded the ODBC and it is where it is supposed to be but I still get that error that it can't locate it:



 Can't locate DBD/ODBC.pm in @INC

Replies are listed 'Best First'.
Re: Re: Re: Can't locate DBD/ODBC.pm in @INC
by arturo (Vicar) on Mar 15, 2001 at 21:14 UTC

    Did you unzip and untar the package, and do the installation procedure outlined in the INSTALL file? ( typically perl Makefile.PL; make; make install?

    When you say the file is where it is supposed to be, there must be a ODBC.pm file in the DBD subdirectory of one of the @INC directories. Are you sure that's correct?

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: Re: Re: Can't locate DBD/ODBC.pm in @INC
by tame1 (Pilgrim) on Mar 15, 2001 at 21:16 UTC
    What is your OS? you downloaded a zip file? or was it a tar.gz file? For linux, etc. you use tar -xvzf filename to open the file.
    Then you should do this:

    perl Makefile.PL make make test make install

    in that order. If you are on Windows, I guess use the ppm system. I am not familiar enough with windows perl to help with that.

    What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"
      Sorry I did'nt state the obvious earlier -- :-)
      I'm using NT.
      I really appreciate the help folks
      Keep er coming.!.!

        Assuming, then, that you're running Activestate's Perl, have you run PPM -install DBD::ODBC

        and if you have, have you checked Activestate's site for support concerning the problem you're having?

        Philosophy can be made out of anything. Or less -- Jerry A. Fodor