#14 configure fails - udevinfo: command not found

open
nobody
None
5
2009-04-21
2009-04-21
Anonymous
No

since udevinfo is replaced by udevadm the configure script fails,
here is my diff-file:

1740c1740
< udev_ver=`udevinfo -V | awk '{ print $3 }'`
---
> udev_ver=`udevadm info -V`

copy the 4 lines above and save the file as configure.diff
simply applie the patch by:
$ patch configure configure.diff

if it still fails try to run configure as root

Discussion

  • wont patch. complains about unexpected end of line 3.

     
  • Patches:

    --- madfuload-1.2/configure.ac.orig 2009-10-23 08:50:56.000000000 +0200
    +++ madfuload-1.2/configure.ac 2009-10-23 08:51:14.000000000 +0200
    @@ -7,7 +7,7 @@
    AC_PROG_CC

    AC_MSG_CHECKING([for udev version])
    -udev_ver=`udevinfo -V | awk '{ print $3 }'`
    +udev_ver=`udevadm info -V`
    if test -n "$udev_ver"; then
    AC_MSG_RESULT([$udev_ver])
    else
    --- madfuload-1.2/configure.orig 2009-10-23 09:14:23.000000000 +0200
    +++ madfuload-1.2/configure 2009-10-23 09:14:35.000000000 +0200
    @@ -2808,7 +2808,7 @@

    echo "$as_me:$LINENO: checking for udev version" >&5
    echo $ECHO_N "checking for udev version... $ECHO_C" >&6
    -udev_ver=`udevinfo -V | awk '{ print $3 }'`
    +udev_ver=`udevadm info -V`
    if test -n "$udev_ver"; then
    echo "$as_me:$LINENO: result: $udev_ver" >&5
    echo "${ECHO_T}$udev_ver" >&6