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: [Fwd: [Fwd: can't get through make test on sybperl 2.07]]
Date: Oct 21 1997 2:14PM

Below is a message I got from Matthew Temple who is having
problems building Sybase::CTlib on OSF 3.2.

The obvious problems seem to have been corrected, so I hope
someone on the list has built this on DEC OSF 3.2 and can maybe give
Matthew a hand...

Thanks,

Michael

> 
> Hello,
> 
>         I'm the system manager / computer facility director here.
> I've tried recompile according to your instructions.   DBlib compiles and
> tests correctly, but CTlib is / has remained the issue.   Here's a log of
> the last attempt (peculiar wrapping because of cut/paste, but I think
> it's all here:
> 
> bash# make
> gcc -c -I/usr/salt2/s2/syb110/include -DSTANDARD_C -I/usr/local/include
> -D__LANGUAGE_C__ -D_NO_PROTO -O     -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fpic
> -I/usr/local/lib/perl5/alpha-dec_osf/5.003/CORE -DCTLIBVS=100
> -DSYBPLVER='"2.07"' -DDO_TIE CTlib.c
> In file included from /usr/local/lib/perl5/alpha-dec_osf/5.003/CORE/perl.h:803,
>                  from CTlib.c:26:
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/math.h:106: warning:
> conflicting types for built-in function `cosf'
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/math.h:109: warning:
> conflicting types for built-in function `fabsf'
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/math.h:118: warning:
> conflicting types for built-in function `sinf'
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/math.h:120: warning:
> conflicting types for built-in function `sqrtf'
> Running Mkbootstrap for Sybase::CTlib ()
> chmod 644 CTlib.bs
> ar cr tmp.a CTlib.o
> : tmp.a
> LD_RUN_PATH="/usr/salt2/s2/syb110/lib:/usr/shlib" ld -o
> ...././blib/arch/auto/Sybase/CTlib/CTlib.so -L/usr/salt2/s2/syb110/lib
> -shared -expect_unresolved "*" -s -hidden -L/usr/local/lib -all tmp.a
> -none    -L/usr/salt2/s2/syb110/lib -lct -lcs -ltcl -lcomn -lintl -linsck
> -ldnet_stub -lsdna -lm
> 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
> bash# make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib
> -I/usr/local/lib/perl5/alpha-dec_osf/5.003 -I/usr/local/lib/perl5 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ctlib.............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so'
> for module Sybase::CTlib: dlopen: cannot load
> ...././blib/arch/auto/Sybase/CTlib/CTlib.so at
> /usr/local/lib/perl5/DynaLoader.pm line 140.
> 
>  at .././blib/lib/Sybase/CTlib.pm line 858
> BEGIN failed--compilation aborted at t/ctlib.t line 8.
> FAILED tests 1-30
>         Failed 30/30 tests, 0.00% okay
>         Test returned status 2 (wstat 512)
> t/cursor............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so'
> for module Sybase::CTlib: dlopen: cannot load
> ...././blib/arch/auto/Sybase/CTlib/CTlib.so at
> /usr/local/lib/perl5/DynaLoader.pm line 140.
> 
>  at .././blib/lib/Sybase/CTlib.pm line 858
> BEGIN failed--compilation aborted at t/cursor.t line 12.
> FAILED tests 1-22
>         Failed 22/22 tests, 0.00% okay
>         Test returned status 2 (wstat 512)
> Failed 2/2 test scripts, 0.00% okay. 52/52 subtests failed, 0.00% okay.
> 
> ==========================================================================
>         Matthew Temple                  Tel:    617/432-7696
>         HHMI /  Genetics                Fax:    617/432-7663
>         Harvard Medical School          Email:  Matthew_Temple@harvard.edu
>         200 Longwood Ave.
>         Boston, MA 02115                        IMAP LIVES!
> ==========================================================================
> 
> > >> Thanks for the suggestion.  We found that we had -lsnet_stub in EXTRALIBS,
> > >> but not -lsdna.  We added -lsdna and saw the flag used in the make messages.
> > >> We did rebuild from perl Makefile.PL.   However, when we tried the make test
> > >> we got another error (messages again appended below).   Again, if you have
> > >> any other ideas we can try out, we'd much appreciate learning them.
> > >
> > >
> > >
> > >Try this:
> > >
> > >Edit DBlib/Makefile, and remove -lsdna from the EXTRALIBS and LDLOADLIBS
> > >line, and then run make/make test again.
> > >

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