Subject: | Quota module does not build on linux kernel 3 |
Date: | Sun, 13 Nov 2011 18:22:50 +0100 |
To: | bug-Quota [...] rt.cpan.org |
From: | Marcel Greter <marcel.greter [...] ocbnet.ch> |
Hello,
I hope I got the correct way to report this little problem.
The Quota Module (http://search.cpan.org/dist/Quota/) will not build
if you are running a new linux v3 kernel. This is because in Makefile.PL
there is a OS regex for linux:
elsif($os =~ /^Linux 2/) { $config='linux.h'; $picobj='linuxapi.o'; }
The fix is obviously and very easy. Here is one possible fix:
elsif($os =~ /^Linux \d+/) { $config='linux.h'; $picobj='linuxapi.o'; }
Thank you very much and have a nice day!
Sincerly, Marcel Greter