[OT] Re: how to install DBI
On Tue, 25 Mar 2003 18:41:18 -0500, Scott R. Godin wrote: >Ron Savage wrote: Hi Scott >technically know about all the modules currently installed. I don't >suppose >you could provide a list of which modules inside found that >modulereport >didn't, on your system? Sure. Modules in inside (his) and not in module (yours). 'In' means 'reported by'. APR 0.01 APR::Base64 0.01 APR::Brigade 0.01 APR::Bucket 0.01 APR::Const 0.01 APR::Date 0.01 APR::NetLib 0.01 APR::OS 0.01 APR::Pool 0.01 APR::SockAddr 0.01 APR::Socket 0.01 APR::String 0.01 APR::Table 0.01 APR::ThreadMutex 0.01 APR::URI 0.01 APR::UUID 0.01 APR::Util 0.01 Apache::Access 0.01 Apache::Build 0.01 Apache::Const 0.01 Apache::Directive 0.01 Apache::FilterRec 0.01 Apache::HookRun 0.01 Apache::ParseSource 0.02 Apache::PerlSection 0.01 Apache::Process 0.01 Apache::RequestIO 0.01 Apache::RequestRec 0.01 Apache::RequestUtil 0.01 Apache::Response 0.01 Apache::ServerUtil 0.01 Apache::SubRequest 0.01 Apache::Test 0.01 Apache::TestTrace 0.01 Apache::TestUtil 0.01 Attribute::Handlers::demo::Demo 1.00 Attribute::Handlers::demo::Descriptions 1.00 Attribute::Handlers::demo::MyClass 1.00 Bundle::Apache2 1.00 Bundle::Apache::ASP 1.10 Bundle::Apache::ASP::Extra 1.02 Bundle::ApacheTest 0.01 Bundle::CPAN 1.58 Bundle::DBD::CSV 0.1016 Bundle::DBD::mysql 2.0416 Bundle::HTML::Mason 0.09 Bundle::LWP 1.09 Bundle::PlRPC 0.03 CGI::Apache 1.00 CGI::Switch 1.00 DB 1.0 DBI::Shell 11.91 DBIx::AdminEngine 1.00 DBIx::Config 1.00 Data::Grove 0.07 Deakin::Base 1.00 HTTP::Cookies::Netscape 1.01 MIDS::Application 1.00 MIDS::Create 1.00 MIDS::Database 1.00 ModPerl::Code 0.01 ModPerl::Const 0.01 ModPerl::Global 0.01 ModPerl::ParseSource 0.01 ModPerl::PerlRun 1.99 ModPerl::Registry 1.99 ModPerl::RegistryBB 1.99 ModPerl::RegistryCooker 1.99 ModPerl::Util 0.01 ModPerl::WrapXS 0.01 Sweep::Application 1.00 Sweep::Create 1.00 Sweep::Database 1.00 Sweep::Import 1.00 Term::ReadLine::readline 1.0203 Tk::Config 800.024 Tk::DragDrop::LocalDrop 3.005 Tk::LabRadio 3.009 Tk::Reindex 3.002 Tk::ReindexedROText 3.002 Tk::ReindexedText 3.002 Tk::TextList 3.002 VCS::CVS 2.02 XML::SAX::Exception 1.01 XSLoader 0.01 t::Basic 1.12 t::Engine 1.12 t::Lines 1.12 Modules in module and not in inside. Apache::test 0.01 Base 1.03 File::Stat 1.00 PerlIO::Scalar 0.01 PerlIO::Via 0.01 Pod::HTML 1.04 Pod::Latex 0.54 VCS::Cvs 2.02 uri 1.22 Note: Apache::Test and VCS::CVS mis-match on case, eg Apache::test. -- Cheers Ron Savage, [EMAIL PROTECTED] on 29/03/2003 http://savage.net.au/index.html
Re: how to install DBI
Ron Savage wrote: >>>The other thing is, Tom Phoenix's script (not module), inside, from >>>CPAN, finds quite a few other modules not found by your script. >> >>Oh? Such as? This method is similar to ones used as example material >>(but expanded upon) in CPAN.pm. I'd be surprised that it doesn't >>find all the installed modules. Perhaps this is a bug in CPAN.pm ? >> >>Do you have a URL for this script ? I'd like to see what it does and >>how. You say it's on CPAN? If so I can probably find it. > > http://search.cpan.org/author/PHOENIX/ > I'll take a look at it and test the results and report back to you on what's apparently going on here. Everything installed on my system perl-wise is either part of the redhat 8 distribution, or has been installed/updated via CPAN. so, CPAN should technically know about all the modules currently installed. I don't suppose you could provide a list of which modules inside found that modulereport didn't, on your system? Thanks for the heads-up. I'll let you know what I can find out.
Re: how to install DBI
On Tue, 25 Mar 2003 00:53:16 -0500, Scott R. Godin wrote: >Ron Savage wrote: Hi Scott >>On Sun, 23 Mar 2003 16:37:43 -0500, Scott R. Godin wrote: >>>Ron Savage wrote: >> >>Hi Scott >> >>>Yes, unfortunately there's no default $ENV{TEMP} on unix.. >>> >>>I've been considering using File::Temp, File::MkTemp, or IO::File >>>instead, >>>but just haven't gotten around to futzing with it. :-) >> >>OK >> >>>File::Spec would be the most portable way to specify the directory >>>path, but >>>that's as far as I've gotten. Originally I ported this from the >>>MacPerl >>>version I started playing with the idea on, and then added the unix >>>/tmp >>>conventions to make certain things easier for myself. >> >>OK. >> >>The other thing is, Tom Phoenix's script (not module), inside, from >>CPAN, finds quite a few other modules not found by your script. > >Oh? Such as? This method is similar to ones used as example material >(but >expanded upon) in CPAN.pm. I'd be surprised that it doesn't find all >the >installed modules. Perhaps this is a bug in CPAN.pm ? > >Do you have a URL for this script ? I'd like to see what it does and >how. >You say it's on CPAN? If so I can probably find it. http://search.cpan.org/author/PHOENIX/ -- Cheers Ron Savage, [EMAIL PROTECTED] on 25/03/2003 http://savage.net.au/index.html
Re: how to install DBI
Ron Savage wrote: > On Sun, 23 Mar 2003 16:37:43 -0500, Scott R. Godin wrote: >>Ron Savage wrote: > > Hi Scott > >>Yes, unfortunately there's no default $ENV{TEMP} on unix.. >> >>I've been considering using File::Temp, File::MkTemp, or IO::File >>instead, >>but just haven't gotten around to futzing with it. :-) > > OK > >>File::Spec would be the most portable way to specify the directory >>path, but >>that's as far as I've gotten. Originally I ported this from the >>MacPerl >>version I started playing with the idea on, and then added the unix >>/tmp >>conventions to make certain things easier for myself. > > OK. > > The other thing is, Tom Phoenix's script (not module), inside, from > CPAN, finds quite a few other modules not found by your script. Oh? Such as? This method is similar to ones used as example material (but expanded upon) in CPAN.pm. I'd be surprised that it doesn't find all the installed modules. Perhaps this is a bug in CPAN.pm ? Do you have a URL for this script ? I'd like to see what it does and how. You say it's on CPAN? If so I can probably find it.
Re: how to install DBI
On Sun, 23 Mar 2003 16:37:43 -0500, Scott R. Godin wrote: >Ron Savage wrote: Hi Scott >Yes, unfortunately there's no default $ENV{TEMP} on unix.. > >I've been considering using File::Temp, File::MkTemp, or IO::File >instead, >but just haven't gotten around to futzing with it. :-) OK >File::Spec would be the most portable way to specify the directory >path, but >that's as far as I've gotten. Originally I ported this from the >MacPerl >version I started playing with the idea on, and then added the unix >/tmp >conventions to make certain things easier for myself. OK. The other thing is, Tom Phoenix's script (not module), inside, from CPAN, finds quite a few other modules not found by your script. -- Cheers Ron Savage, [EMAIL PROTECTED] on 25/03/2003 http://savage.net.au/index.html
Re: how to install DBI
Ron Savage wrote: > On Sat, 08 Mar 2003 22:28:09 -0500, Scott R. Godin wrote: > > Hi Scott > >>I've written a very nice module-reporting script that helps me to >>stay on >>top of installed modules and easily see when they require updates >>from CPAN >>for bugfixes. >> >>http://www.webdragon.net/mr/ > > Great program! > > I made a small change to get it working under MS Windows: > --- modulereport.pl Sun Mar 23 18:57:36 2003 > +++ \scripts\bin\modulereport.plSun Mar 23 18:57:32 2003 > @@ -46,9 +46,8 @@ > ); > > my $storefile = File::Spec->catfile( > -File::Spec->rootdir(), > -'tmp', > -"$ENV{USER}_modules.stor" > +$ENV{'TEMP'}, > +"perl_modules.stor" > ); > > In other words: > o I don't have $USER defined > o I don't have /tmp > o File::Spec -> rootdir() leads to /C:/tmp/..., which doesn't work > Yes, unfortunately there's no default $ENV{TEMP} on unix.. I've been considering using File::Temp, File::MkTemp, or IO::File instead, but just haven't gotten around to futzing with it. :-) File::Spec would be the most portable way to specify the directory path, but that's as far as I've gotten. Originally I ported this from the MacPerl version I started playing with the idea on, and then added the unix /tmp conventions to make certain things easier for myself.
Re: how to install DBI
On Sat, 08 Mar 2003 22:28:09 -0500, Scott R. Godin wrote: Hi Scott >I've written a very nice module-reporting script that helps me to >stay on >top of installed modules and easily see when they require updates >from CPAN >for bugfixes. > >http://www.webdragon.net/mr/ Great program! I made a small change to get it working under MS Windows: --- modulereport.pl Sun Mar 23 18:57:36 2003 +++ \scripts\bin\modulereport.plSun Mar 23 18:57:32 2003 @@ -46,9 +46,8 @@ ); my $storefile = File::Spec->catfile( -File::Spec->rootdir(), -'tmp', -"$ENV{USER}_modules.stor" +$ENV{'TEMP'}, +"perl_modules.stor" ); In other words: o I don't have $USER defined o I don't have /tmp o File::Spec -> rootdir() leads to /C:/tmp/..., which doesn't work -- Cheers Ron Savage, [EMAIL PROTECTED] on 23/03/2003 http://savage.net.au/index.html
Re: how to install DBI
Mel Awaisi wrote: > Hi > > i am using Red Hat Linux 8 as a server for a project i am working on. > i have installed MySQL automatically with the install of the OS. and then > i installed Apache Server. > > i would like to install DBI in order for me to be able to use a script > that i have in perl to insert data into MySQL databse. > > What is the easiest and most understandable way to install it? > > Regards, > > Mel Two ways. Start with the DBI provided by Red Hat. (rpm -qa |grep perl) You will need the following: perl-5.8.0-55 perl-DBD-MySQL-2.1017-3 perl-DBI-1.30-1 You could also add: perl-DB_File-1.804-55 ...if you were interested in working with DB_File type databases as well. I'd also recommend installing: perl-CPAN-1.61-55 ...as then you can upgrade the installed modules to more recent counterparts install all of the above with the following (up2date -i perl-DBD-MySQL perl-DBI perl-DB_File perl-CPAN) { Additionally I'd recommend making sure you have all the mysql stuff installed.. (rpm -qa |grep -i mysql) should yield at least the following: mysql-3.23.54a-4 mysql-devel-3.23.54a-4 mysql-server-3.23.54a-4 } With CPAN installed, then you can do simple things like #> perl -MCPAN -e shell cpan> m DBI {results} cpan> install DBI {many results} cpan> m DBD::mysql {results} cpan> install DBD::mysql {many results} cpan> etc I've written a very nice module-reporting script that helps me to stay on top of installed modules and easily see when they require updates from CPAN for bugfixes. http://www.webdragon.net/mr/ perldoc CPAN for more info on the CPAN shell.
how to install DBI
Hi i am using Red Hat Linux 8 as a server for a project i am working on. i have installed MySQL automatically with the install of the OS. and then i installed Apache Server. i would like to install DBI in order for me to be able to use a script that i have in perl to insert data into MySQL databse. What is the easiest and most understandable way to install it? Regards, Mel _ Stay in touch with absent friends - get MSN Messenger http://messenger.msn.co.uk
RE: How to install DBI in Windows 2000
http://xmlproj.com/fom-serve/cache/13.html http://search.cpan.org/author/TIMB/DBI-1.32/ José. > -Original Message- > From: nick shen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 2:15 AM > To: [EMAIL PROTECTED] > Subject: How to install DBI in Windows 2000 > > > Hi > I want to use perl to connect Oracle DBI from my PC ( > windows 2000). > But I can't use it.I think it necessary to install DBI . > What kind of DBI modules I should have and Where can I > get these > modules( for windows 2000)? > your support would be highly appreciated. > > Best Regards, > Nick Shen > > DISCLAIMER "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer". Thank you for your cooperation. For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent.
How to install DBI in Windows 2000
Hi (BI want to use perl to connect Oracle DBI from my PC ( windows 2000). (BBut I can't use it.I think it necessary to install DBI . (BWhat kind of DBI modules I should have and Where can I get these (Bmodules( for windows 2000)? (Byour support would be highly appreciated. (B (BBest Regards, (BNick Shen
RE: How to install dbi/perl/ in AIX 5.1 to access MySQL?
Hello.You can find it at http://search.cpan.org and search for MySQL there. You can find pretty much any module for Perl here. -Original Message- From: Grace Tsai [mailto:gtsai@;bnl.gov] Sent: Wednesday, October 23, 2002 2:14 PM To: ODELL, TODD E (SWBT) Cc: [EMAIL PROTECTED] Subject: Re: How to install dbi/perl/ in AIX 5.1 to access MySQL? Hi, Todd, Thanks to your reply. But where can I download the DBD-MySQL package? --Grace "ODELL, TODD E (SWBT)" wrote: > Did you install the DBD-MySQL after the DBI install? You'd need to install > whatever DBD for db drivers you'd want to use through the DBI. > > -Original Message- > From: Grace Tsai [mailto:gtsai@;bnl.gov] > Sent: Wednesday, October 23, 2002 2:05 PM > To: [EMAIL PROTECTED] > Subject: How to install dbi/perl/ in AIX 5.1 to access MySQL? > > Hi, > > I got a brand new RS/6000 machine, I just installed the AIX 5.1, > and the two packages perl 5.6.1 and MySQL, both are > from AIX Toolbox. > > Now I need to install the DBI so I can use Perl to access the MySQL > database. I download DBI-1.30 from > > http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBI > > and following the instructions in the README file > perl Makefile.PL > make > make test > make install > > Then tried to access the MySQL by using a perl script which > runs in the other AIX machine without any problem. > I got the following errors after run: > install_driver(mysql) failed: Cant locate DBD/mysql.pm in @INC... > isstall_driver(mysql) failed: Cant locate loadable object for module > DBD_mysql in @INC > > It seems the DBD cant recognize the MySQL. > There is no file related with mysql in the directory .../DBD/ > Could you tell me what procedure I missed? How to relate the DBD > with mysql? > > Thanks. > > Grace
Re: How to install dbi/perl/ in AIX 5.1 to access MySQL?
Hi, Todd, Thanks to your reply. But where can I download the DBD-MySQL package? --Grace "ODELL, TODD E (SWBT)" wrote: > Did you install the DBD-MySQL after the DBI install? You'd need to install > whatever DBD for db drivers you'd want to use through the DBI. > > -Original Message- > From: Grace Tsai [mailto:gtsai@;bnl.gov] > Sent: Wednesday, October 23, 2002 2:05 PM > To: [EMAIL PROTECTED] > Subject: How to install dbi/perl/ in AIX 5.1 to access MySQL? > > Hi, > > I got a brand new RS/6000 machine, I just installed the AIX 5.1, > and the two packages perl 5.6.1 and MySQL, both are > from AIX Toolbox. > > Now I need to install the DBI so I can use Perl to access the MySQL > database. I download DBI-1.30 from > > http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBI > > and following the instructions in the README file > perl Makefile.PL > make > make test > make install > > Then tried to access the MySQL by using a perl script which > runs in the other AIX machine without any problem. > I got the following errors after run: > install_driver(mysql) failed: Cant locate DBD/mysql.pm in @INC... > isstall_driver(mysql) failed: Cant locate loadable object for module > DBD_mysql in @INC > > It seems the DBD cant recognize the MySQL. > There is no file related with mysql in the directory .../DBD/ > Could you tell me what procedure I missed? How to relate the DBD > with mysql? > > Thanks. > > Grace
RE: How to install dbi/perl/ in AIX 5.1 to access MySQL?
Did you install the DBD-MySQL after the DBI install? You'd need to install whatever DBD for db drivers you'd want to use through the DBI. -Original Message- From: Grace Tsai [mailto:gtsai@;bnl.gov] Sent: Wednesday, October 23, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: How to install dbi/perl/ in AIX 5.1 to access MySQL? Hi, I got a brand new RS/6000 machine, I just installed the AIX 5.1, and the two packages perl 5.6.1 and MySQL, both are from AIX Toolbox. Now I need to install the DBI so I can use Perl to access the MySQL database. I download DBI-1.30 from http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBI and following the instructions in the README file perl Makefile.PL make make test make install Then tried to access the MySQL by using a perl script which runs in the other AIX machine without any problem. I got the following errors after run: install_driver(mysql) failed: Cant locate DBD/mysql.pm in @INC... isstall_driver(mysql) failed: Cant locate loadable object for module DBD_mysql in @INC It seems the DBD cant recognize the MySQL. There is no file related with mysql in the directory .../DBD/ Could you tell me what procedure I missed? How to relate the DBD with mysql? Thanks. Grace
How to install dbi/perl/ in AIX 5.1 to access MySQL?
Hi, I got a brand new RS/6000 machine, I just installed the AIX 5.1, and the two packages perl 5.6.1 and MySQL, both are from AIX Toolbox. Now I need to install the DBI so I can use Perl to access the MySQL database. I download DBI-1.30 from http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBI and following the instructions in the README file perl Makefile.PL make make test make install Then tried to access the MySQL by using a perl script which runs in the other AIX machine without any problem. I got the following errors after run: install_driver(mysql) failed: Cant locate DBD/mysql.pm in @INC... isstall_driver(mysql) failed: Cant locate loadable object for module DBD_mysql in @INC It seems the DBD cant recognize the MySQL. There is no file related with mysql in the directory .../DBD/ Could you tell me what procedure I missed? How to relate the DBD with mysql? Thanks. Grace
RE: How to install DBI in Windows 2000
You should first have Perl installed (ActivePerl) preferably. Then use the ppm utility to install the modules. In command prompt... ppm install DBI and ppm install DBD::ODBC (You will also need DBD::ODBC to connect using ODBC) Ilya -Original Message- From: VincentLiang(???) To: [EMAIL PROTECTED] Sent: 4/4/02 2:29 AM Subject: How to install DBI in Windows 2000 Hi I want use perl to connect SQL server ( or Access) via DBI from my PC ( windows 2000). But I can't use it. I think it necessary to install DBI . Where can I get the DBI module( for windows 2000) , How to install it ? your support would be highly appreciated. Best Regards, Vincent Liang Tel: +886-6-270-8989 ex:6292 Fax:+886-6-270-9666 Email : [EMAIL PROTECTED]
How to install DBI in Windows 2000
Hi I want use perl to connect SQL server ( or Access) via DBI from my PC ( windows 2000). But I can't use it. I think it necessary to install DBI . Where can I get the DBI module( for windows 2000) , How to install it ? your support would be highly appreciated. Best Regards, Vincent Liang Tel: +886-6-270-8989 ex:6292 Fax:+886-6-270-9666 Email : [EMAIL PROTECTED]
how to install dbi
is there a good how-to on how to install mysql dbi and radiator ( or any radius software) i am having problems getting my radius software to use dbi, it isnt showing that dbi is installed. i am running red hat 7.2 are there any known problems with red hat 7.2 and DBI, im about to lose my mind over this problem, any help would be great.
Re: [netlabs #64] Re: How to install DBI for Oracle
On Thu, 1 Nov 2001, Ivan Kavuma wrote: > I am developing an Intranet for my company. We have an oracle > database version 8i running on another Linux machine. which I > want to use as a backborn. Please don't cc the list-owner on mails to the mailinglists. - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
RE: [netlabs #64] Re: How to install DBI for Oracle
Use ActivePerl from www.activestate.com. Use it's ppm utility to install modules (binaries). See docs for ppm. Ilya > -Original Message- > From: Ivan Kavuma [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 1:51 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [netlabs #64] Re: How to install DBI for Oracle > > > > I am developing an Intranet for my company. We have an oracle database > version 8i running on another Linux machine. which I want to use as a > backborn. > > I have tried to Install DBI on Windows NT Server using: > > perl Makefile.pl > > and I get an error: Can't locate loadable for modle DBI ...In DBI.pm. > line 189 When read the DBI at that line it tells me to install the DBI > properly using: > > perl Makefile.pl > > I have downloaded DBD-Oracle-1.07.tar.gz and DBI-1.20.tar.gz. All I > have done is to extract them but I do not know how to install them. > > Please help. > > Kavuma Ivan > > Systems Administrator. > > > > - > Do You Yahoo!? > Find a job, post your resume on Yahoo! Careers. >
[netlabs #64] Re: How to install DBI for Oracle
I am developing an Intranet for my company. We have an oracle database version 8i running on another Linux machine. which I want to use as a backborn. I have tried to Install DBI on Windows NT Server using: perl Makefile.pl and I get an error: Can't locate loadable for modle DBI ...In DBI.pm. line 189 When read the DBI at that line it tells me to install the DBI properly using: perl Makefile.pl I have downloaded DBD-Oracle-1.07.tar.gz and DBI-1.20.tar.gz. All I have done is to extract them but I do not know how to install them. Please help. Kavuma Ivan Systems Administrator. - Do You Yahoo!? Find a job, post your resume on Yahoo! Careers.
Thanks! I'll try everyones solutions after my vacation Leaving now for 1 week--How to install DBI on AIX; need DBDSybase and DBDOracle to wo rk
-Original Message- From: Curt Russell Crandall [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 2:14 PM To: Rice, Wayne R (Sybase) Cc: [EMAIL PROTECTED] Subject: RE: How to install DBI on AIX; need DBDSybase and DBDOracle to wo rk Maybe I've missed something... but I'd recommend not using a tarball directly and just use the CPAN module to install it: perl -MCPAN -e "install 'DBI'" perl -MCPAN -e "install 'DBD::Sybase'" perl -MCPAN -e "install 'DBD::Oracle'" assuming you have a standard setup on your box, you can probably just select the defaults for everything and let CPAN.pm do all the dirty work. This is pretty much the same way PPM works with ActiveState. HTH, Curt
RE: How to install DBI on AIX; need DBDSybase and DBDOracle to work
Maybe I've missed something... but I'd recommend not using a tarball directly and just use the CPAN module to install it: perl -MCPAN -e "install 'DBI'" perl -MCPAN -e "install 'DBD::Sybase'" perl -MCPAN -e "install 'DBD::Oracle'" assuming you have a standard setup on your box, you can probably just select the defaults for everything and let CPAN.pm do all the dirty work. This is pretty much the same way PPM works with ActiveState. HTH, Curt
RE: How to install DBI on AIX; need DBDSybase and DBDOracle to wo rk
I've been working with AIX, DBI and DBD::Oracle since 1998, I installed them with differents versions of AIX, Oracle, DBI, DBD::Oracle and C compilers and never had big problems. I recommend that you transfer the 'tarball' file to the AIX box and then unpack it. Some windows ftp clients don't care about uppercase and lowercase. Best regards, Marcelo "Rice, Wayne R (Sybase)"To: "'Michael Peppler'" <[EMAIL PROTECTED]>, "Rice, Wayne R .navy.mil> cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 17/08/2001"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 14:49 "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Please respond Subject: RE: How to install DBI on AIX; need DBDSybase and DBDOracle to "Rice, to wo rk Wayne R (Sybase)" Michael, To clear things up a little, I have my Sybase laptop with Windows 2000 which has Active State installed. I then used the PPM to install my DBI and Sybase and Oracle DBDs. This is one environment where things work ok. The other environement which is going to be the official production environment is UNIX AIX. I am having no success here. Now, you say to type perl Makefile.PL (noting caps). However, after expanding the file after the download, the file is all lowercase. The way I expand it is to use my NT 4.0 workstation using winzip. Then I ftp the files over to a unix folder where it is lowercase. Then I type 'perl makefile.pl'. Can I use winzip and ftp the files as I have? Where should I put the expanded files on my unix server? What authorization do I need to do the work (i.e. root level)? Concerning the PERL5LIB variable, it is not set... see below... ricew@spnode01> echo $PERL5LIB /u/ricew ricew@spnode01> Thanks, Wayne -Original Message- From: Michael Peppler [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 1:14 PM To: Rice, Wayne R (Sybase) Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: How to install DBI on AIX; need DBDSybase and DBDOracle to work Rice, Wayne R (Sybase) writes: > Anyone, > > I need to gain access to Oracle and Sybase on an AIX Unix system. I tried > perl makefile.pl; make; etc. to no avail. Please advise what steps do I > need to follow to get things to work on this platform. > > (Note: I am able to do everything I need to via ActivePerl DBI, DBDSybase > and DBDOracle. I used PPM to install the 1 DBI and 2 DBD packages) I'm a little confused here - are you using ActiveState on AIX, or are you saying that you successfully installed DBI/DBD::xxx on Win32 with ActiveState? Anyway - you first should run perl Makefile.PL (note caps) for DBI. If that fails there is no point in going any further - you first need to figure out why it fails. > ricew@spnode01> perl makefile.pl > Can't locate loadable object for module DBI in @INC (@INC contains: lib lib/dbi /u/ricew/Software/dbi-1.19 /u/ricew/Software/dbi-1.19/DBI /u/ricew/Software/dbi-1.19/DBDOracle /u/ricew/Software/dbi-1.19/DBDSybase /usr/opt/perl5/lib/5.00503/aix /usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .) at DBI.pm line 185 > BEGIN failed--compilation aborted at DBI.pm line 185. > BEGIN failed--compilation aborted at lib/DBI/DBD.pm line 1777. > BEGIN failed--compilation aborted at makefile.pl line 224. Do you have the PERL5LIB variable set to some weird value? Michael -- Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler [EMAIL PROTECTED] - [EMAIL PROTECTED] International Sybase User Group - http://www.isug.com
RE: How to install DBI on AIX; need DBDSybase and DBDOracle to work
Michael, To clear things up a little, I have my Sybase laptop with Windows 2000 which has Active State installed. I then used the PPM to install my DBI and Sybase and Oracle DBDs. This is one environment where things work ok. The other environement which is going to be the official production environment is UNIX AIX. I am having no success here. Now, you say to type perl Makefile.PL (noting caps). However, after expanding the file after the download, the file is all lowercase. The way I expand it is to use my NT 4.0 workstation using winzip. Then I ftp the files over to a unix folder where it is lowercase. Then I type 'perl makefile.pl'. Can I use winzip and ftp the files as I have? Where should I put the expanded files on my unix server? What authorization do I need to do the work (i.e. root level)? Concerning the PERL5LIB variable, it is not set... see below... ricew@spnode01> echo $PERL5LIB /u/ricew ricew@spnode01> Thanks, Wayne -Original Message- From: Michael Peppler [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 1:14 PM To: Rice, Wayne R (Sybase) Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: How to install DBI on AIX; need DBDSybase and DBDOracle to work Rice, Wayne R (Sybase) writes: > Anyone, > > I need to gain access to Oracle and Sybase on an AIX Unix system. I tried > perl makefile.pl; make; etc. to no avail. Please advise what steps do I > need to follow to get things to work on this platform. > > (Note: I am able to do everything I need to via ActivePerl DBI, DBDSybase > and DBDOracle. I used PPM to install the 1 DBI and 2 DBD packages) I'm a little confused here - are you using ActiveState on AIX, or are you saying that you successfully installed DBI/DBD::xxx on Win32 with ActiveState? Anyway - you first should run perl Makefile.PL (note caps) for DBI. If that fails there is no point in going any further - you first need to figure out why it fails. > ricew@spnode01> perl makefile.pl > Can't locate loadable object for module DBI in @INC (@INC contains: lib lib/dbi /u/ricew/Software/dbi-1.19 /u/ricew/Software/dbi-1.19/DBI /u/ricew/Software/dbi-1.19/DBDOracle /u/ricew/Software/dbi-1.19/DBDSybase /usr/opt/perl5/lib/5.00503/aix /usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .) at DBI.pm line 185 > BEGIN failed--compilation aborted at DBI.pm line 185. > BEGIN failed--compilation aborted at lib/DBI/DBD.pm line 1777. > BEGIN failed--compilation aborted at makefile.pl line 224. Do you have the PERL5LIB variable set to some weird value? Michael -- Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler [EMAIL PROTECTED] - [EMAIL PROTECTED] International Sybase User Group - http://www.isug.com
Re: How to install DBI on AIX; need DBDSybase and DBDOracle to work
Rice, Wayne R (Sybase) writes: > Anyone, > > I need to gain access to Oracle and Sybase on an AIX Unix system. I tried > perl makefile.pl; make; etc. to no avail. Please advise what steps do I > need to follow to get things to work on this platform. > > (Note: I am able to do everything I need to via ActivePerl DBI, DBDSybase > and DBDOracle. I used PPM to install the 1 DBI and 2 DBD packages) I'm a little confused here - are you using ActiveState on AIX, or are you saying that you successfully installed DBI/DBD::xxx on Win32 with ActiveState? Anyway - you first should run perl Makefile.PL (note caps) for DBI. If that fails there is no point in going any further - you first need to figure out why it fails. > ricew@spnode01> perl makefile.pl > Can't locate loadable object for module DBI in @INC (@INC contains: lib lib/dbi >/u/ricew/Software/dbi-1.19 /u/ricew/Software/dbi-1.19/DBI >/u/ricew/Software/dbi-1.19/DBDOracle /u/ricew/Software/dbi-1.19/DBDSybase >/usr/opt/perl5/lib/5.00503/aix /usr/opt/perl5/lib/5.00503 >/usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .) at >DBI.pm line 185 > BEGIN failed--compilation aborted at DBI.pm line 185. > BEGIN failed--compilation aborted at lib/DBI/DBD.pm line 1777. > BEGIN failed--compilation aborted at makefile.pl line 224. Do you have the PERL5LIB variable set to some weird value? Michael -- Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler [EMAIL PROTECTED] - [EMAIL PROTECTED] International Sybase User Group - http://www.isug.com
AM I GETTING TO THE USER GROUP??? -->How to install DBI on AIX; need DBDSybase and DBDOracle to work
-Original Message- From: Rice, Wayne R (Sybase) Sent: Thursday, August 16, 2001 1:56 PM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: How to install DBI on AIX; need DBDSybase and DBDOracle to work Anyone, (Eric of Sybase, can you help me/Wes with this?) This is my third attempt at getting a reply from the [EMAIL PROTECTED] group. PLEASE, ANYONE SAY SOMETHING SO I KNOW I'M GETTING THROUGH. I need to gain access to Oracle and Sybase on an AIX Unix system via trying to install DBI (non-ActiveStat DBI). I tried perl makefile.pl; make; etc. as the README suggested to no avail. Please advise what steps do I need to follow to get things to work on this platform. Wes Stephens, also in this email, will receive any mail in reply as I may be out some of next week so please reply to ALL. (Note: I am able to do everything I need to via ActivePerl DBI, DBDSybase and DBDOracle. I used PPM to install the 1 DBI and 2 DBD packages on NT for this and it all went smooth...) But getting DBI to work (makefile.pl, make, etc) has not been possible. Could someone reply from the user group so I know I'm getting through please... THANKS IN ADVANCE! Any help will be greatly appreciated!!! Here are the files requested per Mr. Bunce re the runtimes and perl -V environment ... Thank You, Wayne Rice Sybase, Inc.
How to install DBI on AIX; need DBDSybase and DBDOracle to work
Anyone, I need to gain access to Oracle and Sybase on an AIX Unix system. I tried perl makefile.pl; make; etc. to no avail. Please advise what steps do I need to follow to get things to work on this platform. (Note: I am able to do everything I need to via ActivePerl DBI, DBDSybase and DBDOracle. I used PPM to install the 1 DBI and 2 DBD packages) Any help will be greatly appreciated!!! Here are the files requested per Mr. Bunce re the runtimes and perl -V... Thank You, Wayne Rice Sybase, Inc. ricew@spnode01> perl makefile.pl Can't locate loadable object for module DBI in @INC (@INC contains: lib lib/dbi /u/ricew/Software/dbi-1.19 /u/ricew/Software/dbi-1.19/DBI /u/ricew/Software/dbi-1.19/DBDOracle /u/ricew/Software/dbi-1.19/DBDSybase /usr/opt/perl5/lib/5.00503/aix /usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .) at DBI.pm line 185 BEGIN failed--compilation aborted at DBI.pm line 185. BEGIN failed--compilation aborted at lib/DBI/DBD.pm line 1777. BEGIN failed--compilation aborted at makefile.pl line 224. /u/ricew/Software/DBI/dbi-1.19 ricew@spnode01> make make: make 1254-025 There must be an existing description file or specify a target. /u/ricew/Software/DBI/dbi-1.19 ricew@spnode01> make test make: 1254-002 Cannot find a rule to create target test from dependencies. Stop. /u/ricew/Software/DBI/dbi-1.19 ricew@spnode01> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=aix, osvers=4.3.3.0, archname=aix uname='aix funny 3 4 01716600 ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384' ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags ='-s' libpth=/lib /usr/lib /usr/ccs/lib libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lC_r libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp' cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc' Characteristics of this binary (from libperl): Built under aix Compiled at Aug 14 1999 08:59:55 @INC: /usr/opt/perl5/lib/5.00503/aix /usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .