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
Chuck Barker
August 17, 2001 07:58
[ID 20010817.001] request help to build static Perl 5.6.1 on SCO5.0.4
Message ID:

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/ line 256
->Compilation failed in require at ../lib/IO/ line 256.
->BEGIN failed -- compilation aborted at ../lib/IO/ line 256.

The output of 'myconfig' follows...

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
    osname=sco, osvers=3.2v5.0.4, archname=i386-sco
    uname='sco_sv webtest 3.2 2 i386 '
    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
    cc='gcc', ccflags ='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -melf -fno-strict-aliasing -I/usr/local/include',
    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!

Chuck Barker

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About