|
|
sybperl-l Archive
Up Prev Next
From: Michael Burstin <mikeb at concerto dot com>
Subject: Re: sybperl 2.15 with ActiveState perl 5.8.0
Date: Aug 22 2003 12:24PM
I have already tested the sybperl portion. I was having issues
testing the Sybase::Simple module, however. Sybase::Simple requires
sybperl to be installed, and I could not get the software Edward sent
me to actually install (he just sent me .zip files compiled from the
source, and the box I used to test doesn't have any dev tools on them)
You would also need the MSVC 7.0 runtime modules... I don't know
where to get them, I had them on an MSDN CD.
On Thu, Aug 21, 2003 at 07:43:23AM -0400, Sabherwal, Balvinder (MBS) wrote:
> I'd be more than happy to do that test for the group. Let me know where can
> I get the ppm files to install.
>
> -----Original Message-----
> From: Michael Peppler [mailto:mpeppler@bluewin.ch]
> Sent: Wednesday, August 20, 2003 10:04 AM
> To: Sybperl-L Mailing List
> Subject: sybperl 2.15 with ActiveState perl 5.8.0
>
>
> Edward Haynes has figured out what needed to be fixed in the sybperl
> code to allow it to build against the current 5.8.0 release of
> ActiveState perl for Windows. His change is a simple one:
>
> In CTlib.pm and DBlib.pm the AUTOLOAD() subroutine needs to be modified
> like this:
>
> sub AUTOLOAD {
> my $constname;
> ($constname = $AUTOLOAD) =~ s/.*:://;
>
> # The second argument to constant() is never used...
> my $val = constant($constname, 0);
> # Ensure ActivePerl does not mishandle local $!
> local $! = 0; #### <-------- ADD THIS LINE
> if ($! != 0) {
> if ($! =~ /Invalid/) {
> $AutoLoader::AUTOLOAD = $AUTOLOAD;
> goto &AutoLoader::AUTOLOAD;
> }
> else {
> croak "Your vendor has not defined Sybase::CTlib macro
> $constname";
> }
> }
> eval "sub $AUTOLOAD { $val }";
> goto &$AUTOLOAD;
> }
>
> Edward used Visual C++ .NET to build sybperl, and will submit PPM files
> to ActiveState.
>
> His build uses the 11.1.1 OpenClient package because he's currently
> using an 11.9.2 ASE server.
>
> However, he's also built it with OC 12.5, and would be interested in
> getting in contact with someone who could run the tests against a 12.5
> server to make sure that everything works correctly. So if you have a
> Windows system with OC 12.5 installed and ActiveState perl (5.8.0) and
> would like to give this a try please contact Edward or myself (Edward is
> at edward.haynes@salotteries.sa.gov.au)
>
> Thanks.
>
> Michael
> --
> Michael Peppler Data Migrations, Inc.
> mpeppler@peppler.org http://www.mbay.net/~mpeppler
> Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
> long term contract positions - http://www.mbay.net/~mpeppler/resume.html
--
Michael Burstin
NPI Engineer
Concerto Software
978-952-0842
mikeb@concerto.com
|