|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Problems compiling sybperl 2.10 on Sol. 2.6/Perl 5.0005.02/Syb. 11.5.1
Date: Jan 13 1999 3:13PM
>>>>> "Greg" == Greg Earle writes:
Greg> Hi folks, I've been asked to upgrade our Perl version from 5.001
Greg> to 5.005.02, and also our SybPerl to 2.10.
Greg> I've already built Perl 5.005.02. Trying to make SybPerl 2.10,
Greg> I'm hitting a snag with CTlib.{xs,c}. I'm compiling with an
Greg> older (1994) version of the Sun unbundled SPARCompiler suite,
Greg> SPARCompiler C 3.0.1.
Greg> The line it objects to in both cases is
Greg> if((attr_ref != &PL_sv_undef)) {
Quick fix:
edit DB/CTlib.xs, and change all PL_xxxxxx symbols (should be PL_na
PL_sv_undef and PL_dirty) to xxxxxx (ie PL_na to na, PL_sv_undef to
sv_undef, etc).
And rebuild.
Alternatively download gcc and use that :-)
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@mbay.net -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|