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: "Tom Peterson" <tomp at sandmonk dot com>
Subject: make test failure on digital unix
Date: May 5 1999 3:02AM

Received: from mail.mbay.net (kiruna [192.168.0.2])
	by kiruna.peppler.org (8.9.1b+Sun/8.9.1) with ESMTP id UAA17203
	for ; Tue, 4 May 1999 20:05:27 -0700 (PDT)
Received: from mail.mbay.net
	by kiruna (fetchmail-4.3.0 POP3 run by mpeppler)
	for  (single-drop); Tue May  4 20:05:27 1999
Received: by otter (mbox mpeppler)
 (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue May  4 20:05:27 1999)
X-From_: tomp@sandmonk.com  Tue May  4 20:04:42 1999
Received: from bamboo.verinet.com (bamboo.verinet.com [204.144.246.5])
	by otter.mbay.net (8.9.3/8.8.8) with ESMTP id UAA16553
	for ; Tue, 4 May 1999 20:03:57 -0700
Received: from tpeterson ([206.168.247.147]) by bamboo.verinet.com (8.8.7/8.7.1) with SMTP id VAA27041; Tue, 4 May 1999 21:03:09 -0600
Message-ID: <001501be96a3$bc70d760$93f7a8ce@verinet.com>
From: "Tom Peterson" 
To: 
Cc: 
Subject: make test failure on digital unix
Date: Tue, 4 May 1999 21:02:38 -0600
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0011_01BE9671.70D17A80"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Content-Length: 7464
X-Filter: mailagent [version 3.0 PL63] for mpeppler@mbay.net

This is a multi-part message in MIME format.

------=_NextPart_000_0011_01BE9671.70D17A80
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0012_01BE9671.70D17A80"

------=_NextPart_001_0012_01BE9671.70D17A80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Michael-

I've been unable to build sybperl through a successful "make test".=20=20
If you have any suggestions or references, I would greatly appreciate the h=
elp.=20=20
Attached are the output of make and make test, and a CONFIG file.=20=20
I've tried sybperl versions 2.10 and 2.09 with the same results.  Also atte=
mpted were including both, either and none of the suggested OSF EXTRA_LIBS =
and tests with dynamic and static linktype.

Thank you.  Whether or not I'll be able to use sybperl on my platform, I gr=
eatly appreciate your work and your support.

-Tom Peterson
Sandmonk Corporation
Ft. Collins, Colorado

VERSION INFORMATION:

Digital Unix V4.0D (rev 878), Firmware rev 6.6
Sybase Adaptive Server 11.5.1
Open Client 11
Perl 5_03


------=_NextPart_001_0012_01BE9671.70D17A80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








Michael-
 
I've been unable to build sybperl through a successful = "make=20 test". 
If you have any suggestions or references, I would grea= tly=20 appreciate the help. 
Attached are the output of make and make test, and a CO= NFIG=20 file. 
I've tried sybperl versions 2.10 and 2.0= 9 with=20 the same results.  Also attempted were including both, either a= nd=20 none of the suggested OSF EXTRA_LIBS and tests with dynamic and static=20 linktype.
 
Thank you.  Whether or not I'll be able to use syb= perl on=20 my platform, I greatly appreciate your work and your support.
 
-Tom Peterson
Sandmonk Corporation
Ft. Collins, Colorado
 
VERSION INFORMATION:
 
Digital Unix V4.0D (rev 878), Fir= mware rev=20 6.6
Sybase Adaptive Server 11.5.1
Open Client 11
Perl 5_03
 
------=_NextPart_001_0012_01BE9671.70D17A80-- ------=_NextPart_000_0011_01BE9671.70D17A80 Content-Type: application/octet-stream; name="make.test.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make.test.out" Can't load '../blib/arch/auto/Sybase/DBlib/DBlib.so' for module Sybase::DBl= ib: dlopen: cannot load ../blib/arch/auto/Sybase/DBlib/DBlib.so at /usr/loc= al/lib/perl5/5.00503/alpha-dec_osf/DynaLoader.pm line 169. at ../blib/lib/Sybase/BCP.pdubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay Failed Test Status Wstat TotFailed 1/1 test scripts, 0.00% okay. 9/9 subte= sts failed, 0.00% okay. Stop. Stop. --------------------------- t/bcp.t 255 65280 9 9 100.00% 1-9 *** Exit 2*** Exit 1 ------=_NextPart_000_0011_01BE9671.70D17A80 Content-Type: application/octet-stream; name="make.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make.out" cc: Warning: DBlib.xs, line 4353: In this statement, the referenced type of= the pointer value "buf" is "char", which is not compatible with "unsigned = char". RETVAL =3D dbmoretext(dbproc, size, buf); -------------^ alpha-dec_osf/CORE -DCTLIBVS=3D100 -DSYBPLVER=3D'"2.10"' -DDO_TIE CTlib.c Running Mkbootstrap for Sybase::CTlib () chmod 644 CTlib.bs ar cr tmp.a CTlib.o : tmp.a LD_RUN_PATH=3D"/files/sybase/lib:/usr/shlib" ld -o ../blib/arch/auto/Sybase= /CTlib/CTlib.so -L/files/sybase/lib -shared -expect_unresolved "*" -O4 -ms= ym -s -L/usr/local/lib -all tmp.a -none -L/files/sybase/lib -lct -lcs -l= tcl -lcomn -lintl -ldnet_stub -lsdna -lm=20 chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs cc -c -I/files/sybase/include -std -fprm d -ieee -D_INTRINSICS -I/usr/local= /include -DLANGUAGE_C -O4 -DVERSION=3D\"2.10\" -DXS_VERSION=3D\"2.10\"= -I/usr/local/lib/perl5/5.00503/alpha-dec_osf/CORE -DDBLIBVS=3D1000 -DSYBP= LVER=3D'"2.10"' -DDO_TIE DBlib.c Running Mkbootstrap for Sybase::DBlib () chmod 644 DBlib.bs ar cr tmp.a DBlib.o : tmp.a LD_RUN_PATH=3D"/files/sybase/lib:/usr/shlib" ld -o ../blib/arch/auto/Sybase= /DBlib/DBlib.so -L/files/sybase/lib -shared -expect_unresolved "*" -O4 -ms= ym -s -L/usr/local/lib -all tmp.a -none -L/files/sybase/lib -lsybdb -ldn= et_stub -lm=20 chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs ------=_NextPart_000_0011_01BE9671.70D17A80 Content-Type: application/octet-stream; name="Config" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Config" # # Configuration file for Sybperl # # DBlibrary version. Set to 1000 (or higher) if you have System 10 # Set to 0 if you do not want to build DBlib or if DBlib is not available. DBLIBVS=3D1000 # 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=3D100 # Where is the Sybase directory on your system (include files & # libraries are expected to be found at SYBASE/include & SYBASE/lib SYBASE=3D/files/sybase # 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 # Linux needs -linsck # See the Sybase OpenClient Supplement for your OS/Hardware # combination. EXTRA_LIBS=3D-ldnet_stub -lsdna # Library directory. Under Windows/NT, if you are using the Borland # compilers, then uncomment the line below: # BORLAND_LIBS=3Dblib # Additional #defines. # With Perl 5.001m, you will need -DUNDEF_BUG. # With Perl 5.002, none are normally needed, but you may wish to # use -DDO_TIE to get the benefit of stricter checking on the # Sybase::DBlib and Sybase::CTlib attributes. # Use -DNCR_BUG if you are on NCR 3.0 and OpenClient 10.0.x EXTRA_DEFS=3D-DDO_TIE # LINKTYPE # If you wish to link Sybase::DBlib and/or Sybase::CTlib statically # into perl uncomment the line below and run the make normally. Then, # when you run 'make test' a new perl binary will be built. #LINKTYPE=3Dstatic ------=_NextPart_000_0011_01BE9671.70D17A80--