in reply to Re^4: trying to build PAR-Packer-1.002
in thread trying to build PAR-Packer-1.002

Hi syphilis,

Thank you for your advice.

I tried 2) first, by doing:

ppm remove MinGW ppm remove dmake ppm install dmake ppm install MinGW
Unfortunately, that gave me the same result.

I then had a go at 1), again I removed MinGW and dmake to make it clean.

I had a look around on the mingwfiles area of sourceforge and found http://sourceforge.net/projects/mingw/files/GNU%20Binutils/binutils-2.20.1/binutils-2.20.1-2-mingw32-bin.tar.gz/download which I downloaded and extracted to C:/Perl/site/lib/auto/MinGW

I had a search for make and dmake in the resulting folders and sub-folders and cannot find either of them.

Please could you look at the binutils I tried and let me know of there is a different one I should be using.

Thanks again,

Richard.

Replies are listed 'Best First'.
Re^6: trying to build PAR-Packer-1.002
by syphilis (Archbishop) on Mar 18, 2010 at 11:04 UTC
    The idea of installing the latest binutils was just to update the "binutils" component of your MinGW compiler - since that seems to be the component that's making all the unwanted noise. Now that you've removed all of MinGW, you'll need to do more than just install the binutils package.

    Not to worry ... just run 'ppm remove MinGW' then 'ppm install MinGW' and then unpack binutils-2.20.1 to the C:/Perl/site/lib/auto/MinGW folder. That will overwrite the existing binutils-2.19.1 files with the binutils-2.20.1 files. Then see what happens ... I'm not all that confident it will solve the problem, but it's one thing to try.

    What version of perl are you running ? - the output of perl -v (that's lower case 'v') will tell us all we need to know. If you're using an older build of ActivePerl, there could be some bug there that's preventing the build. If you're running an older 5.8.x build of ActivePerl, you could try upgrading by installing build 827 over the top of it. For older 5.10.x builds, install build 1007 over the top.

    You should find a file named dmake.exe in both C:/Perl/site/bin and C:/Perl/site/lib/auto/dmake. If that's not the case then you need to ppm install it again. (You don't want 'make'.)

    Cheers,
    Rob
      Hi Rob,

      Thanks for your reply.

      I have removed and re-installed MinGW and then overwrote the C:/Perl/site/lib/auto/MinGW files with those in the binutils tar file. Unfortunately, this gave me the same result.

      I am running PERL v5.10.1 build 1007 [291969] provided by ActiveState

      I do have dmake.exe in those two locations, here are the file properties of it in those locations.:

      Directory of C:\Perl\site\bin 18/03/2010 15:01 24,576 dmake.exe Directory of C:\Perl\site\lib\auto\dmake 18/03/2010 15:00 155,648 dmake.exe

      Is there anything else you can suggest I look at please?

      Thanks, Richard.

        Sorry - I'm completely stumped.
        I guess it wouldn't hurt to check that your g++ is basically functional. Try building this script:
        // try.cpp // #include <iostream> int main(void) { printf("Hello World"); return 0; }
        Build by running 'g++ -o try.exe try.cpp'. Even if that *doesn't* work, I would be unsure what to make of it :-)
        Are there any other modules you've been unable to build because of similar errors ?

        Only other thing I can think of is to try posting to the PAR mailing list - perhaps someone there has come across this before and knows what's needed.

        Cheers,
        Rob