At 3:53 PM +0200 10/3/04, Abe Timmerman wrote:
>Op een grimmige herfstdag (Sunday 03 October 2004 03:29),schreef Craig A.
>Berry:
> > >No change in the buildprocess with the newer mmk however :-(
>>
>> After installing a new MMK, did you do a C<MMK realclean> in the
>> ext/Encode directory before restarting the build?
>
>Build from a clean source-tree. Where do we go from here?
You can use MMK/DUMP and/or MMK/LOG to try to diagnose exactly what's
happening, but it must have something to do with an implicit
dependency getting missed when going from Encode.xs to Encode.c to
Encode.obj. I would try making the dependencies more explicit,
perhaps with a hack like the following to Encode's Makefile.PL.
--- Makefile.PL;-0 Thu Apr 24 15:24:20 2003
+++ Makefile.PL Sun Oct 3 12:02:36 2004
@@ -83,8 +83,9 @@
{
my $self = shift;
my $dir = $self->catdir($self->curdir,'ucm');
- my $str = "# Encode\$(OBJ_EXT) depends on .h and .exh files not .c files - but
all written by enc2xs\n";
+ my $str = "# In addition to Encode.c, Encode\$(OBJ_EXT) depends on .h and .exh
files written by enc2xs\n";
$str .= $^O eq 'MacOS' ? 'Encode.c.{$(MACPERL_BUILD_EXT_STATIC)}.o :' :
'Encode$(OBJ_EXT) :';
+ $str .= ' Encode.c';
foreach my $table (keys %tables)
{
$str .= " $table.c";
[end]
> > DISK$USER_2:[TIMMERMAN.KLAD.PERL-CURRENT.LIB.AUTO.FILTER.UTIL.CALL]
>>
> > That's 8 levels, which is the maximum allowed on OpenVMS VAX 7.2.
>I was affraid of that. CONFIGURE.COM is currently checking the depth of the
>source-tree directory and bails out if it is too deep. Should this
>max_allowed_dir_depth be set to 0 and hint for this rooted logical way.
I thought the level we had it at was ok, but perhaps something has
gotten deeper. Have you tried building one level higher? A hint
about the rooted logical solution is a good idea, though.
>Perhaps even set it automatically from DESCRIP.MMS?
Once MMK has started processing the Descrip.MMS, I don't think you
can change default directory in the main process (only in
subprocesses).
> > The typical way around this is to create a rooted logical name
>How can I set this rooted logical from perl?
There's an example in MakeMaker. See
http://www.makemaker.org/src/ExtUtils-MakeMaker-snap/t/lib/MakeMaker/Test/Setup/BFD.pm
and look for the _setup_bfd_test_root subroutine.
--
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser