PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Anders Mohlin <Anders dot B dot Mohlin at era dot ericsson dot se>
Subject: Problems making Sybperl
Date: Aug 13 2001 11:53AM

Greetings PERL-gurus!

I am trying to make Sybperl 2.13 on a Sun workstation with Solaris 8 and
Sybase 12.0. The PERL version is 5.00305 and comes with Solaris 8

I have edited CONFIG to set the correct path to Sybase and to set
EXTRA_LIBS=-ltli

then I run perl Makefile.PL and after that make and the error messages
just keep coming:

lmeras38% make
Manifying ../blib/man3/Sybase::BCP.3
Skip ../blib/lib/Sybase/CTlib.pm (unchanged)
Skip ../blib/lib/Sybase/CTlib.pod (unchanged)
cc -c -I/opt/3pp/sybase/include  -xO3 -xdepend     -DVERSION=\"2.13\" 
-DXS_VERSION=\"2.13\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
-DCTLIBVS=100 -DSYBPLVER='"2.13"' -DDO_TIE CTlib.c
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: syntax error
before or at: Gcurinterp
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: warning:
old-style declaration or incorrect type for: Gcurinterp
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: syntax error
before or at: Gninterps
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: warning:
old-style declaration or incorrect type for: Gninterps
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 44: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 44: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 44: syntax error
before or at: Guid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 44: warning:
old-style declaration or incorrect type for: Guid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 45: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 45: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 45: syntax error
before or at: Geuid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 45: warning:
old-style declaration or incorrect type for: Geuid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 46: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 46: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 46: syntax error
before or at: Ggid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 46: warning:
old-style declaration or incorrect type for: Ggid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 47: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 47: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 47: syntax error
before or at: Gegid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 47: warning:
old-style declaration or incorrect type for: Gegid
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 48: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 48: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 48: syntax error
before or at: Gnomemok
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 48: warning:
old-style declaration or incorrect type for: Gnomemok
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 49: invalid
token: ##
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 49: undefined or
not a type: PL_
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 49: syntax error
before or at: Gan
"/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 49: warning:
old-style declaration or incorrect type for: Gan

and so on....
Looking at /usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h line 21 looks
like this:
PERLVAR(Gcurinterp,	PerlInterpreter *)

PERLVAR is defined in /usr/perl5/5.00503/sun4-solaris/CORE/perl.h  like
this
#define PERLVAR(var,type) EXT type PL_##var;
and assume the double hashes should have been substituted with something
at
some point during making. Because a type name with two hashes in it
could
never be accepted by the compiler, right?

What have I done wrong? I am a rookie in the Solaris environment. Please
help me

Thanks,
Anders Mohlin