Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Problem with sybperl compile
Date: Oct 2 1998 12:19AM

Joe Marchak writes:
 > I'm very sorry to send this to you directly instead of to the sybperl
 > list.  For some reason unknown to me my mail gets bounced back from 
 > the sybperl list because
 >       "Your recent message to the SYBPERL-L list has been
 >        rejected for the following reason:  Only list 
 >        subscribers may send messages to this list."
 > This is very strange, since I have been getting the sybperl list since
 > I subscribed over a year ago.

My guess is that you are subscribed with a slightly different address
than the one you're sending from...

 >  Anyways, please forward this to the
 > list since I can't get through.  Thanks!
 > =======================================================================
 > I've had a bit of a problem compiling sybperl as follows:
 > Perl:     5005_02 (static compile w/o -ldb library flag)
 > Sybperl:  2.09_05 (static)
 > OS:       linux RH 5.1 (awesome)
 > SYBASE:   Sybase ASE for linux
 > -------
 > DBLIBVS=1000
 > CTLIBVS=100
 > SYBASE=/usr/local/sybase
 > EXTRA_LIBS=-linsck
 > LINKTYPE=static
 > make test:
 > ....
 > > make[1]: Leaving directory `/usr/local/sybperl'
 > > make[1]: Entering directory `/usr/local/sybperl/BCP'
 > > PERL_DL_NONLAZY=1 ./../perl -I../blib/arch -I../blib/lib
 > > -I/usr/local/lib/perl5/5.00502/i686-linux -I/usr/local/lib/perl5/5.00502
 > > -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
 > > @ARGV;' t/*.t
 > > t/bcp...............Can't call method "sql" on an undefined value at
 > > t/bcp.t line 47.

This is exceedingly strange, because Sybase::BCP is a pure perl module 
which runs on top of Sybase::DBlib. If Sybase::DBlib works there is no 
real reason why Sybase::BCP should fail...

Does Sybase::DBlib work correctly?

Michael Peppler         -||-  Data Migrations Inc.       -||-
Int. Sybase User Group  -||-