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: Dan Johansson <Dan dot Johansson at mrmusic dot de>
Subject: Re: Compiling SybPerl 2.09 on HP-UX 10.10
Date: Mar 6 1998 7:24AM

Michael Peppler wrote:
> Dan Johansson wrote:
> >
> > Hi,
> >
> > has anyone from You out there in SybPerl-land succeeded to
> > compile (and install) SybPerl 2.09 using the bundled CC on a HP9000/800
> > running HP-UX 10.10 with Perl 5.004_04?
> > If so - how?
> What sort of problems are you running into?

When I run the test I get the following result:

# make test
        rm -rf .././blib/arch/auto/Sybase/CTlib/CTlib.a
        ar cr .././blib/arch/auto/Sybase/CTlib/CTlib.a CTlib.o && : .././blib/arch/auto/Sybase/CTlib/CTlib.a
        chmod 755 .././blib/arch/auto/Sybase/CTlib/CTlib.a
Writing "Makefile.aperl" for this perl
Writing Makefile.aperl for Sybase
        make -f Makefile.aperl perl
Writing ./perlmain.c
        cd . && cc -c  -I/usr/contrib/lib/perl5/PA-RISC1.1/5.00404/CORE  -D_HPUX_SOURCE  \
           -DVERSION=\"2.09\" \
        -DXS_VERSION=\"2.09\" -I/usr/contrib/lib/perl5/PA-RISC1.1/5.00404/CORE perlmain.c
        cat /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/auto/DynaLoader/extralibs.ld >>
        cat /usr/contrib/src/sybperl-2.09/blib/arch/auto/Sybase/CTlib/extralibs.ld >>
        cat /usr/contrib/src/sybperl-2.09/blib/arch/auto/Sybase/DBlib/extralibs.ld >>
        cc -L/usr/local/lib -Wl,-E -o perl  ./perlmain.o  /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/CORE/libperl.a
b/perl5/PA-RISC1.1/5.00404/auto/DynaLoader/DynaLoader.a `cat ./blib/arch/auto/Sybase/extralibs.all` -lnet -lnsl_s
-ldld -lm -
lc -lndir -lcrypt 
To install the new "perl" binary, call
    make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
    make -f Makefile.aperl map_clean
        PERL_DL_NONLAZY=1 ./../perl -I.././blib/arch -I.././blib/lib -I/usr/contrib/lib/perl5/PA-RISC1.1/5.00404
perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
/usr/lib/ Call to mmap() failed - TEXT /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/auto/IO/
/usr/lib/ Permission denied
Can't load '/usr/contrib/lib/perl5/PA-RISC1.1/5.00404/auto/IO/' for module IO: Permission denied at
ISC1.1/5.00404/ line 166.

 at /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/IO/ line 248
BEGIN failed--compilation aborted at /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/IO/ line 50.
BEGIN failed--compilation aborted at /usr/contrib/lib/perl5/PA-RISC1.1/5.00404/IO/ line 111.
BEGIN failed--compilation aborted at /usr/contrib/lib/perl5/Test/ line 7.
BEGIN failed--compilation aborted at -e line 1.
*** Error exit code 13

*** Error exit code 1


Dan Johansson                     Tel   :+49-(0)89 / 74 11 46 25
Mr Music Production GmbH          Fax   :+49-(0)89 / 74 11 46 46
Fuerstenriederstr. 279a 
D-81377 Munich
Germany             *** Don't drink and root! ***
         This message is printed on 100% recycled electrons!