#Trouble installing XMonad

1 messages · Page 1 of 1 (latest)

hazy bolt
#

Trying to install XMonad via Stack because it wouldn't start up using Portage. Ive had more success using Stack in the past, but now I've run into this error upon running stack install from this guide: https://xmonad.org/INSTALL.html


<no location info>: error:
    Warning: Couldn't figure out linker information!
             Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc.
collect2: fatal error: cannot find ‘ld’
compilation terminated.
`gcc' failed in phase `Linker'. (Exit code: 1)

Error: [S-6374]
       While building simple Setup.hs (scroll up to its section to see the error) using:
       /home/vox/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.7/bin/ghc-9.2.7 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-3.6.3.0 /home/vox/.stack/setup-exe-src/setup-6HauvNHV.hs /home/vox/.stack/setup-exe-src/setup-shim-6HauvNHV.hs -o /home/vox/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_6HauvNHV_3.6.3.0_ghc-9.2.7
       Process exited with code: ExitFailure 1```

I've tried searching what S-6374 could mean, and I do not know why it would not be able to find ``ld``, as ``which ld`` outputs ``/usr/bin/ld``. Any help would be appreciated, I miss using XMonad ![SCmicAAA](https://cdn.discordapp.com/emojis/771793738477207572.webp?size=128 "SCmicAAA")
hazy bolt
# snow hill `which ld`

Yeah since it says that it couldnt find ld, I decided to check and see if ld was installed (which it should be) by running that

#

Its located at /usr/bin/ld

lilac ocean
#

maybe try again with portage, nobody had problems with it

snow hill
#

^

fluid beacon
#

uh

#

i did something with linking lld gold to ld

#

i forgot cause i totally cleared my bash history

hazy bolt
hazy bolt
#

... Ok nvm I guess it decided to compile without error keka

#

I really wish I knew whats different now compared to the last like 5 times it gave me an error

lilac ocean
summer field
hazy bolt
hazy bolt
#

All I did between me first trying to install Xmonad through Portage and getting an error and it working was installing KDE so that I had something as a desktop.

summer field
#

Pretty much the same thing

summer field
#

If yes, xMonad doesn't support it

hazy bolt
#

I have Xmonad working now

hazy bolt
#

If I was still getting the error I would be able to tell you more exactly

summer field
#

Oh lol