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         
                    <RiceWR@navair        (Sybase)" <[EMAIL PROTECTED]>           
                             
                    .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




Reply via email to