Hi,

        This is a know bug with the *kernel sources* (not make-kpkg as
 has been suggested).  Actually, this problem is an artifact of expr
 becomming suddenly POSIX compliant, much to the consternation of the
 kernel configure scripts.

        The fix is to apply the following patch to your kernel sources
 (newer kernel-package versions mention this problem and fix in
 /usr/doc/kernel-package/Problems.gz). This is becoming a FAQ. Susan? 

        manoj

--- scripts/Configure.dist      Mon Jan 20 14:43:24 1997
+++ scripts/Configure   Tue Jan 21 05:41:30 1997
@@ -288,7 +288,7 @@
        def=${old:-$3}
        while :; do
          readln "$1 ($2) [$def] " "$def" "$old"
-         if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
+         if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
            define_int "$2" "$ans"
            break
          else
@@ -319,7 +319,7 @@
        while :; do
          readln "$1 ($2) [$def] " "$def" "$old"
          ans=${ans#*[x,X]}
-        if expr "$ans" : '[0-9a-fA-F]+$' > /dev/null; then
+        if expr "$ans" : '[0-9a-fA-F]\+$' > /dev/null; then
           define_hex "$2" "$ans"
           break
         else
 
-- 
 str_pok |= SP_FBM; /* deep magic */ s = (unsigned char*)
 (str->str_ptr); /* deeper magic */ --Larry Wall in util.c from 
 the perl source code
Manoj Srivastava               <url:mailto:[EMAIL PROTECTED]>
Mobile, Alabama USA            <url:http://www.datasync.com/%7Esrivasta/>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to