Menu

Futuba VFD MDM166: mdm166a won´t compile

Help
TomBauer
2014-09-18
2014-09-29
  • TomBauer

    TomBauer - 2014-09-18

    Hi,

    I´m somehow confused and stuck installing my Futuba VFD MDM166A.
    The display needs the mdm166a driver which will not be compiled.

    System:
    - OSX Mavericks
    - lcdproc 0.5.7
    - Xcode 5.1.1

    Installed via homebrew:
    - libhid (0.2.16)
    - libusb (1.0.19)

    Tried first to do it the quick way:
    ./configure --enable-drivers=mdm166a
    make

    Result: All files except mdm166a are compiled.

    Then tried only compile mdm166a ([...]drivers=mdm166a) with the same result.

    Any ideas what´s going wrong?
    Thanks for any help.

    This is the output:
    ./configure --enable-drivers=mdm166a
    [...]
    checking if libusb support has been enabled... yes
    checking for pkg-config... no
    checking for LIBUSB... no
    checking if libusb-1-0 support has been enabled... yes
    checking for LIBUSB_1_0... no
    checking if libftdi support has been enabled... yes
    checking for LIBFTDI... no
    checking if X11 support has been enabled... yes
    checking for LIBX11... no
    checking if libhid support has been enabled... yes
    checking for LIBHID... no
    checking if PNG support has been enabled... yes
    checking for libpng-config... /usr/local/bin/libpng-config
    checking whether libpng is present and sane... yes
    checking if freetype support has been enabled... yes
    checking for freetype-config... /usr/local/bin/freetype-config
    checking for FreeType -- version >= 7.0.1... no
    configure: WARNING:

    The FreeType test program failed to run. If your system uses
    shared libraries and they are installed outside the normal
    system library path, make sure the variable LD_LIBRARY_PATH
    (or whatever is appropriate for your system) is correctly set.

    checking if ethlcd support has been enabled... yes
    checking for doxygen... no
    configure: checking which drivers to compile...
    configure: WARNING: The mdm166a driver needs the hid library

    LCDd will be compiled with the drivers:

    checking that generated files are newer than configure... done
    [...]

     

    Last edit: TomBauer 2014-09-29
  • Markus Dolze

    Markus Dolze - 2014-09-22

    Please post large script output as an attachment. It makes things a lot more readable.

    I think this:

    checking for pkg-config... no
    checking for LIBUSB... no
    checking if libusb-1-0 support has been enabled... yes
    checking for LIBUSB_1_0... no
    ...
    checking for LIBHID... no

    is the source of your problem.

    The build system does not find the HID library nor any libusb version. Note that mdm166a driver still builds upon the legacy libusb-0.1 library!

    You may check if there is some 'development' package of libusb available. You will need pkg-config, too.

    If you are sure that you have a libusb-compatible usb.h on your system, you may try the FreeBSD patch. That one removes pkg-config dependency for libusb and allows you to point configure to a system USB library.

    However, you will then need to sort things out for libhid.

     
  • TomBauer

    TomBauer - 2014-09-29

    Thanks Markus for your input.
    I´m quite new to that Linux stuff (especially on OSX) and tried in the meanwhile a lot of things.
    Finally I was able to install 0.5.6 via brew formula and I hope I have never to touch it again ;-)
    It does a great job with my XBMC and I appreciate the work of you and the other developers.

     

Log in to post a comment.