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: dedwards at isc dot nva dot ge dot com
Subject: Sybperl 2.0 Installation problems
Date: Jan 11 1996 1:05AM

Hello,

I've been following the list and the FAQ, and I haven't seen anyone with this problem before.  I'm running perl 5.001m, and I'm trying to compile Sybperl 2.0.  We have Sybase 10, although I'm clueless as to how to find out how to get more specific than that.  perl Makefile.PL goes fine, but when I do the make, I get this:

[ 202 ]% make
cd DBlib && make config INSTALLPRIVLIB="/product/perl/lib/perl5" INSTALLARCHLIB="/product/perl/lib/perl5/sun4-solaris" INSTALLBIN="/product/perl/bin" LIBPERL_A="libperl.a" LINKTYPE="dynamic" 
cd CTlib && make config INSTALLPRIVLIB="/product/perl/lib/perl5" INSTALLARCHLIB="/product/perl/lib/perl5/sun4-solaris" INSTALLBIN="/product/perl/bin" LIBPERL_A="libperl.a" LINKTYPE="dynamic" 
cd Sybperl && make config INSTALLPRIVLIB="/product/perl/lib/perl5" INSTALLARCHLIB="/product/perl/lib/perl5/sun4-solaris" INSTALLBIN="/product/perl/bin" LIBPERL_A="libperl.a" LINKTYPE="dynamic" 
cp lib/ctutil.pl blib/ctutil.pl
chmod 644 blib/ctutil.pl
cp lib/sql.pl blib/sql.pl
chmod 644 blib/sql.pl
cp lib/sybperl.pl blib/sybperl.pl
chmod 644 blib/sybperl.pl
cp lib/sybutil.pl blib/sybutil.pl
chmod 644 blib/sybutil.pl
cd DBlib && make all INSTALLPRIVLIB="/product/perl/lib/perl5" INSTALLARCHLIB="/product/perl/lib/perl5/sun4-solaris" INSTALLBIN="/product/perl/bin" LIBPERL_A="libperl.a" LINKTYPE="dynamic"
cd CTlib && make all INSTALLPRIVLIB="/product/perl/lib/perl5" INSTALLARCHLIB="/product/perl/lib/perl5/sun4-solaris" INSTALLBIN="/product/perl/bin" LIBPERL_A="libperl.a" LINKTYPE="dynamic"
gcc -c -O -fpic -I/product/perl/lib/perl5/sun4-solaris/CORE -DCTLIBVS=100 -DSYBPLVER='"2.0"' -DUNDEF_BUG -I/product/sybase10/include CTlib.c
CTlib.c: In function `constant':
CTlib.c:1494: parse error before `CS_VOID'
CTlib.c:1506: parse error before `CS_VOID'
CTlib.c:1682: parse error before `CS_VOID'
CTlib.c:1742: parse error before `CS_VOID'
CTlib.c:1766: parse error before `CS_VOID'
CTlib.c:3138: parse error before `CS_VOID'
CTlib.c:3150: parse error before `CS_VOID'
*** Error code 1
make: Fatal error: Command failed for target `CTlib.o'
Current working directory /net/user20/dedwards/Perl/sybperl-2.0/CTlib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

Am I doing something boneheaded?  

Thanks in advance.


Derek A. Edwards, Systems Engineer                          _______/|
Integrated Solutions Center          Phone:  (703) 264-6337       ' |7
Lockheed Martin Company              ASPEN:  (703) 264-6073       / |
10803 Parkridge Boulevard            FAX:  (703) 264-6371
Reston, Virginia  22091              dedwards@isc.nva.ge.com