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: Robb Canfield <robbc at canfield dot com>
Subject: Re: Making Sybperl on Redhat 5.0
Date: Mar 19 1998 5:58PM

I had a similar problem under RedHat 5.0 and after multiple installs it went
away. I attempted to reproduce my original problem and was unable to. I
my error was related to not setting each of the configuration items properly.
Sometimes I had the interfaces set right, and not DSQUERY, etc.  Also doing
make install seemed to help on the next install pass.

Make sure you are using the latest CTLIB and SybPerl modules

The following must all be set correctly:
CTLIB module:
  interfaces file in the CTLIB module (root of wherever CTLIb was placed)
  SYBPLATFORM=Linux in the environment - not everyone has needed to do this,
but I had to

SypPerl module
  Verify the following in CONFIG:
    SYBASE={root directory of CTLIB module, where the interfaces file is}
    Make the line "LINKTYPE=static" is not commented in the CONFIG file

  make sure DSQUERY is set properly in the environment
  do a perl Makefile.PL - do this any time the CONFIG file is changed
  do a make clean - just in case
  Follow the normal install instructions
  If the test fails - this is weird but it worked for me, I have not confirmed
that it is necessary
    make install
    make clean
    restart the install for SybPerl

I hope this helps

At 09:49 AM 3/19/98 -0500, you wrote: 
> Has anyone had success in making/porting Sybperl 2.09_02 under Linux Redhat
> 5.0 ? I am unable to successfully run make test (the t/ctlib test core
> dumps).
> Thanks Mike