I have problems building X11. I just installed ghc 6.8 but I got the same behaviour when asking it to use the old compiler.<br><br>Jens<br><br>&gt; runghc Setup.hs configure<br>Configuring X11-1.3.0.20071111...<br>checking for gcc... gcc
<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<br>checking for suffix of object files... o
<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking how to run the C preprocessor... gcc -E<br>checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
<br>checking for gethostbyname... yes<br>checking for connect... yes<br>checking for remove... yes<br>checking for shmat... yes<br>checking for IceConnectionNumber in -lICE... yes<br>checking whether to build Xinerama... yes
<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for 
memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking X11/extensions/Xinerama.h usability... yes<br>checking X11/extensions/Xinerama.h presence... yes
<br>checking for X11/extensions/Xinerama.h... yes<br>configure: creating ./config.status<br>config.status: creating <a href="http://config.mk">config.mk</a><br>config.status: creating X11.buildinfo<br>config.status: creating include/HsX11Config.h
<br>config.status: include/HsX11Config.h is unchanged<br>config.status: creating include/X11_extras_config.h<br>config.status: include/X11_extras_config.h is unchanged<br>&gt; runghc Setup.hs build<br>Preprocessing library 
X11-1.3.0.20071111...<br>Building X11-1.3.0.20071111...<br>[ 1 of 17] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )<br>[ 2 of 17] Compiling Graphics.X11.Types
 ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o )<br>[ 3 of 17] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.o )<br>[ 4 of 17] Compiling Graphics.X11.Xlib.Color
 ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.o )<br>[ 5 of 17] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.o )<br>[ 6 of 17] Compiling Graphics.X11.Xlib.Display
 ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.o )<br>[ 7 of 17] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.o )<br>[ 8 of 17] Compiling 
Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.o )<br>[ 9 of 17] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.o )
<br>[10 of 17] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.o )<br>[11 of 17] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.o )
<br>[12 of 17] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.o )<br>[13 of 17] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.o )
<br>[14 of 17] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.o )<br>[15 of 17] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.o )
<br>Warning: orphan instances:<br>&nbsp; instance base:GHC.Read.Read [X11-1.3.0.20071111:Graphics.X11.Xlib.Types.Rectangle]<br>&nbsp;&nbsp;&nbsp; = $f1<br><br>[16 of 17] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.o )
<br>[17 of 17] Compiling Graphics.X11&nbsp;&nbsp;&nbsp;&nbsp; ( Graphics/X11.hs, dist/build/Graphics/X11.o )<br>/usr/bin/ar: creating dist/build/libHSX11-1.3.0.20071111.a<br>&gt; sudo runghc Setup.hs install<br>root&#39;s password:<br>Setup.hs
: Warning: Unknown field &#39;build-type&#39;<br>Setup.hs: error reading ./.setup-config; run &quot;setup configure&quot; command?<br><br><br>