Hello!

Environment: 
RedHat 6.0 heavily updated, 
glibc-2.1.3-28, 
glibc-devel-2.1.3-28, 
gcc-3.2 (self compiled)
dosemu-1.1.4.9

I wonder if this is a bug in the dosemu configure script or in the RedHat 
glibc-2.1.3 package...

Running ./default-configure (which runs configure AFAIK) in the dosemu 
dir I get

  checking for glibc...yes, version code 2001
  Sorry, you need glibc-2.1.3 or newer.

Well, the way configure forms the version code that is correct 
given that /usr/include/features.h says:

  #define __GLIBC__       2
  #define __GLIBC_MINOR__ 1

I wonder if the check in configure should be modified as follows:

    echo "yes, version code $GLIBC_VERSION_CODE"
-    if test $GLIBC_VERSION_CODE -le 2001; then
+    if test $GLIBC_VERSION_CODE -lt 2001; then
      echo Sorry, you need glibc-2.1.3 or newer.

Anyway, I don't experience anything weird after making this modification, 
dosemu compiles fine. I believe I first experienced this with dosemu-1.1.4.6.

Another thing I have to modify is /usr/local/bin/dosemu script:

 if [ -n "$STRING_I" ] ; then
-  exec $SUDO $BINARY $XFLAG "-I $STRING_I" "${par[@]}"
+  exec $SUDO $BINARY $XFLAG "-I $STRING_I" "$par{@}"
 else
-  exec $SUDO $BINARY $XFLAG "${par[@]}"
+  exec $SUDO $BINARY $XFLAG "$par{@}"
 fi

This is with GNU bash, version 1.14.7(1), the error I get is 

  /usr/local/bin/dosemu: ${par[@]}: bad substitution

Otherwise everything seems to be all right.

Thanks for the dosemu team for all the work on this great piece of 
software! 

Esa



-- 
Esa Tikka          ---  esa dot tikka at lut dot fi  ---
LTY/tiN       ---> .satan, oscillate my metallic sonataS <---
Vote against spam in EU @ http://www.politik-digital.de/spam



-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to