Building Perl 5.005_03 on SCO OS 5.0.5 
Author Message
 Building Perl 5.005_03 on SCO OS 5.0.5

Hi,

This is my first time building perl so I apologize in advance for any
obvious gotchas I could fall into. And I would really appreciate any
suggestions.

I successfully  built perl using
  sh Configure -des 2>&1 | tee Configure.log
  make 2>&1 | tee make.log

  egrep -i 'warn|err' Configure.log make.log

didn't report anything suspicious, but the following tests failed:
  pragma/locale......FAILED at test 0
  lib/anydbm.........FAILED at test 0
  lib/ndbm...........FAILED at test 0
  lib/posix..........FAILED at test 0
  lib/sdbm...........Can't load '../lib/auto/SDBM_File/SDBM_File.so'
  for module SDBM_File: dynamic linker: ./perl: invalid relocation
  type 3 at 0x804cd2d4 at ../lib/DynaLoader.pm line 169.

The first 4 all silently core dump:
      test             line where dumps
  pragma/locale.t: require POSIX;
  lib/anydbm     : require AnyDBM_File;
  lib/ndbm.t     : require NDBM_File;
  lib/posix.t    : between last line of BEGIN block and the next line (use POSIX...)

I had pre-compiled perl 5.004_04 from SCUNKWARE CD installed. I've
de-installed it before running Configure.

The following patches are installed on the system: OSS497B, RS505A

-----------------------------------------------------------------
Here is what perbug had to say:
-----------------------------------------------------------------
Site configuration information for perl 5.00503:

Configured by root at Mon Dec  6 14:39:33 EST 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=sco, osvers=3.2v5.0.5, archname=i386-sco
    uname='sco_sv curly 3.2 5.0.5 i386 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O0', gccversion=
    cppflags='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf -I/usr/local/include'
    ccflags ='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib /usr/ccs/lib
    libs=-lintl -lsocket -lnsl -lndbm -ldbm -lld -lm -lc -lcrypt -lPW -lx
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Bexport -L/usr/local/lib'
    cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'

Locally applied patches:


    lib
    /var/sysadmin/src/perl/modules
    /usr/local/lib/perl5/5.00503/i386-sco
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i386-sco
    /usr/local/lib/perl5/site_perl/5.005
    .

---
Environment for perl 5.00503:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LC_ALL=C    # initially wasn't set; I set it after locale.t failed
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/bin:/etc:/usr/bin:/tcb/bin:/usr/local/bin:/var/sysadmin/bin:/usr/informix/bin
    PERL5LIB=/var/sysadmin/src/perl/modules
    PERL_BADLANG (unset)
    SHELL=/bin/ksh

----------------------------------------------------

Thank you,

Alex.
--------
Before the accident, I could not even spell UNIX



Wed, 18 Jun 1902 08:00:00 GMT  
 Building Perl 5.005_03 on SCO OS 5.0.5
I cheated when I put perl-5.005_03 on 5.0.5.
Maybe you shoulda done the same.

I ftp'd the file perl-5.005_03-VOLS-tar to /tmp/perl

Untarred the file.

Ran custom (root login)

Told custom I wanted to install new software and
where the software was.

Pressed enter.

Went and made a cup of tea.

Returned to my desk and the install was done.

No problem.

Funny thing though, my first ever perl install was just like yours
until oneday I found out there are 50 ways to do one action.

Ya's just gotta find the other 49.

RBA



Wed, 18 Jun 1902 08:00:00 GMT  
 Building Perl 5.005_03 on SCO OS 5.0.5

Quote:
> Hi,

> This is my first time building perl so I apologize in advance for any
> obvious gotchas I could fall into. And I would really appreciate any
> suggestions.

> I successfully  built perl using
>   sh Configure -des 2>&1 | tee Configure.log
>   make 2>&1 | tee make.log

>   egrep -i 'warn|err' Configure.log make.log

> didn't report anything suspicious, but the following tests failed:
>   pragma/locale......FAILED at test 0
>   lib/anydbm.........FAILED at test 0
>   lib/ndbm...........FAILED at test 0
>   lib/posix..........FAILED at test 0
>   lib/sdbm...........Can't load '../lib/auto/SDBM_File/SDBM_File.so'
>   for module SDBM_File: dynamic linker: ./perl: invalid relocation
>   type 3 at 0x804cd2d4 at ../lib/DynaLoader.pm line 169.

> The first 4 all silently core dump:
>       test             line where dumps
>   pragma/locale.t: require POSIX;
>   lib/anydbm     : require AnyDBM_File;
>   lib/ndbm.t     : require NDBM_File;
>   lib/posix.t    : between last line of BEGIN block and the next line (use POSIX...)

> I had pre-compiled perl 5.004_04 from SCUNKWARE CD installed. I've
> de-installed it before running Configure.

> The following patches are installed on the system: OSS497B, RS505A

If you are using the SCO Openserver Development Kit You will need to
apply OSS499A otherwise dynamic linked modules wont work properly ...

/J\
--
"The best thing for them to do is to stay at nil-nil until they score
the goal."
Martin O'Neill



Wed, 18 Jun 1902 08:00:00 GMT  
 Building Perl 5.005_03 on SCO OS 5.0.5


Quote:

[...]
> > I successfully  built perl using
[...]
> > didn't report anything suspicious, but the following tests failed:
> >   pragma/locale......FAILED at test 0
> >   lib/anydbm.........FAILED at test 0
> >   lib/ndbm...........FAILED at test 0
> >   lib/posix..........FAILED at test 0
> >   lib/sdbm...........Can't load '../lib/auto/SDBM_File/SDBM_File.so'
> >   for module SDBM_File: dynamic linker: ./perl: invalid relocation
> >   type 3 at 0x804cd2d4 at ../lib/DynaLoader.pm line 169.
[...]
> > The following patches are installed on the system: OSS497B, RS505A

> If you are using the SCO Openserver Development Kit You will need to
> apply OSS499A otherwise dynamic linked modules wont work properly ...

Thank you very much Jonathan!! This did the trick!

Alex.
--------
Before the accident, I could not even spell UNIX



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Perl, dynamic loading, SCO OS 5

2. Trouble building perl5.005_03 on SunOS 4.1.3

3. TK800.013 fails build under 5.005_03?

4. Building Perl 4.036 on SCO UNIX

5. Problem building Perl 4.036 on SCO 3.2

6. Built perl 4.003 on SCO Unix 3.2.0

7. Failures building 4.perl 036 on SCO 3.2 2

8. Perl build on SCO Openserver 5.0.5

9. Building perl 5.6 on SCO Openserver 5

10. Build Perl 5.003 on SCO 3.2v5.0

11. SCO Build/Runtime problems for Perl 5.002

12. Building Perl - SCO Unix

 

 
Powered by phpBB® Forum Software