in reply to perl-5.8.0 on Win32 with MinGW/dmake ... working around PL_memory_wrap issue

I really need to build using 5.8.0 to avoid binary-incompatibility issues

This sounds like an XY Problem. What are you trying to accomplish that binary compatibility is an issue for you?

Separately, it looks like your TEMP directory is pointing into your "C:\Documents and Settings". Building Perl involving directories with spaces in them could cause strange side effects due to poor command-line argument quoting. Try setting $ENV{TEMP} to "C:\temp" (and create that directory if it doesn't exist) and see if that helps.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re: perl-5.8.0 on Win32 with MinGW/dmake ... working around PL_memory_wrap issue

Replies are listed 'Best First'.
Re^2: perl-5.8.0 on Win32 with MinGW/dmake ... working around PL_memory_wrap issue
by syphilis (Archbishop) on Sep 05, 2006 at 23:40 UTC
    What are you trying to accomplish that binary compatibility is an issue for you?

    I'd like to build build a PDL-2.4.3 win32 binary that works on perl 5.8.0 to 5.8.8 (and provides additional functionality to the ppm packages provided by activestate and uwinnipeg). I built such a binary using perl 5.8.8, but it works only on 5.8.7 and 5.8.8 because PL_memory_wrap does not exist in pre-5.8.7 perls.

    The idea about spaces being the problem was worth a try ... but the problem persists. I think spaces are a problem only when the directory is specified as "C:\Documents and Settings\Rob\Local Settings\Temp" instead of "C:\DOCUME~1\Rob\LOCALS~1\Temp". (Note that the latter form doesn't contain any spaces.)

    I'm aware of the PAR issue that randyk mentioned. I don't think it will apply to what I'm trying to do ... I hope not. Anyway, looks like I'd better go the extra yards and build the binary using perl 5.8.0. If I can't build 5.8.0 myself with MinGW, then I'll just grab an ActiveState build of 5.8.0 and use it (with MinGW and ExtUtils::FakeConfig) to build the binary.

    Thanks guys.

    Cheers,
    Rob