I've just built ohcount from the git repos and it isn't recursively scanning my source directories. The help says "Directories will be probed recursively." by default, yet it only scans the directory I give it, not all the subsequent ones.
I've just built ohcount from the git repos and it isn't recursively scanning my source directories. The help says "Directories will be probed recursively." by default, yet it only scans the directory I give it, not all the subsequent ones.
hi docgnome,
I'm unable to reproduce this problem on either a mac or an ubuntu machine. Please open a ticket or if you're not able to do that, please provide more details about your OS and the exact command you're giving. Thanks.
I'm using gentoo. It does not build on my ubuntu machine. The error I get there is
Building src/parser.c (will take a while) In file included from src/parser.c:8: parsers.gperf:31:29: error: ../parsers/haml.h: No such file or directory parsers.gperf:54:29: error: ../parsers/perl.h: No such file or directory parsers.gperf:60:29: error: ../parsers/ruby.h: No such file or directory parsers.gperf:61:30: error: ../parsers/rhtml.h: No such file or directory In file included from src/parser.c:8: parsers.gperf: In function ‘ohcounthashparserfromlanguage’: parsers.gperf:137: error: ‘parse_perl’ undeclared (first use in this function) parsers.gperf:137: error: (Each undeclared identifier is reported only once parsers.gperf:137: error: for each function it appears in.) parsers.gperf:115: error: ‘parse_haml’ undeclared (first use in this function) parsers.gperf:143: error: ‘parse_rhtml’ undeclared (first use in this function) parsers.gperf:144: error: ‘parse_ruby’ undeclared (first use in this function)
The command I'm running is ./ohcount ~/www/httpdocs/ ~/www/httpdocs is where my project lives and ohcount says "Examining 39 file(s)" and then returns the count on those 39. However I have far more than that in subdirectories.