Re: Adminmisc & V5.16
by Discipulus (Canon) on Nov 14, 2014 at 08:01 UTC
|
| [reply] [d/l] |
Re: Adminmisc & V5.16
by RonW (Parson) on Nov 14, 2014 at 00:11 UTC
|
| [reply] |
Re: Adminmisc & V5.16
by Loops (Curate) on Nov 14, 2014 at 00:37 UTC
|
You'll have to compile from source since packages don't seem to be available anywhere for v5.16. AdminMisc 2003 source was the last release.
| [reply] |
|
|
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] |
|
|
|
|
Re: Adminmisc & V5.16 ( Win32::AdminMisc
by Anonymous Monk on Nov 14, 2014 at 00:15 UTC
|
| [reply] |
Re: Adminmisc & V5.16
by Anonymous Monk on Nov 14, 2014 at 17:40 UTC
|
| [reply] |