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: etdrc at public dot bta dot net dot cn
Subject: install of sybperl_2b1
Date: Nov 16 1995 9:22AM

subscribe to 

Dear Mr. Anderson,
I have installed the perl5.001n although there were some problems produced. 
Now some problems were produced agian when I installed my sybperl 
(Sybperl_2b1) on my SUN SPARC 1000 of Solaris 2.3.
The perl5.001n was installed in /opt/{bin,lib.man}.
My CONFIG was :

        DBLIBVS=1000
        CTLIBVS=100
        SYBASE=/home1/sybase
        #LINKTYPE=static
        VERSION=2b1

No problem during running "perl Makefile.PL" , but "make"  was not passed. 
the message  during "make" was like this:

****************************************************************************
********
umask 0 && cp lib/sybutil.pl blib/sybutil.pl
umask 0 && cp CTlib.pm .././blib/Sybase/CTlib.pm
AutoSplitting Sybase::CTlib (.././blib/auto/Sybase/CTlib)
umask 0 && cp ctlib.pl .././blib/Sybase/ctlib.pl
/usr/bin/perl -I/opt/lib/perl5/sun4-solaris -I/opt/lib/perl5 
/opt/lib/perl5/ExtUtils/xsubpp -typemap
/opt/lib/perl5/ExtUtils/typemap CTlib.xs >CTlib.tc && mv CTlib.tc CTlib.c

Error: Cannot parse function definition from '}' in CTlib.xs, line 4834
*** Error code 1
make: Fatal error: Command failed for target `CTlib.c'

Current working directory /opt/Sybase/CTlib
umask 0 && cp DBlib.pm .././blib/Sybase/DBlib.pm
AutoSplitting Sybase::DBlib (.././blib/auto/Sybase/DBlib)
/usr/bin/perl -I/opt/lib/perl5/sun4-solaris -I/opt/lib/perl5 
/opt/lib/perl5/ExtUtils/xsubpp -typemap
/opt/lib/perl5/ExtUtils/typemap DBlib.xs >DBlib.tc && mv DBlib.tc DBlib.c
cc -c -O -DVERSION=\"2b1\" -Kpic -I/opt/lib/perl5/sun4-solaris/CORE 
-DDBLIBVS=1000 -
DSYBPLVER='"2b1"' -I/home1/sybase/include DBlib.c
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
LD_RUN_PATH="/home1/sybase/lib:-lsybdb:-lm" cc -o .././blib/sun4-
solaris/auto/Sybase/DBlib/DBlib.so -G -L/opt/gnu/lib DBlib.o   
-L/home1/sybase/lib -lsybdb -lm
chmod 755 .././blib/sun4-solaris/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs .././blib/sun4-solaris/auto/Sybase/DBlib/DBlib.bs
chmod 644 .././blib/sun4-solaris/auto/Sybase/DBlib/DBlib.bs
umask 0 && cp Sybperl.pm .././blib/Sybase/Sybperl.pm
AutoSplitting Sybase::Sybperl (.././blib/auto/Sybase/Sybperl)
umask 0 && cp sybperl.pl .././blib/Sybase/sybperl.pl

****************************************************************************
**************

and also with "make test " and "make install".
What is wrong with the "CTlib.xs"  or with my perl5.001n or with Sybperl_2b1 
or anything else? What should I do with it?
Thank you very much.
Waiting for your reply anxiously.

Your Sincerely,
Jiangyan LIN