http://qs321.pair.com?node_id=484947


in reply to Re^2: Windows PDL complie issue
in thread Windows PDL complie issue

There is plenty of space to fit those files in your post (update). Now, nothing looks out of the ordinary before the error, so finally I can get to it. The problem is the line
pptr+pdl->dimincs[pdl->ndims-1-plevel]* i * pdl_howbig(pdl->datatype)
And pptr is of type void*, a nonstandard feature that gcc allows, but apparently equivalent to
((char*)pptr)+pdl->dimincs[pdl->ndims-1-plevel]* i * pdl_howbig(pdl->d +atatype)
. Make sure to edit pdlcore.c.PL (it might not be a bad idea to alert the PDL folks).

While you're at it, you might need to add `echo exit 0 >pdl` unless -e 'pdl'; before exit in pdl.pl (man what a mess).

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^4: Windows PDL complie issue
by hokie (Monk) on Aug 19, 2005 at 14:27 UTC
    So I made the suggested edits to both pdlcore.c.PL and pdl.pl. And still no success. The make file looked the same but nmake failed on something different. The output is shown below (I will update he above post when I get a chance):

    I will also update the PDL people. Thanks for your help.
    -hokie

Re^4: Windows PDL complie issue
by Anonymous Monk on Apr 16, 2012 at 14:18 UTC

    Hi, is thi problem ever been resolved? I am very new to Perl and I am trying to install Spreadsheet module. I can't get over this problem.

    However I do not have this pdlcore.c.PL file at all.. Here's the output of my perl commands

    C:\Spreadsheet-ParseExcel-0.59>nmake realclean Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e rm_f -- +*.a core core.[0-9] core.[0-9][0-9] ParseExcel.bso blib\arch\auto\S +preadsheet\ParseExcel\extralibs.ld .ts MYMETA.json core.[0-9][0-9][0-9][0-9] MYMETA.yml ParseExcel.x +perl.exe tmon.out blib\arch\auto\Spreadsheet\ParseExcel\extralibs.al +l *.o pm_to_blib blibdirs.ts core. [0-9][0-9][0-9] *perl.core core.*perl.*.? Makefile.aperl ParseExcel. +def perl core.[0-9][0-9][0-9] mon.out libParseExcel.def perlmain.c + perl.exe so_locations ParseExcel.e C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e rm_rf -- + dll.exp dll.base blib C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e mv -- Mak +efile Makefile.old > NUL C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e rm_f -- +Makefile.old Makefile C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e rm_rf -- + Spreadsheet-ParseExcel-0.59 C:\Spreadsheet-ParseExcel-0.59>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Spreadsheet::ParseExcel Writing MYMETA.yml and MYMETA.json C:\Spreadsheet-ParseExcel-0.59>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. to undefined at C:/Dwimperl/perl/lib/ExtUtils/Install.pm line 1208 NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. C:\Spreadsheet-ParseExcel-0.59>

      You're using nmake but you should be using what is reported by perl -V:make which in case of dwimperl ought to be dmake.

      This thread is about the module PDL