1 Jul 17:36
X11-1.4.2 on 64bit Fedora 8 fails to build
From: Christian Höner zu Siederdissen <christian.hoener <at> uni-bielefeld.de>
Subject: X11-1.4.2 on 64bit Fedora 8 fails to build
Newsgroups: gmane.comp.lang.haskell.glasgow.user
Date: 2008-07-01 15:37:35 GMT
Subject: X11-1.4.2 on 64bit Fedora 8 fails to build
Newsgroups: gmane.comp.lang.haskell.glasgow.user
Date: 2008-07-01 15:37:35 GMT
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.(Continue reading)
RSS Feed