Ramez,

In the future please send your questions to the mailing list. It has a much wider audience than my lonely ( and overly full ) mail box. My comments are in italics.

From the CPAN FAQ:


Where can I find Perl modules?


   * http://www.cpan.org/modules/00modlist.long.html
   * http://search.cpan.org/
   * http://kobesearch.cpan.org/

Due to the ever increasing number of modules on CPAN, the CPAN search engine is possibly a better starting point in your quest for code, especially if you already know exactly what you are looking for.

So jump out to one of these links and search up DBI and DBD::Sybase

------------------------------------------------------------------------


How do I install Perl modules?


Installing a new module can be as simple as typing perl -MCPAN -e 'install Chocolate::Belgian'. The CPAN.pm documentation <http://search.cpan.org/author/JHI/perl-5.8.0/lib/CPAN.pm> has more complete instructions on how to use this convenient tool. If you are uncomfortable with having something take that much control over your software installation, or it otherwise doesn't work for you, the perlmodinstall <http://search.cpan.org/author/JHI/perl-5.8.0/pod/perlmodinstall.pod> documentation covers module installation for UNIX, Windows and Macintosh in more familiar terms.

Finally, if you're using ActivePerl on Windows, the PPM <http://aspn.activestate.com/ASPN/Products/ActivePerl-5.6/faq/ActivePerl-faq2.html> (Perl Package Manager) has much of the same functionality as CPAN.pm.


Additionally, you will need a C compiler to build the DBD for Sybase. So in your case you want to "perl -MCPAN -e 'install DBI'" followed by "perl -MCPAN -e 'install DBD::Sybase'" . Another option for you is to get the source from one of the above links and then manually install it. Manual installation involves unzipping/untarring the source into some directory.


Assume you have unloaded DBI into \tmp\DBI
cd \tmp\DBI
perl Makefile.PL
make
make test
make install

If everything is setup correctly, ie. perl installed correctly, environment correct, etc. then you should have a working copy of DBI installed into your Perl lib. Installing DBD::Sybase is quite similar.

Regards,

Chuck

[EMAIL PROTECTED] wrote:

i have already Sybase  Open Client in my computer...
but what is the CPAN interface and where can i find it...


please can you tell me the way to install it in details


and thanks

----- Original Message -----
From: "Chuck Fox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 8:17 PM
Subject: Re: ActivePerl And Sybase




In addition to the DBD and DBI, you will also need to install Sybase
Open Client or FreeTDS.  In terms of installing perl, use the CPAN
interface to download and install.

Chuck

[EMAIL PROTECTED] wrote:



I have a WinXP OS and IIS http server.
I have download and install ActivePerl 5.8.

And I want To connect to Database In Sybase Server.

i read some notes and i figure that i should install DBI-1.38 then


DBD-Sybase-1.01


Is that right....

and how can i install it....
should i extract these two file into the perl directory(C:/Perl) or


what????















Reply via email to