Hi,

I have this in my makefile (generated for dmake, by running 'perl Makefile.PL'):

# --- MakeMaker processPL section:

all :: Core.xs
        $(NOECHO) $(NOOP)

Core.xs :: Core.xs.PL
        $(PERLRUNINST) Core.xs.PL Core.xs

all :: Types.pm
        $(NOECHO) $(NOOP)

Types.pm :: Types.pm.PL
        $(PERLRUNINST) Types.pm.PL Types.pm

all :: pdl.h
        $(NOECHO) $(NOOP)

pdl.h :: pdl.h.PL
        $(PERLRUNINST) pdl.h.PL pdl.h


Afaict, Core.xs.PL is not being run - no warnings, no error messages, no mention of 'Core.xs.PL' - it is just apparently being ignored.
'dmake' runs until it errors trying to link to Core.obj - which doesn't exist. I'm assuming that Core.obj doesn't exist simply because Core.xs didn't get generated in the first place. (Though with 'nmake' I get the impression that Core.xs doesn't get generated until 'nmake' realises that 'Core.obj' is needed ... but it's hard for me to work out just what's going on behind the scenes. I really don't know if this is a problem with the way dmake processes PL_FILES, or whether it's a problem with the xs_c and/or xs_o sections.)


No such problem however with the other files. They get run and do precisely what they should.

Core.xs.PL is syntactically correct. When I run 'perl Core.xs.PL' it does what it's supposed to do (ie Core.xs is generated correctly), but I'm totally at a loss to understand why it's not being run automatically.
Everything appears to me to be as it should in both the Makefile.PL and the Makefile (though that doesn't really mean much :-).


Any advice/clues on what to do, or where to look, to work out why it's being ignored ?
Does anyone know of anything that is likely to precipitate such behaviour ?


Is it just that it needs to be promoted up the order of doing things ? (If so - how to do that ?) It's something that can be done any time after the '.pm' files are copied into the blib.

Also - if I run 'perl Makefile.PL' followed by 'perl Core.xs.PL' and *then* run 'dmake', then it works fine - but I'd really like to get it working the way it should if I can.

Cheers,
Rob




Reply via email to