LINUX.ORG.RU

Не рекомпилируется xmonad

 ,


0

2

Установил xmonad Заменил конфиг Ввожу

xmonad --recompile

На что получаю следующий выхлоп

XMonad will use ghc to recompile, because "/home/user/.xmonad/build" does not exist.
Error detected while loading xmonad configuration file: /home/user/.xmonad/xmonad.hs

xmonad.hs:12:1: error:
    Could not find module ‘XMonad.Layout.ResizableThreeColumns’
    Perhaps you meant
      XMonad.Layout.ThreeColumns (from xmonad-contrib-0.16)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
12 | import XMonad.Layout.ResizableThreeColumns
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please check the file for errors.

Выхлоп

ghci -v

GHCi, version 8.8.4: https://www.haskell.org/ghc/  :? for help
Glasgow Haskell Compiler, Version 8.8.4, stage 2 booted by GHC version 8.8.4
Using binary package database: /usr/lib/ghc/package.conf.d/package.cache
package flags []
loading package database /usr/lib/ghc/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.5.3
wired-in package integer-wired-in mapped to integer-gmp-1.0.2.0
wired-in package base mapped to base-4.13.0.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.15.0.0
wired-in package ghc mapped to ghc-8.8.4
package flags []
loading package database /usr/lib/ghc/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.5.3
wired-in package integer-wired-in mapped to integer-gmp-1.0.2.0
wired-in package base mapped to base-4.13.0.0
wired-in package rts mapped to rts-1.0
wired-in package template-haskell mapped to template-haskell-2.15.0.0
wired-in package ghc mapped to ghc-8.8.4
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.14 milliseconds, allocated 0.056 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 4.11 milliseconds, allocated 1.692 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.10 milliseconds, allocated 0.029 megabytes
*** gcc:
x86_64-linux-gnu-gcc -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc/ghc-prim-0.5.3 --print-file-name libc.so
*** gcc:
x86_64-linux-gnu-gcc -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc/ghc-prim-0.5.3 --print-file-name libm.so
Loading package ghc-prim-0.5.3 ... linking ... done.
*** gcc:
x86_64-linux-gnu-gcc -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc/integer-gmp-1.0.2.0 --print-file-name libgmp.so
Loading package integer-gmp-1.0.2.0 ... linking ... done.
Loading package base-4.13.0.0 ... linking ... done.
Search directories (user):
Search directories (gcc):
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.09 milliseconds, allocated 0.043 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.03 milliseconds, allocated 0.014 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.06 milliseconds, allocated 0.027 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.11 milliseconds, allocated 0.060 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.05 milliseconds, allocated 0.022 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.11 milliseconds, allocated 0.065 megabytes
Prelude> 

И сам конфиг по ссылке

Could not find module ‘XMonad.Layout.ResizableThreeColumns’

Entmatix ()

Рекомендую обычные WM. Ничо не надо компилить, всё работает искаропки.

Virtuos86 ★★★★★ ()

Из cabal устанавливали? Этот модуль есть только в xmonad-contrib-0.17.1.9, т.е. в unstable ветке. Гляньте какой стоит у вас xmonad и соответственно xmonad-contrib

ChubaDuba ()
Последнее исправление: ChubaDuba (всего исправлений: 1)
Ответ на: комментарий от ChubaDuba

А, да - ларчик просто открывался [code]xmonad –version[/code] Выдаёт что [code]xmonad 0.15[/code]

subatomicshifter ()
Для того чтобы оставить комментарий войдите или зарегистрируйтесь.