In a message dated 7/30/2003 11:36:53 AM Eastern Daylight Time, [EMAIL PROTECTED] 
writes:

> > I am having a problem trying to figure out how to 
> > integrate the perl interface into SAPDB.  I cannot find 
> > the required files (instperl.pl and two others which i cant 
> > remember off the top of my head, I got this info from the sapdb help menus).  
> > Does anyone know how/where to access these files, or if any additional 
> > files or commands are required to install perl?
> 
> If you want to execute SQL via Perl, follow the instructions at
> http://www.sapdb.org/7.4/sap_db_program.htm (Support for DBI).
> 
> If you want to use the interfaces to the DB Manager or the Loader, just add
> <dependent_path>/misc to $PERL5LIB. It is probable that the files from the 
> server installation don't match your Perl version. Just 
> write what platform
> and Perl you're using and I'll try to build them.
> 
> Daniel Dittmar

Hi, thanks for your reply!

I am using RedHat Linux version 8.0, and the Perl version I am currently using is 
5.6.1.  I looked at the page you sent me and tried doing the 'support for dbi'.  I 
installed the driver, did all the necessary work that was stated on the page, and am 
trying to execute a test file with the contents:
use DBI;

  $dbh = DBI->connect('dbi:ODBC:DSN', 'user', 'password');


I keep getting the following error:
Can't locate loadable object for module DBI in @INC (@INC contains: /root/perl /
usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6
.1/i586-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr
/lib/perl5/5.6.1/i586-linux/DBI.pm line 255
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/i586-linux/DBI.pm line
255.
Compilation failed in require at testdb.pl line 6.
BEGIN failed--compilation aborted at testdb.pl line 6.


I guess this might also have to do with the fact that the three relevant files that I 
stated in the other email are missing?  Any help with this would greatly be 
appreciated.  Thanks again for your help!

Sincerely,
J. Simoni
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to