04.07.2013, 18:29, "Eric Eide" <[email protected]>:
>         Tuyen> You are right, I installed older LLVM because building another
>         Tuyen> thing (I can't remember what) made me to. Thanks for pointing
>         Tuyen> out.
>
> Great; I'm glad we figued that out!
>
>         Tuyen> Anyway, I built and installed LLVM3.3 and try configure again.
>         Tuyen> It prompted for a number of Perl modules that I successfully
>         Tuyen> installed with cpan -i  command, except the Sys::CPU
>         Tuyen>
>         Tuyen> [...]
>         Tuyen>
>         Tuyen> CPU.xs: In function 'XS_Sys__CPU_cpu_clock':
>         Tuyen> CPU.xs:349:5: error: unknown type name 'processor_info_t'
>         Tuyen> CPU.xs:350:48: error: request for member 'pi_state' in 
> something not a structure
>         Tuyen>  or union
>         Tuyen> [...]
>         Tuyen>
>         Tuyen> Am I having too old Perl?
>
> I would expect that your version of Perl (5.14) should be new enough, as far 
> as
> C-Reduce is concerned.
>
> The symptom above is one that I don't recognize.  I don't have a good idea why
> `Sys::CPU' won't compile on your platform, and a quick google didn't turn up
> any helpful advice.
>
> As John Regehr mentioned previously, none of the primary C-Reduce developers
> uses a Windows box for development.  So to diagnose the problem with Sys::CPU,
> you might have to dig into the "CPU.xs" code yourself.  I'm sorry that I can't
> offer better advice.

ActiveState has a binary package of Sys::CPU for Windows [1], so it should be 
possible to
build it.

[1] http://code.activestate.com/ppm/Sys-CPU/

-- 
Regards,
Konstantin

Reply via email to