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

Greetings,

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

    OSF1 fourwinds.us.schp.com 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:
  Platform:
    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
    uname='osf1 fourwinds.us.schp.com v4.0 1229 alpha alpha '
    config_args='-Ui_db'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=define use64bitall=define uselongdouble=undef usesocks=undef
  Compiler:
    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
=8
    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
ar/shlib
    libs=-lgdbm -ldbm -lm -liconv
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-rpath,/usr/
local/lib/perl5/5.6.0/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std -s 
-L/usr/local/lib'


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
  @INC:
    /usr/local/lib/perl5/5.6.0/alpha-dec_osf
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl

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/DBlib.so' for mod
ule Sybase::DBlib: dlopen: cannot load ../blib/arch/auto/Sybase/DBlib/DBlib.so a
t /usr/local/lib/perl5/5.6.0/alpha-dec_osf/DynaLoader.pm line 200.
 at ../blib/lib/Sybase/BCP.pm line 278
Compilation failed in require at ../blib/lib/Sybase/BCP.pm line 278.
BEGIN failed--compilation aborted at ../blib/lib/Sybase/BCP.pm line 278.
Compilation failed in require at t/bcp.t line 14.
BEGIN failed--compilation aborted at t/bcp.t line 14.
t/bcp...............dubious                                                  
        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 ...


Cheers,

Marco