Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building mtl-2.2.1... Building text-1.2.2.1... Installed mtl-2.2.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring fltkhs-0.5.0.0... Building fltkhs-0.5.0.0... Failed to install fltkhs-0.5.0.0 Build log ( /home/builder/.cabal/logs/fltkhs-0.5.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-12872/fltkhs-0.5.0.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-12872/fltkhs-0.5.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-12872/fltkhs-0.5.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-12872/fltkhs-0.5.0.0/dist/setup/setup ... Running autoconf ... Warning: defaultUserHooks in Setup script is deprecated. Configuring fltkhs-0.5.0.0... configure: WARNING: unrecognized options: --with-hc checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... /usr/bin/gcc checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking for fltk-config... fltk-config checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for main in -ldl... yes checking for fl_alphasort in -lfltk... yes checking for main in -lfltk_images... yes checking for main in -lfltk_cairo... yes checking for main in -lfltk_forms... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating c-src/Makefile config.status: creating c-examples/Makefile config.status: creating fltkhs.buildinfo configure: WARNING: unrecognized options: --with-hc ==Compiling C bindings== *** Compiling Fl_Menu_ButtonC.cpp... *** Compiling Fl_PositionerC.cpp... Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window(fl_Positioner)’: Fl_PositionerC.cpp:268:67: error: ‘class Fl_Positioner’ has no member named ‘top_window’ return (fl_Window) (static_cast(positioner))->top_window(); ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window_offset(fl_Positioner, int*, int*)’: Fl_PositionerC.cpp:271:67: error: ‘class Fl_Positioner’ has no member named ‘top_window_offset’ return (fl_Window) (static_cast(positioner))->top_window_offset(*xoff,*yoff); ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window(fl_Positioner)’: Fl_PositionerC.cpp:269:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ Fl_PositionerC.cpp: In function ‘void* Fl_Positioner_top_window_offset(fl_Positioner, int*, int*)’: Fl_PositionerC.cpp:272:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [Fl_PositionerC.o] Error 1 make: *** [src] Error 2 cabal: Leaving directory '/tmp/cabal-tmp-12872/fltkhs-0.5.0.0' cabal: Error: some packages failed to install: fltkhs-0.5.0.0 failed during the building phase. The exception was: ExitFailure 2 fltkhs-hello-world-0.0.0.2 depends on fltkhs-0.5.0.0 which failed to install.