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: cathy_nooning at mercer dot com
Subject: Compiling sybperl
Date: Mar 7 1996 6:40PM

     
     Perl Version:  5.001
     SYBPERL VERS:  2.00
               OS:  hpux 9.04
     SYBASE VERS :  10.02
     OPEN CLIENT :  10
     
     My problem is that from  your README file, I realize that I am not on 
     hpux 10.0 and so I should use static (I did try dynamic, and it didn't 
     work either). 
     
     I fail on the make test step of your directions with the following 
     messages:
     
          ar cr /appls/perl/sybperl-2.0/blib/auto/Sybase/DBlib/DBlib.a 
     DBlib.o &&
     : /appls/perl/sybperl-2.0/blib/auto/Sybase/DBlib/DBlib.a
             cp DBlib.pm /appls/perl/sybperl-2.0/blib/Sybase/DBlib.pm
     AutoSplitting Sybase::DBlib 
     (/appls/perl/sybperl-2.0/blib/auto/Sybase/DBlib)
             cd Sybperl ; make all LINKTYPE=static
             cd CTlib && test -f Makefile && make test LINKTYPE=static
             /usr/local/bin/perl -I/appls/perl/sybperl-2.0/blib 
     -I/appls/perl/sybperl
     -2.0/blib -I/appls/perl/lib/perl5/hpux -I/appls/perl/lib/perl5 -e 'use 
     Test::Har
     ness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
     t/ctlib............./lib/dld.sl: Call to mmap() failed - TEXT 
     /sybase/lib/libins
     ck.sl
     /lib/dld.sl: Permission denied
     Can't load '/appls/perl/lib/perl5/hpux/auto/Sybase/CTlib/CTlib.sl' for 
     module Sy
     base::CTlib: Permission denied at /appls/perl/lib/perl5/DynaLoader.pm 
     line 128.
      
      at /appls/perl/sybperl-2.0/blib/Sybase/CTlib.pm line 810
     BEGIN failed--compilation aborted at t/ctlib.t line 8.
     FAILED on test 0
     Failed 1 test, 0.00% okay.
     Files=0,  Tests=0,  0 secs ( 0.26 cusr  0.07 csys =  0.33 cpu)
             cd DBlib && test -f Makefile && make test LINKTYPE=static
             /usr/local/bin/perl -I/appls/perl/sybperl-2.0/blib 
     -I/appls/perl/sybperl
     -2.0/blib -I/appls/perl/lib/perl5/hpux -I/appls/perl/lib/perl5 -e 'use 
     Test::Har
     ness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
     t/dblib.............ok
     All tests successful.
     Files=1,  Tests=16,  1 secs ( 0.29 cusr  0.09 csys =  0.38 cpu)
             cd Sybperl && test -f Makefile && make test LINKTYPE=static
             /usr/bin/perl -I/appls/perl/sybperl-2.0/blib 
     -I/appls/perl/sybperl-2.0/b
     lib -I/appls/perl/lib/perl5/hpux -I/appls/perl/lib/perl5 -e 'use 
     Test::Harness q
     w(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
     t/dbmoney...........Can't load module Sybase::DBlib, dynamic loading 
     not availab
     le in this perl at /appls/perl/sybperl-2.0/blib/Sybase/DBlib.pm line 
     97
     BEGIN failed--compilation aborted at 
     /appls/perl/sybperl-2.0/blib/Sybase/Sybperl
     .pm line 43.
     BEGIN failed--compilation aborted at 
     /appls/perl/sybperl-2.0/blib/sybperl.pl lin
     e 16.
     FAILED on test 1
     t/sybperl...........Can't load module Sybase::DBlib, dynamic loading 
     not availab
     le in this perl at /appls/perl/sybperl-2.0/blib/Sybase/DBlib.pm line 
     97
     BEGIN failed--compilation aborted at 
     /appls/perl/sybperl-2.0/blib/Sybase/Sybperl
     .pm line 43.
     BEGIN failed--compilation aborted at 
     /appls/perl/sybperl-2.0/blib/sybperl.pl lin
     e 16.
     FAILED on test 1
     Failed 2/2 tests, 0.00% okay.
     *** Error code 2
      
     Stop.
     *** Error code 1
      
     Stop.
     $
     
     Any advice would be appreciated, from your faq file I did try your 
     static test and it doesn't work, pretty much because a perl executable 
     doesn't exist in the DBlib and CTlib directories
     
     Thanks Cathy Nooning
      phone 502-561-7826
        fax 502-561-4600
            cathy_nooning_at_ldc1@mercer.com