Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- box% cabal install HGL
- Resolving dependencies...
- 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-17707/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 )
- Graphics/X11/Types.hsc:16:8: error:
- Could not find module ‘Prelude’
- There are files missing in the ‘base-4.10.1.0’ package,
- try running 'ghc-pkg check'.
- Use -v to see a list of the files searched for.
- |
- 16 | module Graphics.X11.Types
- | ^^^^^^^^^^^^^^^^^^
- Graphics/X11/Types.hsc:844:1: error:
- Could not find module ‘Data.Word’
- There are files missing in the ‘base-4.10.1.0’ package,
- try running 'ghc-pkg check'.
- Use -v to see a list of the files searched for.
- |
- 844 | import Data.Word
- | ^^^^^^^^^^^^^^^^
- Graphics/X11/Types.hsc:845:1: error:
- Could not find module ‘Foreign.Marshal.Error’
- There are files missing in the ‘base-4.10.1.0’ package,
- try running 'ghc-pkg check'.
- Use -v to see a list of the files searched for.
- |
- 845 | import Foreign.Marshal.Error
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Graphics/X11/Types.hsc:846:1: error:
- Could not find module ‘Foreign.C.Types’
- There are files missing in the ‘base-4.10.1.0’ package,
- try running 'ghc-pkg check'.
- Use -v to see a list of the files searched for.
- |
- 846 | import Foreign.C.Types
- | ^^^^^^^^^^^^^^^^^^^^^^
- cabal: Leaving directory '/tmp/cabal-tmp-17707/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