sybperl
view release on metacpan or search on metacpan
Ask for the PWD entries during the perl Makefile.PL phase.
Add Sybase::BLK module (based on Sybase::BCP) (*many* thanks to
Scott Zetlan for this!)
Bug Fixes
309 Sybase::BCP fails test if server is set to use
datarows locking by default.
2.13 Yet more bug fixes
Correct EMBED_SYBASE handling (bug in config.pl script).
Fix building for Sybase 12.0 (uses SYBASE_OCS environment
variable.)
Added dbretlen(), dbretname(), dbrettype() to DBlib.
Minor changes to support wide data in Sybase 12.5.
340: Sybase::BCP fails unless REORDER is defined.
342: DateTime calc method microseconds aren't.
2.12 More bug fixes
Better EMBED_SYBASE, thanks to Mike Hiller.
Added UseBix0x mode to CTlib.
269: dbsqlsend() missing from Sybperl.pm emulation layer.
315: -ldnet_stub directive in CONFIG ignored for OSF1/Tru64 Unix.
312: DBINTERRUPT misspelled in DBlib.xs.
2.11 Various bug fixes.
nsql() patch from W. Philipp Moore.
Added EMBED_SYBASE configuration variable.
dbreadtext() could cause a core dump if the internal call failed.
Figured out what was needed to get Sybase::DBlib to talk to an
MS-SQL 7 dataserver. Sybase::CTlib still does not work with the
normal, non-patched MS-SQL 7 server.
Fixed bug 261: Money/Numeric potentially lose precision in
Sybase::CTlib.
2.10_02
Fix incorrect dropping of locale structure in CTlib::DESTROY.
Link pod/sybperl.pod to CTlib/CTlib.pod and DBlib/DBlib.pod so
# CTlib version. Set to 0 if Client Library is not available on your
# system, or if you don't want to build the CTlib module. The Client
# Library started shipping with System 10.
# Set to 100 if you have OpenClient 10.x or later.
CTLIBVS=100
# Where is the Sybase directory on your system (include files &
# libraries are expected to be found at SYBASE/include & SYBASE/lib
SYBASE=/opt/sybase
# If EMBED_SYBASE is TRUE (1), then we add BEGIN { $ENV{SYBASE} = $SYBASE}
# at the top of both Sybase::DBlib and Sybase::CTlib. This ensures that
# the correct value for the SYBASE environment variable is always set.
# The downside is that if you install a new version of Sybase (OpenClient
# in particular) in a different location (say /opt/sybase/11.9.2 instead of
# /opt/sybase/11.5.1) then you need to rebuild sybperl with the new value -
# setting the SYBASE environment variable will have no effect.
EMBED_SYBASE = 0
# If EMBED_SYBASE is set, then if EMBED_SYBASE_USE_HOME is also set
# then, if the SYBASE env. variable is not set at run-time we look
# for the "sybase" user's home directory first, and then for the
# build-time Sybase directory.
EMBED_SYBASE_USE_HOME = 0
# Additional libraries.
# Some systems require -lnsl or -lBSD.
# Solaris 2.x needs -ltli
# DEC OSF/1 needs -ldnet_stub and may need -lsdna
# (Note: Under Dec 3.2 you need to *remove* -lsdna from the DBlib/Makefile
# for things to work. *sigh*)
# SunOS 4.x needs -linsck
# HP-UX 10.x needs -linsck
# AIX 3.2.5 needs -linsck
util/config.pl view on Meta::CPAN
scalar(@files);
}
sub putEnv {
my $sattr = shift;
my $data = shift;
my $replace = '';
if($$sattr{EMBED_SYBASE}) {
if($$sattr{EMBED_SYBASE_USE_HOME}) {
$replace = qq(
BEGIN {
if(!\$ENV{'SYBASE'}) {
if(\@_ = getpwnam("sybase")) {
\$ENV{'SYBASE'} = \$_[7];
} else {
\$ENV{'SYBASE'} = '$$sattr{SYBASE}';
}
}
}
( run in 1.999 second using v1.01-cache-2.11-cpan-71847e10f99 )