develooper Front page | perl.perl5.porters | Postings from August 2001

[ID 20010817.001] request help to build static Perl 5.6.1 on SCO5.0.4

Thread Next
From:
Chuck Barker
Date:
August 17, 2001 07:58
Subject:
[ID 20010817.001] request help to build static Perl 5.6.1 on SCO5.0.4
Message ID:
200108171459.f7HExR400401@dhcp26-135.hcssa.amedd.army.mil

We are trying to build a static Perl 5.6.1 on SCO Openserver 5.0.4.
Perl 'seems' to have been built correctly because we can run numerous
perl scripts successfully.
The manual configure and Make 'seem' to run OK.  However, minitest reports
a BEGIN compilation error when testing the IO module.
This is the first part of the error message:

->Can't load module IO, dynamic loading not available in this perl.
-> (You may need to bulild a new perl executable which either supports
-> dynamic loading or has the IO module statically linked into it.)
->at ../lib/IO/Handle.pm line 256
->Compilation failed in require at ../lib/IO/Handle.pm line 256.
->BEGIN failed -- compilation aborted at ../lib/IO/Handle.pm line 256.

The output of 'myconfig' follows...

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=sco, osvers=3.2v5.0.4, archname=i386-sco
    uname='sco_sv webtest 3.2 2 i386 '
    config_args='-Dcc=gcc'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -melf -fno-strict-aliasing -I/usr/local/include',
    optimize='-O2',
    cppflags='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -melf -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='sco3.2v5.0.5'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lintl -lsocket -lnsl -lndbm -ldbm -lmalloc -lld -lm -lc -lcrypt -lsec -lPW -lx
    perllibs=-lintl -lsocket -lnsl -lndbm -ldbm -lmalloc -lld -lm -lc -lcrypt -lsec -lPW -lx
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='-fpic', lddlflags=''

Why does 'minitest' fail the IO module and is there a correct way to
build a static Perl?

Your assistance is GREATLY appreciated!

Thanks,
Chuck Barker
charles.barker@amedd.army.mil


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About