Skip Menu |

This queue is for tickets about the Alien-SLOCCount CPAN distribution.

Report information
The Basics
Id: 125256
Status: resolved
Priority: 0/
Queue: Alien-SLOCCount

People
Owner: joenio [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: 0.06



Subject: Does not build on clang platforms
It seems that Alien-SLOCCount does not build on platforms where the C compiler is clang and not gcc. This is the case on newer FreeBSD versions (10.0 and up). The error message is: ... Alien::Build::CommandSequence> + make EXE_SUFFIX=.exe gcc -Wall c_count.c -o c_count.exe make[1]: exec(gcc) failed (No such file or directory) *** Error code 1 ... I think the easiest fix could be to use "cc" instead of "gcc". All systems I know link "cc" to the primary C compiler (gcc or clang). Additionally, clang is mostly option-compatible with gcc, so usually things just work.
Thanks for details about this issue SREZIC. I've just upload a new version 0.07 solving it.