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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Sybperl-2.07b install error
Date: Aug 25 1997 1:21PM

Sue S. Woodill wrote:
> 
> I am attempting to install sybperl-2.07b into a perl 5.004 environment on
> an IBM rs6000 running AIX 4.1.4 and Sybase 10.0.2.
> 
> The make test script returns the following error:
> 
> Your vendor has not defined Sybase::DBlib macro sql, used at t/bcp.t line
> 47 (ma
> in).
> Failed 1/1 test scripts, 0.00% okay. 7/9 subtests failed, 22.22% okay.
> make: 1254-004 The error code from the last command is 2.
> 
> Stop.
> make: 1254-004 The error code from the last command is 2.

This seems to be a good candidate for the FAQ...

Something is broken in the AutoLoader on AIX. The workaround is to
move the __END__ tokens in CTlib.pm and DBlib.pm to the very end of 
the files and things should work OK.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler