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

Re: compatibility question

Thread Next
From:
Peter Prymmer
Date:
July 9, 2001 18:03
Subject:
Re: compatibility question
Message ID:
Pine.OSF.4.10.10107091619360.86512-100000@aspara.forte.com

On Mon, 9 Jul 2001, Peter Prymmer wrote:

> I just ran @configure with perl@11238 ...

And the build dies with MMS V3.0-05, Compaq C V6.2-008 on OpenVMS Alpha
V7.1:

        Making SDBM_File (dynamic)
Writing Descrip.MMS for sdbm
Writing Descrip.MMS for SDBM_File
%MMS-W-MBREDEFILL, Illegal attempt to redefine macro FULL_AR.
%CREATE-I-EXISTS, [--.LIB.AUTO.SDBM_FILE] already exists
MCR dra3:[perl]miniperl.exe "-I[--.lib]" "-MExtUtils::Install" -e
"pm_to_blib({split(' ',<STDIN>)},'[--.lib.auto]','')" <.MM_tmp
cp sdbm_file.pm [--.lib]sdbm_file.pm
set def [.sdbm]
MMS all
%MMS-W-MBREDEFILL, Illegal attempt to redefine macro FULL_AR.
CC/DECC
/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_ALIA
S/Define=(SDBM,DUFF,"VERSION=""0.10""","XS_VERSION=""0.10""")/Include=([---],[--
-])/Optimize  SDBM.c
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Pref
ix=All/Obj=.obj/NoList/NOANSI_ALIA
S/Define=(SDBM,DUFF,"VERSION=""0.10""","XS_VERSION=""0.10""")/Include=([---],[--
-])/Optimize  PAIR.c
CC/DECC
/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_ALIA
S/Define=(SDBM,DUFF,"VERSION=""0.10""","XS_VERSION=""0.10""")/Include=([---],[---])/Optimize  HASH.c
If F$Search("LIBSDBM.OLB").eqs."" Then Library/Object/Create LIBSDBM.OLB
Library/Object/Replace LIBSDBM.OLB SDBM.OBJ, PAIR.OBJ, HASH.OBJ
%MMS-F-ABORT, For target [.SDBM]LIBSDBM.OLB, CLI returned abort status:%X10EE8140.
%MMS-F-ABORT, For target DYNEXT, CLI returned abort status: %X10EE8034.

This appears to be a failure to compile one of the two *.c files owing to
the warning about a redifinition of FULL_AR.  In SEARCHing through the
generated descrip.mms file in [.ext...] it would seem that the macro
appears twice (search is similar to grep on unix):

 $ search [.ext...]descrip.mms full_ar
 FULL_AR =
 FULL_AR =
[snip]

Which in turn appears to be due to a problem with auto-vivification
rearing its ugly head.  The following patch allows me to build perl@11238
with the stated OS, compiler, and make utilities (note to pumpking:
beware patch generated on VMS and may prove hard to apply):

--- lib/ExtUtils/MM_VMS.pm;1	Mon Jul  9 15:48:43 2001
+++ lib/ExtUtils/MM_VMS.pm	Mon Jul  9 17:32:39 2001
@@ -539,7 +539,7 @@
 	      PERL_ARCHLIB SITELIBEXP SITEARCHEXP LIBPERL_A MYEXTLIB
 	      FIRST_MAKEFILE MAKE_APERL_FILE PERLMAINCC PERL_SRC PERL_VMS
 	      PERL_INC PERL FULLPERL PERLRUN PERLRUNINST TEST_LIBS 
-	      FULL_AR PERL_CORE
+	      PERL_CORE
 	      / ) {
 	next unless defined $self->{$macro};
 	push @m, "$macro = $self->{$macro}\n";
End of Patch.

Peter Prymmer



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