AdminMisc 2003 source was the last release
When you look at that source you find a ppd file that references ppm packages built for perl-5.8 and earlier.
This is not much use if you have perl-5.16.
There's also a collection of headers, .cpp, and .c files - but no instructions that I could find as to how to build the damned thing. (Maybe I just didn't look hard enough.)
I seem to recall that the idea was that you could build this as an MSVC++ Project if you had a Microsoft compiler that was capable of doing that and if you knew how to build a "Project".
I have MSVC compilers that are "Project"-capable, but I don't know how to utilise that capability with this AdminMisc source - if, indeed, that is what one is supposed to do.
Furthermore, I have no interest in researching how to build this (or any other) "Project".
But if some knowledgeable person can provide a step-by-step account of how one can build this module from the given source (using either VC++ or MinGW) then I can probably provide ppm packages for it - and give it the availability it deserves.
Cheers, Rob | [reply] |
Hey Rob,
Not something i'm likely to dig into either, but it would be great if someone who spends more time on windows could take a look. In any case, there is an MS Developer Studio project file included in that zip (AdminMisc.dsp) that should have most of the build info in it.
| [reply] |
use ExtUtils::MakeMaker;
use Config;
$BORLAND = 1 if $Config{'cc'} =~ /^bcc32/i;
WriteMakefile(
'INC' => ($BORLAND ? '' : '-GX'),
'OBJECT' => 'Dns$(OBJ_EXT) AdminMisc$(OBJ_EXT)',
'NAME' => 'Win32::AdminMisc',
'VERSION_FROM' => 'AdminMisc.pm',
'XS' => { 'AdminMisc.xs' => 'AdminMisc.cpp' },
'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
);
sub MY::xs_c {
'
.xs.cpp:
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUB
+PPARGS) $*.xs >xstmp.c && $(MV) xstmp.c $*.cpp
';
}
| [reply] [d/l] [select] |
Just ran into a problem using this postamble in Win32-Daemon-20131206\Makefile.PL
It should be
sub MY::xs_c {
'
.xs.cpp:
$(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp.c && $(MV) x
+stmp.c $*.cpp
';
}
| [reply] [d/l] [select] |