blackadder has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I have been tryin to install DBD::Sybase module all day long to no avail.

I did do a search on PM and came acros "DBD::Sybase - I'm having trouble installing it". However I cannot connect to http://crazyinsomniac.perlmonk.org/perl/ppm/5.8/

Is there aproblem with thsi repository?can I try some where else? I am using PPM3 on WinXP running Perl5.8?

Thanks

Blackadder
Edit: fixed links (davorg)

Replies are listed 'Best First'.
Re: Installing DBD::Sybase.
by mpeppler (Vicar) on Jul 05, 2004 at 15:44 UTC
Re: Installing DBD::Sybase.
by PodMaster (Abbot) on Jul 05, 2004 at 15:47 UTC
    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.

      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\