arla Debian package (success!)

Adrian Bridgett adrian.bridgett at iname.com
Sat Oct 28 13:26:51 CEST 2000


sssh - don't tell anyone but I've finally got it working :)

I want to tidy up the arla-modules-source build procedure from what it's
currently doing and then clean up some other bits and then I promise I'll
dump it up on the web.

Some help on the pam side would be good - ATM I've just shoved some
instructions someone at work wrote into the README.Debian.

I did need to make one thing that I'll call a fix - but I'm not qualified to
assertain that for sure.  Without this fix, the test would fail since NULL
was undefined.  Since the function is actually present the test should have
passed - and so the compilation proper dies later on.

--- arla-0.34.5.orig/cf/linux-func-init-wait-queue-head.m4
+++ arla-0.34.5/cf/linux-func-init-wait-queue-head.m4
@@ -5,7 +5,8 @@
 AC_DEFUN(AC_LINUX_FUNC_INIT_WAITQUEUE_HEAD, [
 AC_CACHE_CHECK([for init_waitqueue_head],
 ac_cv_func_init_waitqueue_head,[
-AC_TRY_COMPILE_KERNEL([#include <linux/wait.h>],
+AC_TRY_COMPILE_KERNEL([#include <linux/stddef.h>
+#include <linux/wait.h>],
 [wait_queue_head_t foo;
 init_waitqueue_head(&foo)],
 ac_cv_func_init_waitqueue_head=yes,
--- arla-0.34.5.orig/aclocal.m4
+++ arla-0.34.5/aclocal.m4
@@ -2485,7 +2485,8 @@
 AC_DEFUN(AC_LINUX_FUNC_INIT_WAITQUEUE_HEAD, [
 AC_CACHE_CHECK([for init_waitqueue_head],
 ac_cv_func_init_waitqueue_head,[
-AC_TRY_COMPILE_KERNEL([#include <linux/wait.h>],
+AC_TRY_COMPILE_KERNEL([#include <linux/stddef.h>
+#include <linux/wait.h>],
 [wait_queue_head_t foo;
 init_waitqueue_head(&foo)],
 ac_cv_func_init_waitqueue_head=yes,
	    
Adrian

Email: adrian.bridgett at iname.com
Windows NT - Unix in beta-testing. GPG/PGP keys available on public key servers
Debian GNU/Linux  -*-  By professionals for professionals  -*-  www.debian.org





More information about the Arla-drinkers mailing list