perl DBI,DBD::ODBC installation help

perl DBI,DBD::ODBC installation help

am 07.03.2006 06:42:48 von rajesh

Dear folks,
I need to install DBI, DBD::ODBC
in my activestate perl through offline. that is I am not avail with
internet. only thing I can do is take files to home and install them.
Can any body help me a little in detail about what are the things to
download?, form where to download?, where to put them in my system, how
to install that midules?I badly need them for my program to run.

THanks in advance
Siva Rajesh

Re: perl DBI,DBD::ODBC installation help

am 07.03.2006 16:31:02 von unknown

rajesh wrote:

> Dear folks,
> I need to install DBI, DBD::ODBC
> in my activestate perl through offline. that is I am not avail with
> internet. only thing I can do is take files to home and install them.
> Can any body help me a little in detail about what are the things to
> download?, form where to download?, where to put them in my system, how
> to install that midules?I badly need them for my program to run.
>
> THanks in advance
> Siva Rajesh
>

Get the zip files appropriate to your Perl from http://ppm.activestate.com/

Create a directory somewhere on your target system, and expand the zip
files into that directory.

Tell ppm to install from that directory. I believe you can tell ppm that
that directory is a ppm repository, and maybe save some keystrokes on
the install.

If you're doing this to a bunch of machines, expand the files into a
directory on a server running some web server, make the directory
accessable through the web server, and tell ppm that the http: url of
your directory is a ppm repository.

Tom Wyant

Re: perl DBI,DBD::ODBC installation help

am 10.03.2006 10:58:18 von rajesh

Dear Tom,
I did the same as u told. I have downloaded DBI.zip
for perl 5.X version and decompressed into 'DBI' folder which has
readme, DBI.ppd, X86 files. I have opened comand prompt in this
directory and typed ' PPM install DBI'. It is saying "Error installing
package DBI: could notlocate a PPD file for package DBI " But as I saif
...ppd file was there. It is for 5.X versions only.

if I try typing ' PPM install DBI.ppd'. It is saying "Error read
DBI.ppd ., but it is not intended for this build of perl
". what my intention is, without being
online I want to install DBI module.

How to tell the PPM that this
particular directory is a ppm repository? How to tell the PPM that this
particular directory is a ppm repository?

Plz Hepl me out Tom
Thanks
Siva Rajesh


harryfmudd [AT] comcast [DOT] net wrote:
> rajesh wrote:
>
> > Dear folks,
> > I need to install DBI, DBD::ODBC
> > in my activestate perl through offline. that is I am not avail with
> > internet. only thing I can do is take files to home and install them.
> > Can any body help me a little in detail about what are the things to
> > download?, form where to download?, where to put them in my system, how
> > to install that midules?I badly need them for my program to run.
> >
> > THanks in advance
> > Siva Rajesh
> >
>
> Get the zip files appropriate to your Perl from http://ppm.activestate.com/
>
> Create a directory somewhere on your target system, and expand the zip
> files into that directory.
>
> Tell ppm to install from that directory. I believe you can tell ppm that
> that directory is a ppm repository, and maybe save some keystrokes on
> the install.
>
> If you're doing this to a bunch of machines, expand the files into a
> directory on a server running some web server, make the directory
> accessable through the web server, and tell ppm that the http: url of
> your directory is a ppm repository.
>
> Tom Wyant

Re: perl DBI,DBD::ODBC installation help

am 10.03.2006 17:39:21 von unknown

rajesh wrote:
> Dear Tom,
> I did the same as u told. I have downloaded DBI.zip
> for perl 5.X version and decompressed into 'DBI' folder which has
> readme, DBI.ppd, X86 files. I have opened comand prompt in this
> directory and typed ' PPM install DBI'. It is saying "Error installing
> package DBI: could notlocate a PPD file for package DBI " But as I saif
> ..ppd file was there. It is for 5.X versions only.
>
> if I try typing ' PPM install DBI.ppd'. It is saying "Error read
> DBI.ppd ., but it is not intended for this build of perl
> ". what my intention is, without being
> online I want to install DBI module.
>
> How to tell the PPM that this
> particular directory is a ppm repository? How to tell the PPM that this
> particular directory is a ppm repository?
>
> Plz Hepl me out Tom
> Thanks
> Siva Rajesh
>

It has been a while since I have done this, and I do not currently have
access to x86 machines. Your second attempt (ppm> install DBI.ppd)
sounds pretty close to what I remember working under ppm 2, though.

Are you _sure_ you got the package that corresponds to your version of
Perl? If you are, you may be able to force the installation by editing
the ppm file, but you're on your own for that, and I can't guarantee you
won't break something else.

Tom Wyant

Re: perl DBI,DBD::ODBC installation help

am 14.03.2006 12:47:46 von rajesh

Dear Tom,
Thanks a lot for ur effort. Finally I could do that
with the step by step guide below that I got from net. I have
downloaded the ppm modules and even Activestate Perl from the links
that has been given. I guesss the problem with my unfruitful attempt is
because of ppm version modules., even though I am sure that I have
taken ver 5 pp module for DBI it did not work.

Thanks a lot
Siva Rajesh

Step-by-step Installation Instructions:
1. Create a folder on your Windows PC named "C:\usr".
2. Connect to the Internet and start your browser.
3. Download a copy of ActiveState's ActivePerl build 600 series by
going to this link:
http://downloads.activestate.com/ActivePerl/Windows/5.6
/ActivePerl-5.6.1.635-MSWin32-x86.msi
Save the downloaded file on your hard disk in the C:\usr folder.
4. Download (and save in the C:\usr folder) the required PPMPackages
from ActiveState by going to these links:
http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/ DBI.zip
http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/ DBIx-XML_RDB.zip

http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/ DBD-Mysql.zip

http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/ DBD-ODBC.zip

5. Using Windows Explorer, go to the C:\usr folder. Install Active-
State's ActivePerl by double-clicking on the "ActivePerl-
5.6.1.635-MSWin32- x86.msi" file. When prompted, be sure to
change the default installation location: "C:\perl\" to "C:\usr\".
6. Double-click on each of the "zip" files to uncompress the
PPMPackages.
Extract the contents of each PPMPackage into your C:\usr folder.
7. Go to the MS-DOS Prompt.
8. Change directory (cd \usr) to get to your C:\usr folder.
9. Key in the following command:
"ppm install -location=. DBI" then press the Enter key.
10. Key in the following command:
"ppm install -location=. DBIx-XML_RDB" then press the Enter key.
11. Key in the following command:
"ppm install -location=. DBD-Mysql" then press the Enter key.
12. Key in the following command:
"ppm install -location=. DBD-ODBC" then press the Enter key.
13. Key in "exit" to close the MS-DOS window.
14. Your Perl installation is now complete. If you wish, you may now
remove the 5 files that were downloaded from ActiveState.

harryfmudd [AT] comcast [DOT] net wrote:
> rajesh wrote:
> > Dear Tom,
> > I did the same as u told. I have downloaded DBI.zip
> > for perl 5.X version and decompressed into 'DBI' folder which has
> > readme, DBI.ppd, X86 files. I have opened comand prompt in this
> > directory and typed ' PPM install DBI'. It is saying "Error installing
> > package DBI: could notlocate a PPD file for package DBI " But as I saif
> > ..ppd file was there. It is for 5.X versions only.
> >
> > if I try typing ' PPM install DBI.ppd'. It is saying "Error read
> > DBI.ppd ., but it is not intended for this build of perl
> > ". what my intention is, without being
> > online I want to install DBI module.
> >
> > How to tell the PPM that this
> > particular directory is a ppm repository? How to tell the PPM that this
> > particular directory is a ppm repository?
> >
> > Plz Hepl me out Tom
> > Thanks
> > Siva Rajesh
> >
>
> It has been a while since I have done this, and I do not currently have
> access to x86 machines. Your second attempt (ppm> install DBI.ppd)
> sounds pretty close to what I remember working under ppm 2, though.
>
> Are you _sure_ you got the package that corresponds to your version of
> Perl? If you are, you may be able to force the installation by editing
> the ppm file, but you're on your own for that, and I can't guarantee you
> won't break something else.
>
> Tom Wyant

Re: perl DBI,DBD::ODBC installation help

am 15.03.2006 02:08:30 von unknown

rajesh wrote:
> Dear Tom,
> Thanks a lot for ur effort. Finally I could do that
> with the step by step guide below that I got from net. I have
> downloaded the ppm modules and even Activestate Perl from the links
> that has been given. I guesss the problem with my unfruitful attempt is
> because of ppm version modules., even though I am sure that I have
> taken ver 5 pp module for DBI it did not work.
>
> Thanks a lot
> Siva Rajesh

You're welcome. Modules built for Perl 5.8 (= ActivePerl 8xx) _may_ not
work with Perl 5.6 (= ActivePerl 6xx), and vice versa. Make that _will_
not work if they require a "C" compiler.

Tom Wyant