[Xmonad] freebsd build issues

brad clawsie clawsie at fastmail.fm
Tue Apr 24 00:42:45 EDT 2007


hi, this is in regards to a build problem in X11-1.2, required to
build xmonad

after running 

runhaskell Setup.hs configure --user --prefix=$HOME/local

i see in the output,

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include

and furthermore, in X11.buildinfo, i see

ld-options:  -L/usr/X11R6/lib

but upon running 

runhaskell Setup.hs build

i see

Preprocessing library X11-1.2...
/usr/bin/ld: cannot find -lX11
linking Graphics/X11/Types_hsc_make.o failed
command was: /usr/local/bin/ghc-6.6 -lX11Graphics/X11/Types_hsc_make.o -o Graphics/X11/Types_hsc_make
Setup.hs: got error code while preprocessing: Graphics.X11.Types

i don't know why the -L is not being passed to ghc, i am not sure how
to force this, or even if i should have to considering that it is
being populated in X11.buildinfo. i also have /usr/X11R6/lib in my LD_LIBRARY_PATH

this is on freebsd6.2, probably similar to other bsds that still might
be using /usr/X11R6

thanks for any help you can provide
brad


More information about the Xmonad mailing list