Henrik Slotholt wrote: > Hi, > > When I exit make menuconfig in rtnet-0.9.12 the configure process ends > with the error: > > checking for RTnet Kconfig file... /usr/src/rtnet-0.9.12/configure: line > 11568: .: .rtnet_config: file not found > .rtnet_config (supplied) > checking for RT-extension... configure: error: *** RT-extended kernel > not found in > make[1]: *** [config.status] Error 1 > make[1]: Leaving directory `/usr/src/rtnet-0.9.12' > make: *** [menuconfig] Error 2
OK, finally wrapped my head about this: You are running a POSIX-compliant
shell, e.g. zsh. Patch below should fix the issue. Please report the outcome.
Jan
diff --git a/configure b/configure
index 206c1d5..23b967a 100755
--- a/configure
+++ b/configure
@@ -11565,7 +11565,7 @@ if test \! -f $RTNET_KCONFIG_FILE; then
$as_echo "$as_me: error: Kconfig-file $RTNET_KCONFIG_FILE not found --
--with-kconfig-file sets Kconfig file" >&2;}
{ (exit 1); exit 1; }; }
fi
-. $RTNET_KCONFIG_FILE
+PATH=$PATH:. . $RTNET_KCONFIG_FILE
{ $as_echo "$as_me:$LINENO: result: $RTNET_KCONFIG_FILE ($kconfig_type)" >&5
$as_echo "$RTNET_KCONFIG_FILE ($kconfig_type)" >&6; }
diff --git a/configure.ac b/configure.ac
index 7b13613..2eb98d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AC_MSG_CHECKING([for RTnet Kconfig file])
if test \! -f $RTNET_KCONFIG_FILE; then
AC_MSG_ERROR([Kconfig-file $RTNET_KCONFIG_FILE not found --
--with-kconfig-file sets Kconfig file])
fi
-. $RTNET_KCONFIG_FILE
+PATH=$PATH:. . $RTNET_KCONFIG_FILE
AC_MSG_RESULT([$RTNET_KCONFIG_FILE ($kconfig_type)])
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ RTnet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

