This is a problem generated by EUMM changes that add a lot of quotes to address whitespace names problems. A work around is to add a line stripping the quotes before the @incs is set at the top of the Build.PL file:
# These are lifted from PDL::Core::Dev, but use a less redundant style: > my $inc = PDL_INCLUDE; > $inc =~ s/-I//g; > $inc =~ s/"//g; # this was added > my @incs = ($inc, @{$Prima::Config::Config{incpaths}}); > This fixes the breakage here but I'm not sure if it is ultimately correct. I'm hoping David pushes a new release soon since it is a huge pain for something that was very installable and reliable. Cheers, Chris On Mon, Jun 8, 2015 at 8:39 AM, <sisyph...@optusnet.com.au> wrote: > Hi, > Having upgraded PDL to 2.011 on my various Windows builds of perl, I now > wanted to rebuild PDL::Graphics::Prima to work with 2.011. > > However, the prerequisite PDL::Drawing::Prima (version 0.10) fails to > build. > > This is odd, as (IIRC) it built fine last time I built it (for 2.007). One > thing that has changed is that PDL has been upgraded to 2.011. > Could that be the problem ? (Instinctively, I say "no" - but I haven't > checked that properly.) > I've also upgraded Prima from 1.40 to 1.43, but when I re-installed > Prima-1.40, the problem still remained. > > OK ... so the error with (eg) perl-5.16 is: > > ###################################### > Building PDL-Drawing-Prima > gcc -c -I"C:\MinGW\perl516\site\lib\PDL\Core" > -I"C:\sisyphusion\Prima-1.43\include" > -I"C:\sisyphusion\Prima-1.43\include\generic" -s -O2 -DWIN32 > -DPERL_TEXTMODE_SCRIPTS > -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing > -mms-bitfields > -s -O2 "-DXS_VERSION=\"0.10\"" > "-DVERSION=\"0.10\"" -I"C:\Mingw\perl516\lib\CORE" -I"C:\MinGW\include" -o > "lib\PDL\Drawing\Prima.o" "lib\PDL\Drawing\Prima.c" > In file included from lib/PDL/Drawing/Prima.pm.PL:285:0: > C:\sisyphusion\Prima-1.43\include/apricot.h:43:28: fatal error: > generic/config.h: No such file or directory > compilation terminated. > error building dll file from 'lib\PDL\Drawing\Prima.c' at > C:/MinGW/perl516/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130. > ###################################### > > Sure, generic/config.h doesn't exist. But I don't think it would've existed > last time I successfully built PDL-Drawing-Prima-0.10, either. > Unfortunately, I don't have any helpful log of the build when it was > succeeding. > > Anyone got any advice on this ? > > It's obvious that either: > a) I need to avoid the inclusion of > C:\sisyphusion\Prima-1.43\include/apricot.h; > or > b) I need to dig up a "generic/config.h" from somewhere. > > Which is it ? > (I've looked at apricot.h and the inclusion of generic/config.h is > *unconditional*). > > I guess I can go digging, but it's really disconcerting me that I can't > even > answer the question "Why didn't this happen last time I built > PDL-Drawing-Prima-0.10 ?" > The build is actually scripted, so rebuilding PDL-Drawing-Prima-0.10 is > just > a matter of re-running the same script. This makes the failure even more > puzzling. I guess there could've been a change to the script, or something > else I've completely forgotten about. > > Cheers, > Rob > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > pdl-devel mailing list > pdl-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdl-devel >
------------------------------------------------------------------------------
_______________________________________________ pdl-devel mailing list pdl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-devel