Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- box% cabal install HGL
- Resolving dependencies...
- Downloading X11-1.8...
- Configuring X11-1.8...
- Building X11-1.8...
- Failed to install X11-1.8
- Build log ( /home/joel/.cabal/logs/ghc-8.2.2/X11-1.8-DlIbKHXc61G361OYDPKBX0.log ):
- cabal: Entering directory '/tmp/cabal-tmp-13098/X11-1.8'
- Configuring X11-1.8...
- configure: WARNING: unrecognized options: --with-compiler
- checking for gcc... /usr/bin/gcc
- 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 /usr/bin/gcc accepts -g... yes
- checking for /usr/bin/gcc option to accept ISO C89... none needed
- checking how to run the C preprocessor... /usr/bin/gcc -E
- checking for X... libraries , headers
- checking for gethostbyname... yes
- checking for connect... yes
- checking for remove... yes
- checking for shmat... yes
- checking for IceConnectionNumber in -lICE... yes
- checking whether to build Xinerama... yes
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/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 X11/extensions/Xinerama.h usability... yes
- checking X11/extensions/Xinerama.h presence... yes
- checking for X11/extensions/Xinerama.h... yes
- checking X11/extensions/Xrandr.h usability... yes
- checking X11/extensions/Xrandr.h presence... yes
- checking for X11/extensions/Xrandr.h... yes
- checking whether to build XScreenSaver... yes
- checking X11/extensions/scrnsaver.h usability... yes
- checking X11/extensions/scrnsaver.h presence... yes
- checking for X11/extensions/scrnsaver.h... yes
- checking whether to include X.org keysyms... yes
- checking X11/keysym.h usability... yes
- checking X11/keysym.h presence... yes
- checking for X11/keysym.h... yes
- checking X11/DECkeysym.h usability... yes
- checking X11/DECkeysym.h presence... yes
- checking for X11/DECkeysym.h... yes
- checking X11/Sunkeysym.h usability... yes
- checking X11/Sunkeysym.h presence... yes
- checking for X11/Sunkeysym.h... yes
- checking X11/ap_keysym.h usability... yes
- checking X11/ap_keysym.h presence... yes
- checking for X11/ap_keysym.h... yes
- checking X11/HPkeysym.h usability... yes
- checking X11/HPkeysym.h presence... yes
- checking for X11/HPkeysym.h... yes
- checking X11/XF86keysym.h usability... yes
- checking X11/XF86keysym.h presence... yes
- checking for X11/XF86keysym.h... yes
- checking X11/keysymdef.h usability... yes
- checking X11/keysymdef.h presence... yes
- checking for X11/keysymdef.h... yes
- checking X11/cursorfont.h usability... yes
- checking X11/cursorfont.h presence... yes
- checking for X11/cursorfont.h... yes
- configure: creating ./config.status
- config.status: creating config.mk
- config.status: creating X11.buildinfo
- config.status: creating include/HsX11Config.h
- config.status: creating include/X11_extras_config.h
- configure: WARNING: unrecognized options: --with-compiler
- Preprocessing library for X11-1.8..
- XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
- XF86.hsc: In function ‘main’:
- XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
- XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
- Building library for X11-1.8..
- [ 1 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o )
- [ 2 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.o )
- [ 3 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.o )
- [ 4 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.o )
- [ 5 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.o )
- [ 6 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.o )
- [ 7 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.o )
- [ 8 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.o )
- [ 9 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.o )
- [10 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )
- Graphics/X11/Xlib/Types.hsc:38:1: error:
- Could not find module ‘Data.Default’
- There are files missing in the ‘data-default-0.7.1.1’ package,
- try running 'ghc-pkg check'.
- Use -v to see a list of the files searched for.
- |
- 38 | import Data.Default
- | ^^^^^^^^^^^^^^^^^^^
- cabal: Leaving directory '/tmp/cabal-tmp-13098/X11-1.8'
- cabal: Error: some packages failed to install:
- HGL-3.2.3.1-4CdopJXppgtAVvaRJrXScW depends on HGL-3.2.3.1 which failed to
- install.
- X11-1.8-DlIbKHXc61G361OYDPKBX0 failed during the building phase. The exception
- was:
- ExitFailure 1
Advertisement