Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at mbay dot net>
Subject: Re: Trying to install sybperl 2.08_51 on WinNT
Date: Dec 18 1997 5:30PM

Issac Levin wrote:
> Dear Sir/Madam,
> I am trying to install sybperl 2.08_51 on WinNT 4.0 service pack 3 using
> MSVC++ 5.0. Everything goes ok until I run 'nmake test' which gives the
> errors below. I have perl 5.004_02 and open client 10.0.3. Any help or
> hints would be greatly appreciated.

> t\bcp...............Name "Sybase::DBlib::Version" used only once: possible
> typo at c:\perl\lib/ line 172.

This is annoying, but not life-threatening :-).

You can add $Version = $Version and $SybperlVer = $SybperlVer
near the @EXPORT symbol in to fix it. It will be
fixed more professionally in 2.09.

> FAILED test 9
>      Failed 1/9 tests, 88.89% okay

I think this is a problem with Dos/Windows different view of
what a normal line ending should be.

Try this patch to

*** /tmp/geta5737	Thu Dec 18 09:26:36 1997
---	Thu Dec 18 09:25:48 1997
*** 444,449 ****
--- 444,450 ----
      if(!ref($infile)) {
          open(IN, $infile) || croak "Can't open file $infile: $!";
+ 	binmode(IN);
          $in_sub = \&_readln;
      } elsif(ref($infile) eq 'CODE') {
          $in_sub = $infile;

and let me know if it fixes the problem.

Michael Peppler       -||-  Data Migrations Inc.  -||-