Skip to content

Instantly share code, notes, and snippets.

@cjheath
Created May 31, 2012 11:53
Show Gist options
  • Select an option

  • Save cjheath/2842916 to your computer and use it in GitHub Desktop.

Select an option

Save cjheath/2842916 to your computer and use it in GitHub Desktop.
$ sudo port install libusb
---> Fetching archive for libusb
---> Attempting to fetch libusb-1.0.9_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/libusb
---> Attempting to fetch libusb-1.0.9_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/libusb
---> Installing libusb @1.0.9_0
---> Activating libusb @1.0.9_0
---> Cleaning libusb
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
$ git clone git://git.openezx.org/dfu-util
Cloning into dfu-util...
remote: Counting objects: 921, done.
remote: Compressing objects: 100% (644/644), done.
remote: Total 921 (delta 627), reused 370 (delta 270)
Receiving objects: 100% (921/921), 182.99 KiB | 75 KiB/s, done.
Resolving deltas: 100% (627/627), done.
$ cd dfu-util
$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory m4
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:7: installing `m4/missing'
configure.ac:7: installing `m4/install-sh'
src/Makefile.am: installing `m4/depcomp'
autoreconf: Leaving directory `.'
$ ./configure --libdir=/opt/local/lib --includedir=/opt/local/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... m4/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
./configure: line 3332: syntax error near unexpected token `USB,'
./configure: line 3332: `PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,'
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment