glibc change for kernel-headers-2.6
Jaime Buffery
nestu at espresso.foo-projects.org
Mon Nov 21 16:00:21 UTC 2005
Hi everyone,
My opinion is that if k-h-2.6 is installed, this is the preferred option.
Having that in mind, I have fixed my box like this:
Isis # svn diff
Index: BUILD
===================================================================
--- BUILD (revision 17396)
+++ BUILD (working copy)
@@ -24,7 +24,6 @@
--build=$BUILD \
--enable-add-ons=linuxthreads \
--with-elf \
- --with-headers=/usr/src/linux/include \
--with-gd=no \
--without-__thread \
--without-cvs \
Index: CONFIGURE
===================================================================
--- CONFIGURE (revision 17396)
+++ CONFIGURE (working copy)
@@ -64,6 +64,12 @@
OPTS="$OPTS --disable-profile"
fi
+ if module_installed kernel-headers-2.6 ; then
+ OPTS="${OPTS} --with-headers=/usr/include"
+ else
+ OPTS="${OPTS} --with-headers=/usr/src/linux/include"
+ fi
+
echo "OPTS=\"\$OPTS $OPTS\"" >> $MODULE_CONFIG
echo "CONFIGURED=y" >> $MODULE_CONFIG
fi
Commit or add a query on what to use?. If a question is added, I would still
make k-h-2.6 the recommended default.
Ideas?
TIA,
Jaime ;))))
More information about the Lunar-dev
mailing list