lingnand / VIMonad

Bringing VIM philosophy to window management
vimonad.lynnard.me
70 stars 3 forks source link

Won't start #10

Open student-sx opened 6 years ago

student-sx commented 6 years ago

I followed the install instructions but get the following error messages if I reload xmonad with the new config:


xmonad.hs:18:1: error:
    Failed to load interface for `XMonad.Vim`
    Perhaps you meant
      XMonad.Doc (from xmonad-contrib-0.13)
      XMonad.Main (from xmonad-0.13)
    Use -v to see a list of the files searched for.

xmonad.hs:19:1: error:
    Failed to load interface for `XMonad.Vim.Routine`
    Use -v to see a list of the files searched for.

xmonad.hs:20:1: error:
    Failed to load interface for `XMonad.Vim.Prompt.Vimb`
    Use -v to see a list of the files searched for.

xmonad.hs:21:1: error:
    Failed to load interface for `XMonad.Vim.TaskGroup`
    Use -v to see a list of the files searched for.

xmonad.hs:22:1: error:
    Failed to load interface for `XMonad.Vim.Term`
    Use -v to see a list of the files searched for.

xmonad.hs:23:1: error:
    Failed to load interface for `XMonad.Vim.WindowStyle`
    Perhaps you meant
      XMonad.Util.WindowState (from xmonad-contrib-0.13)
    Use -v to see a list of the files searched for.

xmonad.hs:24:1: error:
    Failed to load interface for `XMonad.Vim.Workspaces`
    Use -v to see a list of the files searched for.

xmonad.hs:25:1: error:
    Failed to load interface for `XMonad.Vim.Constants`
    Use -v to see a list of the files searched for.

xmonad.hs:26:1: error:
    Failed to load interface for `XMonad.Vim.CIM`
    Use -v to see a list of the files searched for.

Please check the file for errors.
lingnand commented 6 years ago

Could you check if you have XMonadContrib (the one within this repo) installed successfully?

student-sx commented 6 years ago

Now I found some free time to try it again from beginning but now I get the message:

cannot satisfy -package-id xmonad-0.12-FUpDXVryp86B9yS3zn4k4c

while running cabal install inside of ~/.xmonad

lingnand commented 6 years ago

You should run cabal install inside the xmonad directory instead of ~/.xmonad

student-sx commented 6 years ago

Same problem when running it inside of /path/to/VIMonad/xmonad

Resolving dependencies...
Configuring xmonad-0.12...
Building xmonad-0.12...
Failed to install xmonad-0.12
Build log ( /home/myuser/.cabal/logs/xmonad-0.12.log ):
cabal: Entering directory '.'
Configuring xmonad-0.12...
Building xmonad-0.12...
Preprocessing executable 'xmonad' for xmonad-0.12...
<command line>: cannot satisfy -package-id xmonad-0.12-FUpDXVryp86B9yS3zn4k4c
    (use -v for more information)
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
xmonad-0.12 failed during the building phase. The exception was:
ExitFailure 1
lingnand commented 6 years ago

This looks like a problem with your cabal installation. You might want to completely remove your haskell installation (delete everything within ~/.cabal and ~/.ghc) and try again.

student-sx commented 6 years ago

I reinstalled cabal-install and ghc and removed ~/.cabal and ~/.ghc but get the same error again.

lingnand commented 6 years ago

Use -v as suggested?

student-sx commented 6 years ago
/usr/bin/gcc -dumpversion
looking for tool haddock near compiler in /usr/bin
found haddock in /usr/bin/haddock
/usr/bin/haddock --version
/usr/bin/hpc version
looking for tool hsc2hs near compiler in /usr/bin
found hsc2hs in /usr/bin/hsc2hs
/usr/bin/hsc2hs --version
/usr/bin/ghc -hide-all-packages -c /tmp/1804289383846930886.c -o /tmp/16816927771714636915.o
/usr/bin/ld -x -r /tmp/16816927771714636915.o -o /tmp/1957747793424238335.o
/usr/bin/pkg-config --version
/bin/tar --help
Reading available packages...
/usr/bin/pkg-config --list-all
/usr/bin/pkg-config --modversion sqlite3 Qt5DBus ompi-fort pixman-1 gmodule-export-2.0 libtcmalloc_debug xaw7 cairo-svg fontenc libdrm_intel iso-codes nettle lapack-netlib eigen3 libpcreposix recordproto atk-bridge-2.0 ompi-c spatialite cairo-tee dri dbus-1 gnome-icon-theme-symbolic xcb-render fftw3 xkbcommon dri3proto systemd adwaita-icon-theme mobile-broadband-provider-info libbsd cairo-png libunwind QtXml libcurl pangoxft QtDBus xcursor wayland-cursor Qt5WebKit xft libtcmalloc xcmiscproto glu mircookie 'gtk+-x11-3.0' xorg-server libunwind-ptrace libexif gdk-pixbuf-2.0 xf86vidmodeproto xtrans lapack python-3.6m arpack netcdf damageproto proj QtDeclarative Qt5Sql poppler-splash QtScriptTools fish gnome-system-tools xf86dgaproto expat videoproto cairo-xlib libavformat uuid kbproto mpi mpi-c fontutil xcb-dri2 xcb-dri3 poppler-glib libtcmalloc_minimal panel randrproto pygoocanvas Qt5QuickTest libdap xrandr wayland-egl SLEPc dleyna-server-1.0 fyba QtGui gdk-2.0 pygtkglext-1.0 x264 Qt5Quick scrnsaverproto xcomposite dri2proto libopenjpip QtScript icu-i18n sm bash-completion QtDesigner xorg-sgml-doctools xxf86dga hdf5-openmpi cairo-ps fixesproto python gdk-mir-3.0 protobuf-lite python2 mirclient python3 gmodule-2.0 gdk-pixbuf-xlib-2.0 libavcodec libdrm_radeon libdrm theora gnome-icon-theme ogdi mir-client-platform-mesa pango QtDesignerComponents xres geoclue-2.0 pangoft2 atspi-2 fontsproto xineramaproto gdk-3.0 compositeproto libdvdcss xvmc icu-uc libbsd-ctor Qt5PrintSupport xf86bigfontproto poppler Qt5Test ompi-cxx libpcre libpcre16 cairo-xcb-shm glproto cairo-pdf pangocairo pm-utils jsoncpp Qt5QuickWidgets dmxproto json-c Qt5Core x11-xcb libpq gthread-2.0 libusb-1.0 Qt3Support libnautilus-extension xcb-glx 'gtk+-broadway-3.0' libssl intel-gen4asm libpcrecpp cairo-xcb menu gl xorg-wacom poppler-cairo QtXmlPatterns xf86driproto egl libxml-2.0 libspreadsheet-1.12 libcrypto QtTest libdrm_nouveau libexif-gtk yelp-xsl cairo-gobject wayland-client gmodule-no-export-2.0 libtcmalloc_minimal_debug xextproto libdrm_amdgpu x11 xtst bigreqsproto 'gtk+-mir-3.0' libpcre32 freexl libopenjp2 QtCLucene QtCore xmu 'gtk+-unix-print-2.0' gdk-broadway-3.0 hogweed pciaccess mysqlclient poppler-data resourceproto wayland-server dleyna-server-service-1.0 xi dolfin PETSc wayland-protocols Qt5Xml hwloc udev xbitmaps xt cairo-fc xv libdapclient cairo Qt5Qml glib-2.0 gdk-wayland-3.0 mirclientcpp Qt5Network liburiparser icu-io cairo-ft libquvi-scripts xcb-sync gio-unix-2.0 libswresample QtSql glesv2 Qt5WebKitWidgets xkbfile xfixes presentproto mpi-cxx xcb-xfixes hdf5 xmuu theoraenc 'gtk+-unix-print-3.0' tic xinerama epoxy libbsd-overlay tinfo hdf5-serial libpng libwebpdemux usbutils xpm libopenjp3d xfont2 blas-netlib 'gtk+-wayland-3.0' Qt5Gui gdk-x11-2.0 xerces-c xshmfence xcb-randr freetype2 xext harfbuzz libjpeg cairo-script dleyna-connector-dbus-1.0 xau fftw3f 'gtk+-2.0' ice lrzip xkbcomp fftw3l openssl xcb-present xxf86vm libuv libwebpmux fftw3q xdamage python-2.7 QtHelp atk icu-le libffi wayland-scanner libfs libunwind-coredump xkeyboard-config xcb-shape dmx harfbuzz-icu pthread-stubs shared-mime-info QtOpenGL xrender xproto inputproto minizip icu-lx xcb-shm libgnomecanvas-2.0 xscrnsaver libpng16 orte protobuf xcb mircore Qt5OpenGL graphite2 liblzma libswscale gdk-x11-3.0 ogg libavutil libunwind-generic libwebp ncurses form fontconfig ompi cairo-xlib-xrender 'gtk+-3.0' QtUiTools ruby-2.3 harfbuzz-gobject libart-2.0 mpi-fort lxappearance Qt5OpenGLExtensions zlib python-3.6 libprofiler Qt5Widgets 'ncurses++' gobject-2.0 gail Qt5Concurrent libdapserver gio-2.0 QtSvg libkml lapacke xdmcp QtNetwork theoradec 'gtk+-x11-2.0' blas m17n-db renderproto
Choosing modular solver.
Resolving dependencies...
Ready to install xmonad-0.12
Configuring xmonad-0.12...
Waiting for install task to finish...
/usr/bin/cabal act-as-setup --build-type=Simple -- configure --verbose=2
--builddir=dist --ghc --prefix=/home/myuser/.cabal --bindir=/home/myuser/.cabal/bin
--libdir=/home/myuser/.cabal/lib
--libsubdir=x86_64-linux-ghc-8.0.2/xmonad-0.12-FUpDXVryp86B9yS3zn4k4c
--dynlibdir=/home/myuser/.cabal/lib/x86_64-linux-ghc-8.0.2
--libexecdir=/home/myuser/.cabal/libexec --datadir=/home/myuser/.cabal/share
--datasubdir=x86_64-linux-ghc-8.0.2/xmonad-0.12
--docdir=/home/myuser/.cabal/share/doc/x86_64-linux-ghc-8.0.2/xmonad-0.12
--htmldir=/home/myuser/.cabal/share/doc/x86_64-linux-ghc-8.0.2/xmonad-0.12/html
--haddockdir=/home/myuser/.cabal/share/doc/x86_64-linux-ghc-8.0.2/xmonad-0.12/html
--sysconfdir=/home/myuser/.cabal/etc --user --flags=testing
--extra-prog-path=/home/myuser/.cabal/bin
--dependency=X11=X11-1.8-KCXuJxzYJCz57Ju2Daz1Tk --dependency=base=base-4.9.1.0
--dependency=mtl=mtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6
--dependency=unix=unix-2.7.2.1 --disable-tests --exact-configuration
--disable-benchmarks
Redirecting build log to {handle: /home/myuser/.cabal/logs/xmonad-0.12.log}
Building xmonad-0.12...
/usr/bin/cabal act-as-setup --build-type=Simple -- build --verbose=2
--builddir=dist
Redirecting build log to {handle: /home/myuser/.cabal/logs/xmonad-0.12.log}
Failed to install xmonad-0.12
Build log ( /home/myuser/.cabal/logs/xmonad-0.12.log ):
cabal: Entering directory '.'
Configuring xmonad-0.12...
Flags chosen: testing=True
Dependency X11 ==1.8: using X11-1.8
Dependency base ==4.9.1.0: using base-4.9.1.0
Dependency mtl ==2.2.1: using mtl-2.2.1
Dependency unix ==2.7.2.1: using unix-2.7.2.1
Dependency xmonad -any: using xmonad-0.12
Using Cabal-1.24.2.0 compiled by ghc-8.0
Using compiler: ghc-8.0.2
Using install prefix: /home/myuser/.cabal
Binaries installed in: /home/myuser/.cabal/bin
Libraries installed in:
/home/myuser/.cabal/lib/x86_64-linux-ghc-8.0.2/xmonad-0.12-FUpDXVryp86B9yS3zn4k4c
Dynamic libraries installed in: /home/myuser/.cabal/lib/x86_64-linux-ghc-8.0.2
Private binaries installed in: /home/myuser/.cabal/libexec
Data files installed in:
/home/myuser/.cabal/share/x86_64-linux-ghc-8.0.2/xmonad-0.12
Documentation installed in:
/home/myuser/.cabal/share/doc/x86_64-linux-ghc-8.0.2/xmonad-0.12
Configuration files installed in: /home/myuser/.cabal/etc
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 7 found on system at: /usr/bin/gcc
Using ghc version 8.0.2 found on system at: /usr/bin/ghc
Using ghc-pkg version 8.0.2 found on system at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.3 found on system at: /usr/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.68.1 found on system at: /usr/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using strip version 2.29 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: executable 'xmonad'
creating dist/build
creating dist/build/autogen
Building xmonad-0.12...
/usr/bin/ghc-pkg init dist/package.conf.inplace
Preprocessing executable 'xmonad' for xmonad-0.12...
Building executable xmonad...
creating dist/build/xmonad
creating dist/build/xmonad/xmonad-tmp
/usr/bin/ghc --make -no-link -fbuilding-cabal-package -O -static -outputdir dist/build/xmonad/xmonad-tmp -odir dist/build/xmonad/xmonad-tmp -hidir dist/build/xmonad/xmonad-tmp -stubdir dist/build/xmonad/xmonad-tmp -i -idist/build/xmonad/xmonad-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/xmonad/xmonad-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -hide-all-packages -package-db dist/package.conf.inplace -package-id X11-1.8-KCXuJxzYJCz57Ju2Daz1Tk -package-id base-4.9.1.0 -package-id mtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6 -package-id unix-2.7.2.1 -package-id xmonad-0.12-FUpDXVryp86B9yS3zn4k4c -XHaskell98 ./Main.hs -Wall -fno-warn-unused-do-bind
<command line>: cannot satisfy -package-id xmonad-0.12-FUpDXVryp86B9yS3zn4k4c
    (use -v for more information)
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
xmonad-0.12 failed during the building phase. The exception was:
ExitFailure 1
lingnand commented 6 years ago
Failed to install xmonad-0.12
Build log ( /home/myuser/.cabal/logs/xmonad-0.12.log ):

Check that file?