Martin Vorlaender wrote:

> Hi VMSperlers,
> 
> while trying to install XML::Parser (OpenVMS/VAX 6.2, Perl 5.005_03)
> I stumbled over the following bit:
> 
> The Makefile.PL for XML::Parser::Expat specifies
> 
> @expat_files = qw(expat/xmltok/xmltok.c expat/xmltok/xmlrole.c
>                   expat/xmlparse/xmlparse.c expat/xmlparse/hashtable.c);
> 
> WriteMakefile(
>               NAME      => 'XML::Parser::Expat',
>               C         => ['Expat.c', @expat_files],
>               OBJECT    => '$(O_FILES)',
>               ...
>              );
> 
> Out of this the following Descrip.MMS code is generated:
> 
> ...
> OBJECT = [.Expat_obj expat.xmltok.xmltok_obj expat.xmltok.xmlrole_obj
> expat.xmlparse.xmlparse_obj expat.xmlparse]hashtable.obj
> LDFROM = (same as OBJECT)
> ...
> C_FILES  = Expat.c [.expat.xmltok]xmltok.c [.expat.xmltok]xmlrole.c
> [.expat.xmlparse]xmlparse.c \
>         [.expat.xmlparse]hashtable.c
> O_FILES  = Expat.obj [.expat.xmltok]xmltok.obj [.expat.xmltok]xmlrole.obj
> [.expat.xmlparse]xmlparse.obj \
>         [.expat.xmlparse]hashtable.obj
> ...
> 
> (sorry for the long lines - it's not me that generates them ;-)
> 
> Bug or Feature? And if it's a Feature, how can I work around it? Must I
> really
> convert the OBJECT parameter to WriteMakefile to a VMS object files list
> myself?
> Thanks in advance for any hints.

I believe you've stumbled across a bug for which the fix has been
to upgrade your MakeMaker suite to use one that came with a later perl.
Perl 5.6.0 has been put on CPAN and you might consider upgrading to that
in its entirety.  If for some reason you cannot do the full upgrade then
consider taking the 5.6.0 versions of the [.EXTUTILS] files and the
MM_VMS.pm file and copying them into your 5.005_03 PERL_ROOT.

Peter Prymmer


Reply via email to