Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 ./configure doesn't fail when usb.h absent; build fails

open
nobody
None
1
2011-07-13
2011-07-13
Martin Guy
No

If (Debian/Ubuntu package) libusb-dev is not installed, configure does report

checking for usb.h... no

but seems to succeed otherwise. The build then fails saying

make[2]: Entering directory `/home/martin/mizar32/downloads/dfu-programmer-0.5.4/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:29:17: fatal error: usb.h: No such file or directory

It would be nice if "configure" failed explicity if required headers are missing.

Discussion

  • Martin Guy
    Martin Guy
    2011-07-13

    • priority: 5 --> 2
     
  • Martin Guy
    Martin Guy
    2011-07-13

    • priority: 2 --> 1
     
  • Martin Guy
    Martin Guy
    2011-07-13

    • summary: ./configure doesn't fail when usb.h absent; buils fails --> ./configure doesn't fail when usb.h absent; builsd fails
     
  • Martin Guy
    Martin Guy
    2011-07-13

    • summary: ./configure doesn't fail when usb.h absent; builsd fails --> ./configure doesn't fail when usb.h absent; build fails