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: "Marco A dot Hernandez" <marcoh at erols dot com>
Subject: Problems with make
Date: Mar 13 2001 4:53AM


I have an Compaq Alpha system (GS-140) running True64 Unix .. uname -a returns

    OSF1 V4.0 1229 alpha alpha

The output of perl -V is:

fourwinds 246% perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
    uname='osf1 v4.0 1229 alpha alpha '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=define use64bitall=define uselongdouble=undef usesocks=undef
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C'
    ccflags ='-std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=8, ptrsize=8, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /v
    libs=-lgdbm -ldbm -lm -liconv
    libc=/usr/shlib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-rpath,/usr/
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std -s 

Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under dec_osf
  Compiled at Mar 12 2001 23:02:18

I just updated perl on the this Alpha to bring perl up to the same version running on our SGI and Sun machines.  The Sybperl compile works fine but the make test fails ...

fourwinds 247% make test
make[1]: Entering directory `/build/sybperl-2.13/BCP'
make[1]: Leaving directory `/build/sybperl-2.13/BCP'
make[1]: Entering directory `/build/sybperl-2.13/CTlib'
make[1]: Leaving directory `/build/sybperl-2.13/CTlib'
make[1]: Entering directory `/build/sybperl-2.13/DBlib'
make[1]: Leaving directory `/build/sybperl-2.13/DBlib'
make[1]: Entering directory `/build/sybperl-2.13/Sybperl'
make[1]: Leaving directory `/build/sybperl-2.13/Sybperl'
make[1]: Entering directory `/build/sybperl-2.13/BCP'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch -I../blib/lib -I/usr/local/
lib/perl5/5.6.0/alpha-dec_osf -I/usr/local/lib/perl5/5.6.0 -e 'use Test::Harness
 qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............Can't load '../blib/arch/auto/Sybase/DBlib/' for mod
ule Sybase::DBlib: dlopen: cannot load ../blib/arch/auto/Sybase/DBlib/ a
t /usr/local/lib/perl5/5.6.0/alpha-dec_osf/ line 200.
 at ../blib/lib/Sybase/ line 278
Compilation failed in require at ../blib/lib/Sybase/ line 278.
BEGIN failed--compilation aborted at ../blib/lib/Sybase/ line 278.
Compilation failed in require at t/bcp.t line 14.
BEGIN failed--compilation aborted at t/bcp.t line 14.
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
t/bcp.t         255 65280     9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/build/sybperl-2.13/BCP'
make: *** [test] Error 2

The line it is complaining about is:

    use Sybase::DBlib qw(2.04);

My config is very vanilla ...  

trying both sybperl 2.13 and 2.12 with the same results.  This combination works w/o a hitch on Sun and SGI ...

Any pointers appreciated ...