matze77 has asked for the wisdom of the Perl Monks concerning the following question:

Hello!

I am on Strawberry Perl on Win32 V5.12.1 (5.10 was installed ealier).
I cant install new Modules:
The Download is ok, but it wont build the Module:
install Win32:NetAdmin: (last log lines in cpan shell)

NetAdmin.xs: In function 'XS_NT__NetAdmin_GetAliasFromRID': NetAdmin.xs:2042: error: 'STRLEN' undeclared (first use in this functi +on) NetAdmin.xs:2042: error: expected ';' before 'n_a' NetAdmin.xs:2043: error: 'n_a' undeclared (first use in this function) NetAdmin.xs:2043: error: 'XPV' has no member named 'xpv_cur' NetAdmin.xs:2043: error: too many arguments to function 'Perl_sv_2pv_f +lags' NetAdmin.xs:2044: error: 'XPVIV' has no member named 'xiv_u' NetAdmin.xs: In function 'XS_NT__NetAdmin_GetUserGroupFromRID': NetAdmin.xs:2089: error: 'STRLEN' undeclared (first use in this functi +on) NetAdmin.xs:2089: error: expected ';' before 'n_a' NetAdmin.xs:2090: error: 'n_a' undeclared (first use in this function) NetAdmin.xs:2090: error: 'XPV' has no member named 'xpv_cur' NetAdmin.xs:2090: error: too many arguments to function 'Perl_sv_2pv_f +lags' NetAdmin.xs:2091: error: 'XPVIV' has no member named 'xiv_u' NetAdmin.xs:2103: error: too many arguments to function '(*Perl_IMem_p +tr((struct PerlInterpreter *)Perl_get_context()))->pMalloc' dmake.EXE: Error code 129, while making 'NetAdmin.o' JDB/Win32-NetAdmin-0.11.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: JDB/Win32-NetAdmin-0.11.tar.gz : make NO

Someone got an Idea?
MH
  • Comment on CPan Problem: Make had returned bad status, install seems impossible
  • Download Code

Replies are listed 'Best First'.
Re: CPan Problem: Make had returned bad status, install seems impossible
by moritz (Cardinal) on Oct 20, 2010 at 11:03 UTC
    last log lines in cpan shell

    The first error messages (and a few lines before it) are much more interesting.

    Perl 6 - links to (nearly) everything that is Perl 6.
        re-run make (or nmake, or gmake or whatever comes with strawberry) and copy the start of the output. As I wrote, the first error is most interesting, and your output doesn't show that.
        Perl 6 - links to (nearly) everything that is Perl 6.
        The first few lines always look like
        perl Makefile.PL make

        ppm install Win32::NetAdmin