Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Adminmisc & V5.16

by Anonymous Monk
on Nov 14, 2014 at 07:53 UTC ( [id://1107182]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Adminmisc & V5.16
in thread Adminmisc & V5.16

:)  [ddg://site:perlmonks.org roth.net Makefile.PL] site:perlmonks.org roth.net Makefile.PL -> Can't find packages for Strawberry Perl (e.g., Win32::AdminMisc, etc) -> Compiling Win32::AdminMisc on ActiveState 5.10 -> https://code.google.com/p/libwin32/source/browse/tags/libwin32/0.07/AdminMisc/Makefile.PL

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 '; }

Replies are listed 'Best First'.
Re^4: Adminmisc & V5.16 ( Win32-Daemon-20131206\Makefile.PL )
by Anonymous Monk on Oct 06, 2015 at 08:53 UTC
    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 '; }
      The problem was  Can't locate object method "new" via package "ExtUtils::ParseXS" at ....site\lib\ExtUtils\xsubpp line 50.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-16 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found