X11-1.4.2 on 64bit Fedora 8 fails to build

Hi, I'm trying to get X11-1.4.1 compiled on a 64 bit x86 Fedora 8 system. runhaskell Setup.hs configure --prefix $HOME/ghc has no problems but runhaskell Setup.hs build produces: Preprocessing library X11-1.4.2... /usr/bin/ld: skipping incompatible /usr/lib/libXinerama.so when searching for -lXinerama /usr/bin/ld: cannot find -lXinerama collect2: ld returned 1 exit status linking dist/build/Graphics/X11/Types_hsc_make.o failed command was: /scr/airline/choener/ghc-6.8.3/bin/ghc -optl-lXinerama \ -optl-lXext -optl-lX11 -optl-L/usr/lib64 \ dist/build/Graphics/X11/Types_hsc_make.o -o \ dist/build/Graphics/X11/Types_hsc_make Trying something like runhaskell Setup.hs configure --ld-options="-nostdlib -L/usr/lib64" runhaskell Setup.hs build --ld-options="-nostdlib -L/usr/lib64" does not change the fact that ld looks in the wrong place for libXinerama. It looks in /usr/lib, but should look in /usr/lib64. Btw. I don't have root on the machine. Thanks, Christian Höner zu Siederdissen
participants (1)
-
Christian Höner zu Siederdissen