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: "Sabherwal, Balvinder (MBS)" <Balvinder dot Sabherwal at mortgagefamily dot com>
Subject: Problem with compiling
Date: Apr 3 2002 3:13PM

I am trying to compile a perl /sybperl program and getting an error as
below, the perl script is working fine without compiling it and never gives
any error on the execution where as the perlcc is not able to locate the
CTlib.pm.


njsunwebdev /export/home/sabherb  > perlcc -prog x.pl

----------------------------------------------------------------------------
----
Compiling x.pl:
----------------------------------------------------------------------------
----
Making C(x.pl.c) for x.pl!
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris
-I/usr/local/lib/perl5/5.6.0
-I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
-I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I.
-MB::Stash -c  x.pl
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris
-I/usr/local/lib/perl5/5.6.0
-I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
-I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I.
-MO=C,-umain,-uattributes,-uDB x.pl
Can't locate Sybase/CTlib.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
x.pl line 2.
BEGIN failed--compilation aborted at x.pl line 2.
Starting compile
Walking tree
NULL::save for sv = 0 called from B::C::save_main
Prescan
Saving methods
Bootstrap attributes x.pl
Writing output
Loaded B
Loaded IO
Loaded Fcntl
ERROR: In generating code for x.pl!


I have also tried the -I option of the perlcc as

njsunwebdev /export/home/sabherb  > perlcc -I
"/usr/local/ActivePerl-5.6/lib/5.6.1/auto/Sybase/CTlib" -prog x.pl and this
also results in the same error as above.

Any hints/pointers to the resolution of this will be greatly appreciated.

Thanks

Balvinder K. Sabherwal
Sr. Sybase DBA (HA)
IT - Data Architect
Cendant Mortgage
856-917-9632 - (W)
Cell/Page Mail:8562960765@msg.myvzw.com