|
|
sybperl-l Archive
Up Prev Next
From: "Mike Gross" <mgross at vivigy dot com>
Subject: Re: Making Sybperl on Redhat 5.0
Date: Mar 19 1998 11:19PM
Robb, Michael (or anyone else)
Can you provide a sample Sybase interfaces file (used under Redhat 5.0) ?
I'm not clear on what the format is. I'm currently getting the following
error (displayed using hard-coded debug in CTlib.c)
ct_connect: network packet layer: internal net library error:
specified server name attribute could not be found
After this error, the CTlib code CORE dumps in ct_client_msg.
I've tried what Robb and Michael listed in terms of configuration....but the
'make test' still fails with a core dump.
Thanks for your help....Mike
-----Original Message-----
From: Robb Canfield
To: SYBPERL-L@trln.lib.unc.edu
Date: Thursday, March 19, 1998 2:03 PM
Subject: Re: Making Sybperl on Redhat 5.0
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
suspect
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
the
make install seemed to help on the next install pass.
Make sure you are using the latest CTLIB and SybPerl modules
sybperl-2_09_02
ctlib-linux-elf-dynamic
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:
DBLIBVS=0
SYBASE={root directory of CTLIB module, where the interfaces file is}
EXTRA_LIBS=-linsck
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
|