Mailing List Archive

Problems installing v5.001n on AIX
Hello,

I have been unable to install your language on an Aix server. The version I have
was downloaded from Internet: v5.001 'patched' up to level n. The file was on
ftp.metronet.com, dir /pub/perl/source, filename perl5.001n.tar.gz

I hope you can help me. More information follows:

This is the error displayed by make: (Lines starting with a parenthesis "("
are output added by me, while trying to debug and locate the error)

--- make.out ---
AutoSplitting perl library

Making DynaLoader (static)
( cd ./perl5/perl5.001n/ext/DynaLoader )
( make_ext: make all LINKTYPE=static CCCDLFLAGS= LIBPERL_A=libperl.a )
../../miniperl "-I../../lib" "-I../../lib" -e 'use ExtUtils::MakeMaker qw(&mksymlists); \
&mksymlists(DL_FUNCS => "", DL_VARS => "", NAME => "DynaLoader")'
Can't bless non-reference value at ../../lib/ExtUtils/MakeMaker.pm line 619.
( original line # = 598 )

( parms: 'DL_FUNCS' '' 'DL_VARS' '' 'NAME' 'DynaLoader' 'DL_VARS' '' 'NAME' 'DynaLoader' )

( class = 'DL_FUNCS' self = '' )
The error code from the last failed command is 25.

Make Quitting.
The error code from the last failed command is 2.

Make Quitting.
--- make.out ---

This is the output from myconfig:

--- myconfig.out ---
# myconfig output:

Summary of my perl5 (patchlevel 1) configuration:
Platform:
osname=aix, osver=3.2.5, archname=aix
uname='aix prucl1 2 3 002012513800 '
hint=recommended
Compiler:
cc='cc', optimize='-O', ld='ld'
cppflags='-D_ALL_SOURCE'
ccflags ='-D_ALL_SOURCE'
ldflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=1, d_casti32=define, d_castneg=undef
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Libraries:
so=so
libpth=/lib /usr/lib /usr/ccs/lib
libs=-ldbm -lld -lm -lc -lbsd -lPW
libc=/usr/lib/libc.a
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef
cccdlflags='', ccdlflags='', lddlflags=''
--- myconfig.out ---

This is the part of the source code that gives the error. Dunno why :-)

--- makemakr.pm ---
# ./lib/ExtUtils/MakeMaker.pm

sub mksymlists {

# changes by Tomas Chan
printf "\n";
foreach (@_) {
printf STDOUT "'%s' ",$_ ;
}
# end changes by Tomas Chan

my $class = shift;
my $self = shift;

# changes by Tomas Chan
foreach (@_) {
printf STDOUT "'%s' ",$_ ;
}
printf STDOUT "\nclass = '%s' self = '%s'\n",$class,$self;
# end changes by Tomas Chan

bless $self, $class; # <======== original line # = 598
tie %att, ExtUtils::MakeMaker::TieAtt, $self;
$self->parse_args(@ARGV);
$self->mksymlists(@_);
}
--- makemakr.pm ---

I would be very grateful if you could help me, or give me some
light or any ideas on how to solve the problem.

Thank you very much in advance, and congratulations for your product.

Tomas Chan.
[Acked]
Re: Problems installing v5.001n on AIX [ In reply to ]
>>>>> "tomas" == Tomas Chan <75627.405@compuserve.com> writes:

tomas> Can't bless non-reference value at ../../lib/ExtUtils/MakeMaker.pm line 619.


This is fixed from MakeMaker 5.07 up. Please get sucha version from
CPAN. The current list of CPAN sites is available from
ftp://ftp.funet.fi/pub/languages/perl/CPAN/CPAN

andreas