Ticket #196 (closed bug: fixed)

Opened 13 years ago

Last modified 11 years ago

Configure failure in ActivePerl/MSVC

Reported by: allison Owned by:
Priority: normal Milestone:
Component: configure Version:
Severity: fatal Keywords:
Cc: jkeenan Language:
Patch status: Platform: win32

Description

When attempting to compile Parrot using ActivePerl 5.10.0 and MSVC9 (2008 Express Edition), I get the following error in the configure process:


inter::progs - Determine what C compiler and linker to use...

ccflags: -nologo -GF -W4 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DUSE_

SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC cl -nologo -GF -W4 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -I./include -c test_2852.c test_2852.c link -nologo -nodefaultlib -debug Files\ActivePerl\lib\CORE" -machine:x86 test_2852.obj -out:test_2852.exe kernel32.lib ws2_32.lib msvcrt.lib oldnames.lib

LINK : fatal error LNK1104: cannot open file 'Files\ActivePerl\lib\CORE -machine:x86 test_2852.obj -out:test_2852.exe kernel32.lib ws2_32.lib msvcrt.lib oldnames.lib' Compilation failed with 'cl'


Does anyone with more experience on the Windows platform, and particularly on compiling with ActivePerl have a suggestion on possible cause/solution?

Allison

Change History

  Changed 13 years ago by allison

  • cc jkeen@… added

This is the critical piece, in inter::progs, everything before it is successful:

link -nologo -nodefaultlib -debug Files\ActivePerl\lib\CORE" -machine:x86 test_2852.obj -out:test_2852.exe kernel32.lib ws2_32.lib msvcrt.lib oldnames.lib

Particularly, note that the reference to the CORE file has a truncated path. The real path is "D:\Program Files\ActivePerl\lib\CORE". Some other flags may also have been truncated (perhaps the flag that indicates what the CORE lib is actually supposed to be used for). The truncation at the space in "Program Files" makes me suspect that there's some part of the config system that's not properly handling spaces (expects spaces to only come between arguments, not be part of arguments).

Allison

follow-up: ↓ 3   Changed 11 years ago by jkeenan

  • cc jkeenan added; jkeen@… removed

Allison,

I know that we recently made some effort to get "spaces in paths" problems cleared up. Are you still experiencing this problem? If not, let's close the ticket.

Thank you very much.

kid51

in reply to: ↑ 2   Changed 11 years ago by jkeenan

  • status changed from new to closed
  • resolution set to fixed

Replying to jkeenan:

Allison, I know that we recently made some effort to get "spaces in paths" problems cleared up. Are you still experiencing this problem? If not, let's close the ticket.

No response in 4 months. Closing ticket.

Note: See TracTickets for help on using tickets.