Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Windows PDL complie issue

by hokie (Monk)
on Aug 18, 2005 at 14:24 UTC ( [id://484791]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^3: Windows PDL complie issue
by PodMaster (Abbot) on Aug 18, 2005 at 19:36 UTC
    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>

        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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found