in reply to Installing DBD::Sybase.

There is no problem with the repository. However, when you
rep add http://crazyinsomniac.perlmonk.org/perl/ppm/5.8
in ppm, be sure not to add a trailing slash to the url.

PPM::Repositories

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Installing DBD::Sybase.
by blackadder (Hermit) on Jul 06, 2004 at 09:56 UTC
    Hi, I have managed to install the package throught its PPM file,..Thanks

    However, when I run this script;
    use strict; use DBI; my $dsn = 'dbi:Sybase:LNQ_HYDRA_APPS'; my $user = 'hydra_analyst'; my $passwd = 'hydra_analyst'; my $dbh = DBI->connect($dsn, $user, $passwd);
    I get this error;
    U:\scripts>odbc_test1.pl DBI connect('LNQ_HYDRA_APPS','hydra_analyst',...) failed: OpenClient m +essage: LA YER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (3) Server LNQ_HYDRA_APPS, database Message String: ct_connect(): directory service layer: internal direct +ory contro l layer error: Requested server name not found. at U:\scripts\odbc_test1.pl line 6
    The parameters (i.e user name, password and database DSN name) are 100% correct! Any idea please why is this happening?

    Thanks indeed.

      It looks to me very much like there is some Sybase client configuration required - you will need to put the server in the SQL.ini file as described in the documentation

      /J\