At 2:47 PM -0700 5/19/00, Wikoff, Phil wrote:
>The build ends with this:
>
>MCR dsa112:[perl.perl-5_6_0]miniperl.exe "-I[---.lib]" "-I[---.lib]"
>[---.lib.Ex
>tUtils]xsubpp  -typemap [---.lib.ExtUtils]typemap GLOB.xs >GLOB.c
>Can't locate re.pm in @INC (@INC contains: ../../../lib/VMS_VAX ../../../lib
>../
>../../lib/VMS_VAX ../../../lib perl_root:[lib.VMS_VAX.5_6_0] perl_root:[lib]
>per
>l_root:[lib.site_perl.VMS_VAX] perl_root:[lib.site_perl]
>/perl_root/lib/site_per
>l .) at [---.lib.extutils]xsubpp line 273.

Well, [.ext.re] does not appear in your include directory list for
some reason.  A line like the following should be in your descrip.mms
in the main source directory:

XSUBPP = $(MINIPERL) "-I[.ext.re]" [.lib.extutils]xsubpp -noprototypes  

This is how it would get [.ext.re] into the include list.  However,
glob.xs is getting processed by [.ext.file.glob]descrip.mms which
instead says:

XSUBPP = $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(XSUBPPDIR)xsubpp

which translates to this from your log:

MCR dsa112:[perl.perl-5_6_0]miniperl.exe "-I[---.lib]" "-I[---.lib]" 
[---.lib.ExtUtils]xsubpp

The mystery is how this ever worked for anyone else since there seems
to be no way to pick up re.pm in its proper location.  You might try
the following completely untested patch, then regenerate the
descrip.mms for glob by running the makefile.pl in the
[.ext.file.glob] directory, then build the extension again.

--- lib/ExtUtils/MM_VMS.pm;-1   Mon Apr 17 17:18:35 2000
+++ lib/ExtUtils/MM_VMS.pm      Fri May 19 23:33:47 2000
@@ -899,7 +899,7 @@

     "
 XSUBPPDIR = $xsdir
-XSUBPP = \$(PERL) \"-I\$(PERL_ARCHLIB)\" \"-I\$(PERL_LIB)\" \$(XSUBPPDIR)xsubpp
+XSUBPP = \$(PERL) \"-IPERL_SRC:[EXT.RE]\" \"-I\$(PERL_ARCHLIB)\" \"-I\$(PERL_LIB)\" 
+\$(XSUBPPDIR)xsubpp
 XSPROTOARG = $self->{XSPROTOARG}
 XSUBPPDEPS = @tmdeps
 XSUBPPARGS = @tmargs
[End of not really a patch yet]
-- 
____________________________________________
Craig A. Berry                   
mailto:[EMAIL PROTECTED]

Reply via email to