I got this error trying to run autotools on ubuntu raring:
Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: /home/dave/share/autoconf /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/dropship/bin/autoheader line 42.
BEGIN failed--compilation aborted at /home/dropship/bin/autoheader line 42.
uname -a
Linux dropship 3.5.0-34-generic #55-Ubuntu SMP Thu Jun 6 20:18:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Solution:
The answer is who has access to the /usr/share/autoconf folders and root has the default access.
If you can't see them, then sudo autoscan instead of autoscan and so on...
then run:
sudo autoconf
sudo automake etc.
OR
add your compiling user into the root group.