# New Ticket Created by Andy Dougherty # Please include the string: [perl #66560] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66560 >
Trying a build with the rakudo "ins" branch today on OpenSolaris/x86 with Sun's compiler, I hit the following error: cd src/pmc && cc -c -I/export/home/doughera/src/parrot/rakudo-ins/parrot/install/include/1.2.0-devel -I/export/home/doughera/src/parrot/rakudo-ins/parrot/install/include/1.2.0-devel/pmc -D_REENTRANT -DPTR_IS_LONG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_FORMAT -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHAS_GETTEXT -KPIC -g -DHAVE_COMPUTED_GOTO *.c p6invocation.c: "./src/pmc/p6invocation.pmc", line 22: cannot find include file: "pmc_perl6multisub.h" cc: acomp failed for p6invocation.c gmake: *** [dynext/perl6_group.so] Error 1 What's happening is this: p6invocation.c starts like this (I've omitted irrelevant lines): #include "parrot/parrot.h" [ . . . ] #line 1 "./src/pmc/p6invocation.pmc" [ . . . ] #include "pmc_perl6multisub.h" The './src/pmc/' part of the #line directive is what is confusing Sun's compiler. It tries to #include "src/pmc/pmc_perl6multisub.h". However, since we are *in* the src/pmc directory already, that fails. Removing the './src/pmc/' part of the #line directive fixes it. -- Andy Dougherty dough...@lafayette.edu