Thu Nov 15 20:53:44 2012: Request 81172 was acted upon.
Transaction: Correspondence added by SISYPHUS
       Queue: Inline
     Subject: using Inline with => 'Event' fails to compile
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: peter.smoczyn...@i-new.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81172 >


On Thu Nov 15 06:57:05 2012, peter.smoczyn...@i-new.com wrote:
> Hi Rob!
> 
> here is the BUILD_NOISY output on version 0.48:
> 
> Sun-A3 root 261/0 (~/peter/inline_fails_to_compile)# la
> total 4
> -rw-r--r--   1 root     root         529 Nov 14 17:05 compile_test_1.t
> -rw-r--r--   1 root     root         581 Nov 15 10:47 compile_test_2.t
> Sun-A3 root 262/0 (~/peter/inline_fails_to_compile)# 
> /opt/perl5.12.2.debug/bin/perl compile_test_2.t
> Starting Build Preprocess Stage
> Finished Build Preprocess Stage
> 
> Starting Build Parse Stage
> Finished Build Parse Stage
> 
> Starting Build Glue 1 Stage
> Finished Build Glue 1 Stage
> 
> Starting Build Glue 2 Stage
> Finished Build Glue 2 Stage
> 
> Starting Build Glue 3 Stage
> Finished Build Glue 3 Stage
> 
> Starting Build Compile Stage
>    Starting "perl Makefile.PL" Stage
> Writing Makefile for compile_test_2_t_a7b1
>    Finished "perl Makefile.PL" Stage
> 
>    Starting "make" Stage
> /opt/perl5.12.2.debug/bin/perl 
> /opt/perl5.12.2.debug/lib/5.12.2/ExtUtils/xsubpp  -typemap 
> /opt/perl5.12.2.debug/lib/5.12.2/ExtUtils/typemap 
> compile_test_2_t_a7b1.xs > compile_test_2_t_a7b1.xsc && mv 
> compile_test_2_t_a7b1.xsc compile_test_2_t_a7b1.c
> gcc -c  -I/root/peter/inline_fails_to_compile -I/usr/local/include 
> -I/usr/local/BerkeleyDB.4.5/include -DDEBUGGING -fno-strict-aliasing 
> -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -g -DVERSION=\"0.00\" 
> -DXS_VERSION=\"0.00\" -fPIC 
> "-I/opt/perl5.12.2.debug/lib/5.12.2/i86pc-solaris/CORE" 
> compile_test_2_t_a7b1.c
> compile_test_2_t_a7b1.xs:5: error: expected ')' before '*' token
> make: *** [compile_test_2_t_a7b1.o] Error 1


This is a bit confusing.
Firstly, the 0.48 build fails (though no mention of a missing EventAPI.h).

Secondly, if the 0.48 build finds EventAPI.h, I don't see why the 0.51
build can't do the same.
Neither of the 2 builds specify
-I/opt/perl5.12.2.debug/lib/site_perl/5.12.2/i86pc-solaris/Event
(which is the location of EventAPI.h).

Cheers,
Rob

Reply via email to