Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Windows PDL complie issue

by PodMaster (Abbot)
on Aug 18, 2005 at 08:27 UTC ( #484702=note: print w/ replies, xml ) Need Help??


in reply to Windows PDL complie issue

You need to 'nmake realclean' and then show everything from 'perl Makefile.PL' and 'nmake'.

You'll also want to get a newer version of nmake (6.00.9782.0), as you'll run into some trouble with that old version eventually.

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.


Comment on Re: Windows PDL complie issue
Re^2: Windows PDL complie issue
by hokie (Monk) on Aug 18, 2005 at 14:24 UTC
    I did as you suggested, minus getting a new version of nmake (couldn't find it for free) and the output of perl Makefile.PL is here. And the nmake output is here. These files were piped from the command prompt, so the parts at the end are what were not inserted into the prompt. It looks like the error is the same as before. Not sure where to go next...
    Thanks for your help

    -hokie

      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.

        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

        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>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-12-21 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls