*** setup configure Configuring hscamwire-0.2.1... Dependency array -any: using array-0.2.0.0 Dependency base ==3.*: using base-3.0.3.1 Dependency time -any: using time-1.1.3 Dependency unix -any: using unix-2.3.2.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/hscamwire-0.2.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hscamwire-0.2.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hscamwire-0.2.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hscamwire-0.2.1... Creating dist/build/System/Camera/IIDC1394 (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I/usr/local/include/camwire --lflag=-L/usr/local/lib --lflag=-ldc1394_control --lflag=-lraw1394 --lflag=-lcamwire_1394 --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-3.0.3.1 --lflag=-L/usr/local/lib/ghc-6.10.2/array-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Camera/IIDC1394/Camwire.hs System/Camera/IIDC1394/Camwire.hsc Camwire.hsc:20:29: error: camwire/camwire.h: No such file or directory Camwire.hsc:21:32: error: camwire/camwirebus.h: No such file or directory Camwire.hsc: In function 'main': Camwire.hsc:43: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:43: error: 'struct ' has no member named 'y__' Camwire.hsc:44: error: 'Camwire_id' undeclared (first use in this function) Camwire.hsc:44: error: (Each undeclared identifier is reported only once Camwire.hsc:44: error: for each function it appears in.) Camwire.hsc:46: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:46: error: expected ';' before ')' token Camwire.hsc:46: error: expected statement before ')' token Camwire.hsc:47: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:47: error: expected ';' before ')' token Camwire.hsc:47: error: expected statement before ')' token Camwire.hsc:48: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:48: error: expected ';' before ')' token Camwire.hsc:48: error: expected statement before ')' token Camwire.hsc:51: error: 'CAMWIRE_ID_MAX_CHARS' undeclared (first use in this function) Camwire.hsc:52: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:52: error: expected ';' before ')' token Camwire.hsc:52: error: expected statement before ')' token Camwire.hsc:54: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:54: error: expected ';' before ')' token Camwire.hsc:54: error: expected statement before ')' token Camwire.hsc:56: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:56: error: expected ';' before ')' token Camwire.hsc:56: error: expected statement before ')' token Camwire.hsc:61: error: 'CAMWIRE_PIXEL_INVALID' undeclared (first use in this function) Camwire.hsc:62: error: 'CAMWIRE_PIXEL_MONO8' undeclared (first use in this function) Camwire.hsc:63: error: 'CAMWIRE_PIXEL_YUV411' undeclared (first use in this function) Camwire.hsc:64: error: 'CAMWIRE_PIXEL_YUV422' undeclared (first use in this function) Camwire.hsc:65: error: 'CAMWIRE_PIXEL_YUV444' undeclared (first use in this function) Camwire.hsc:66: error: 'CAMWIRE_PIXEL_RGB8' undeclared (first use in this function) Camwire.hsc:67: error: 'CAMWIRE_PIXEL_MONO16' undeclared (first use in this function) Camwire.hsc:68: error: 'CAMWIRE_PIXEL_RGB16' undeclared (first use in this function) Camwire.hsc:69: error: 'CAMWIRE_PIXEL_MONO16S' undeclared (first use in this function) Camwire.hsc:70: error: 'CAMWIRE_PIXEL_RGB16S' undeclared (first use in this function) Camwire.hsc:71: error: 'CAMWIRE_PIXEL_RAW8' undeclared (first use in this function) Camwire.hsc:72: error: 'CAMWIRE_PIXEL_RAW16' undeclared (first use in this function) Camwire.hsc:77: error: 'CAMWIRE_TILING_INVALID' undeclared (first use in this function) Camwire.hsc:78: error: 'CAMWIRE_TILING_RGGB' undeclared (first use in this function) Camwire.hsc:79: error: 'CAMWIRE_TILING_GBRG' undeclared (first use in this function) Camwire.hsc:80: error: 'CAMWIRE_TILING_GRBG' undeclared (first use in this function) Camwire.hsc:81: error: 'CAMWIRE_TILING_BGGR' undeclared (first use in this function) Camwire.hsc:82: error: 'CAMWIRE_TILING_UYVY' undeclared (first use in this function) Camwire.hsc:83: error: 'CAMWIRE_TILING_YUYV' undeclared (first use in this function) Camwire.hsc:90: error: 'CAMWIRE_SUCCESS' undeclared (first use in this function) Camwire.hsc:92: error: 'CAMWIRE_FAILURE' undeclared (first use in this function) compiling dist/build/System/Camera/IIDC1394/Camwire_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I/usr/local/include/camwire -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/System/Camera/IIDC1394/Camwire_hsc_make.c -o dist/build/System/Camera/IIDC1394/Camwire_hsc_make.o *** Trying again with preferred-versions *** setup configure Configuring hscamwire-0.2.1... Dependency array -any: using array-0.2.0.0 Dependency base ==3.* && <4: using base-3.0.3.1 Dependency time -any: using time-1.1.3 Dependency unix -any: using unix-2.3.2.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/hscamwire-0.2.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hscamwire-0.2.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hscamwire-0.2.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hscamwire-0.2.1... Creating dist/build/System/Camera/IIDC1394 (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I/usr/local/include/camwire --lflag=-L/usr/local/lib --lflag=-ldc1394_control --lflag=-lraw1394 --lflag=-lcamwire_1394 --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-3.0.3.1 --lflag=-L/usr/local/lib/ghc-6.10.2/array-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Camera/IIDC1394/Camwire.hs System/Camera/IIDC1394/Camwire.hsc Camwire.hsc:20:29: error: camwire/camwire.h: No such file or directory Camwire.hsc:21:32: error: camwire/camwirebus.h: No such file or directory Camwire.hsc: In function 'main': Camwire.hsc:43: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:43: error: 'struct ' has no member named 'y__' Camwire.hsc:44: error: 'Camwire_id' undeclared (first use in this function) Camwire.hsc:44: error: (Each undeclared identifier is reported only once Camwire.hsc:44: error: for each function it appears in.) Camwire.hsc:46: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:46: error: expected ';' before ')' token Camwire.hsc:46: error: expected statement before ')' token Camwire.hsc:47: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:47: error: expected ';' before ')' token Camwire.hsc:47: error: expected statement before ')' token Camwire.hsc:48: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:48: error: expected ';' before ')' token Camwire.hsc:48: error: expected statement before ')' token Camwire.hsc:51: error: 'CAMWIRE_ID_MAX_CHARS' undeclared (first use in this function) Camwire.hsc:52: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:52: error: expected ';' before ')' token Camwire.hsc:52: error: expected statement before ')' token Camwire.hsc:54: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:54: error: expected ';' before ')' token Camwire.hsc:54: error: expected statement before ')' token Camwire.hsc:56: error: expected specifier-qualifier-list before 'Camwire_id' Camwire.hsc:56: error: expected ';' before ')' token Camwire.hsc:56: error: expected statement before ')' token Camwire.hsc:61: error: 'CAMWIRE_PIXEL_INVALID' undeclared (first use in this function) Camwire.hsc:62: error: 'CAMWIRE_PIXEL_MONO8' undeclared (first use in this function) Camwire.hsc:63: error: 'CAMWIRE_PIXEL_YUV411' undeclared (first use in this function) Camwire.hsc:64: error: 'CAMWIRE_PIXEL_YUV422' undeclared (first use in this function) Camwire.hsc:65: error: 'CAMWIRE_PIXEL_YUV444' undeclared (first use in this function) Camwire.hsc:66: error: 'CAMWIRE_PIXEL_RGB8' undeclared (first use in this function) Camwire.hsc:67: error: 'CAMWIRE_PIXEL_MONO16' undeclared (first use in this function) Camwire.hsc:68: error: 'CAMWIRE_PIXEL_RGB16' undeclared (first use in this function) Camwire.hsc:69: error: 'CAMWIRE_PIXEL_MONO16S' undeclared (first use in this function) Camwire.hsc:70: error: 'CAMWIRE_PIXEL_RGB16S' undeclared (first use in this function) Camwire.hsc:71: error: 'CAMWIRE_PIXEL_RAW8' undeclared (first use in this function) Camwire.hsc:72: error: 'CAMWIRE_PIXEL_RAW16' undeclared (first use in this function) Camwire.hsc:77: error: 'CAMWIRE_TILING_INVALID' undeclared (first use in this function) Camwire.hsc:78: error: 'CAMWIRE_TILING_RGGB' undeclared (first use in this function) Camwire.hsc:79: error: 'CAMWIRE_TILING_GBRG' undeclared (first use in this function) Camwire.hsc:80: error: 'CAMWIRE_TILING_GRBG' undeclared (first use in this function) Camwire.hsc:81: error: 'CAMWIRE_TILING_BGGR' undeclared (first use in this function) Camwire.hsc:82: error: 'CAMWIRE_TILING_UYVY' undeclared (first use in this function) Camwire.hsc:83: error: 'CAMWIRE_TILING_YUYV' undeclared (first use in this function) Camwire.hsc:90: error: 'CAMWIRE_SUCCESS' undeclared (first use in this function) Camwire.hsc:92: error: 'CAMWIRE_FAILURE' undeclared (first use in this function) compiling dist/build/System/Camera/IIDC1394/Camwire_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I/usr/local/include/camwire -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/tmp/archive/install/lib/time-1.1.3/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/System/Camera/IIDC1394/Camwire_hsc_make.c -o dist/build/System/Camera/IIDC1394/Camwire_hsc_make.o