Menu

#11 configure broken

v1.0_(example)
open
nobody
None
5
2020-03-30
2020-03-29
No

As of 29 March 2020, the configure script is broken. The comparison between version of libusb in line 200002:
if test "$LIBUSB_VER" \< "0.1.7"; then
fails to deliver a correct result when comparing to version 0.12.1.
I recommend replacing the above line with:

LIBUSB_VER=$(printf '%s\n2' "0.1.7" | sort -V | head -1)
if test "$LIBUSB_VER" != "0.1.7" ; then

Cheers, Daniela

1 Attachments

Related

Bugs: #11

Discussion

  • Markus Germeier

    Markus Germeier - 2020-03-29

    This was fixed in the source code in january 2006 after the latest pre release:

    ->tail -144 configure.in | head -11
    dnl --- blacklist the too old versions
    case "$LIBUSB_VER" in
        0.1.[[0123456]]|0.1.[[36]][[ab]])
        AC_MSG_WARN([
    *** You need at least version 0.1.7 of the libusb library for USB support
    *** http://sourceforge.net/projects/libusb/
    *** If you cannot find the appropriate version, try CVS
            ])
        exit 1 ;;
        *);;
    esac
    
     
    • Daniela Mantovani

      Dear Markus:

      Where would I find the 2006 release? The latest release on sourceforge seems to be mpio-0.7.1_pre2. That release issued in 2004.

      Cheers,

      Daniela


      From: Markus Germeier germeier@users.sourceforge.net
      Sent: Monday, 30 March 2020 6:15 AM
      To: [mpio:bugs] 11@bugs.mpio.p.re.sourceforge.net
      Subject: [mpio:bugs] #11 configure broken

      This was fixed in the source code in january 2006 after the latest pre release:

      ->tail -144 configure.in | head -11
      dnl --- blacklist the too old versions
      case "$LIBUSB_VER" in
      0.1.[[0123456]]|0.1.[[36]][[ab]])
      AC_MSG_WARN([
      *** You need at least version 0.1.7 of the libusb library for USB support
      *** http://sourceforge.net/projects/libusb/
      *** If you cannot find the appropriate version, try CVS
      ])
      exit 1 ;;
      *);;
      esac


      [bugs:#11]https://sourceforge.net/p/mpio/bugs/11/ configure broken

      Status: open
      Group: v1.0_(example)
      Created: Sun Mar 29, 2020 06:36 PM UTC by Daniela Mantovani
      Last Updated: Sun Mar 29, 2020 06:36 PM UTC
      Owner: nobody
      Attachments:

      As of 29 March 2020, the configure script is broken. The comparison between version of libusb in line 200002:
      if test "$LIBUSB_VER" \< "0.1.7"; then
      fails to deliver a correct result when comparing to version 0.12.1.
      I recommend replacing the above line with:

      LIBUSB_VER=$(printf '%s\n2' "0.1.7" | sort -V | head -1)
      if test "$LIBUSB_VER" != "0.1.7" ; then

      Cheers, Daniela


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mpio/bugs/11/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #11

      • Markus Germeier

        Markus Germeier - 2020-03-30

        The latest source code is available via: https://sourceforge.net/p/mpio/code/

        • checkout source code
        • autogen.sh
        • configure
        • make
         

Log in to post a comment.

MongoDB Logo MongoDB